/* Custom Styles with Bootstrap */

/* Dark Theme (Default) */
:root {
    --primary-blue: #0066ff;
    --cyan-neon: #00e5ff;
    --midnight: #0a0e1a;
    --dark-bg: #0f1420;
    
    /* Theme Variables */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1420;
    --bg-tertiary: rgba(15, 20, 32, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 229, 255, 0.2);
    --card-bg: rgba(0, 102, 255, 0.05);
    --card-border: rgba(0, 229, 255, 0.2);
    --card-hover-bg: rgba(0, 102, 255, 0.1);
    --hero-gradient-1: #0a0e1a;
    --hero-gradient-2: #1a1f3a;
    --hero-gradient-3: #0a0e1a;
}

/* Light Theme */
[data-theme="light"] {
    --primary-blue: #0052cc;
    --cyan-neon: #0066cc;
    --midnight: #ffffff;
    --dark-bg: #f5f7fa;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-tertiary: #e8ecf1;
    --text-primary: #1a1f36;
    --text-secondary: rgba(26, 31, 54, 0.8);
    --text-tertiary: rgba(26, 31, 54, 0.6);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-accent: rgba(0, 82, 204, 0.3);
    --card-bg: rgba(0, 82, 204, 0.05);
    --card-border: rgba(0, 82, 204, 0.2);
    --card-hover-bg: rgba(0, 82, 204, 0.1);
    --hero-gradient-1: #f5f7fa;
    --hero-gradient-2: #e0e7f0;
    --hero-gradient-3: #f5f7fa;
}

/* Global */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navbar */
.custom-navbar {
    background: var(--bg-secondary) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

[data-theme="light"] .custom-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--cyan-neon) !important;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

[data-theme="light"] .navbar-brand {
    color: var(--primary-blue) !important;
}

[data-theme="light"] .navbar-brand img {
    filter: brightness(1.1);
}

/* Responsivo para logo */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px;
    }
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s;
}

[data-theme="light"] .nav-link {
    color: rgba(26, 31, 54, 0.8) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan-neon) !important;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--primary-blue) !important;
}

.dropdown-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
}

[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--text-secondary);
    transition: background-color 0.3s, color 0.3s;
}

[data-theme="light"] .dropdown-item {
    color: rgba(26, 31, 54, 0.8);
}

.dropdown-item:hover {
    background: var(--card-bg);
    color: var(--cyan-neon);
}

[data-theme="light"] .dropdown-item:hover {
    background: rgba(0, 82, 204, 0.1);
    color: var(--primary-blue);
}

[data-theme="light"] .dropdown-item.active {
    background: rgba(0, 82, 204, 0.15);
    color: var(--primary-blue);
}

.navbar-toggler {
    border-color: var(--border-color);
}

[data-theme="light"] .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar-toggler-icon {
    filter: invert(1);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.6);
}

[data-theme="light"] .theme-toggle {
    background: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.4);
}

[data-theme="light"] .theme-toggle:hover {
    box-shadow: 0 6px 30px rgba(0, 82, 204, 0.6);
}

/* Product Pages */
.hero-product {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 50%, var(--hero-gradient-3) 100%);
    position: relative;
    transition: background 0.3s ease;
}

.hero-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .hero-product::before {
    background: radial-gradient(circle at 50% 50%, rgba(0, 82, 204, 0.08) 0%, transparent 70%);
}

.hero-product .container {
    position: relative;
    z-index: 1;
}

.hero-featured {
    background: linear-gradient(135deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 50%, var(--hero-gradient-3) 100%);
}

.hero-featured::before {
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 102, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .hero-featured::before {
    background: radial-gradient(circle at 50% 50%, rgba(40, 167, 69, 0.1) 0%, transparent 70%);
}

.hero-preorder {
    background: linear-gradient(135deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 50%, var(--hero-gradient-3) 100%);
}

.hero-preorder::before {
    background: radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .hero-preorder::before {
    background: radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
}

.product-image-placeholder {
    width: 100%;
    height: 400px;
    border: 2px dashed var(--border-accent);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.product-image-placeholder.border-warning {
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.05);
}

.product-image-placeholder p {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-image-placeholder small {
    color: var(--text-tertiary);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--card-hover-bg);
    border-color: var(--cyan-neon);
    transform: translateY(-5px);
}

.feature-card.border-warning {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.feature-card.border-warning:hover {
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.1);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--cyan-neon);
    transition: color 0.3s ease;
}

[data-theme="light"] .feature-card h4 {
    color: var(--primary-blue);
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

[data-theme="light"] .feature-card p {
    color: rgba(26, 31, 54, 0.8);
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    border-left: 3px solid var(--cyan-neon);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.spec-label {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.spec-value {
    font-weight: 700;
    color: var(--cyan-neon);
    transition: color 0.3s ease;
}

.bg-dark-section {
    background-color: var(--bg-tertiary);
    transition: background-color 0.3s ease;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 50%, var(--hero-gradient-3) 100%);
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.65);
    z-index: 1;
}

[data-theme="light"] .hero-video-overlay {
    background: rgba(255, 255, 255, 0.35);
}

/* Garantir que o conteúdo fique acima do vídeo */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Fallback - Manter background original caso vídeo não carregue */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--hero-gradient-1) 0%, var(--hero-gradient-2) 50%, var(--hero-gradient-3) 100%);
    z-index: -1;
    transition: background 0.3s ease;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    transition: opacity 0.3s ease;
}

[data-theme="light"] .hero-background::before {
    background: radial-gradient(circle at 50% 50%, rgba(0, 82, 204, 0.08) 0%, transparent 70%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    transition: color 0.3s ease;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-title {
    text-shadow: 0 3px 20px rgba(255, 255, 255, 1), 
                 0 0 40px rgba(255, 255, 255, 0.8),
                 0 0 10px rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

[data-theme="light"] .hero-subtitle {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 1), 
                 0 0 30px rgba(255, 255, 255, 0.8),
                 0 0 8px rgba(255, 255, 255, 0.6);
}

.stat-box {
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

[data-theme="light"] .stat-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--cyan-neon);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .stat-number {
    color: var(--primary-blue);
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

[data-theme="light"] .stat-label {
    color: rgba(26, 31, 54, 0.8);
}

/* Intro Section */
.intro-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: background 0.3s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-highlight {
    font-size: 1.3rem;
    color: var(--cyan-neon);
    font-weight: 600;
    font-style: italic;
    margin-top: 2rem;
    transition: color 0.3s ease;
}

/* Product Sections */
.product-section {
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.product-section-alt {
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.product-section-featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
    transition: all 0.3s ease;
}

[data-theme="light"] .product-section-featured {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.03) 0%, rgba(0, 153, 204, 0.03) 100%);
}

.product-section-preorder {
    background: linear-gradient(135deg, rgba(255, 69, 58, 0.03) 0%, rgba(255, 149, 0, 0.03) 100%);
    border-top: 1px solid rgba(255, 149, 0, 0.2);
    border-bottom: 1px solid rgba(255, 149, 0, 0.2);
    transition: all 0.3s ease;
}

.badge-featured,
.badge-preorder {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--primary-blue) 100%);
    color: var(--midnight);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    z-index: 10;
}

.badge-preorder {
    background: linear-gradient(135deg, #ff453a 0%, #ff9500 100%);
    color: #fff;
}

.product-placeholder {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.3s;
}

.product-placeholder:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--cyan-neon);
    transform: scale(1.02);
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.3;
}

.product-placeholder-neural .placeholder-icon-neural {
    font-size: 6rem;
    font-weight: 900;
    color: var(--cyan-neon);
    opacity: 0.5;
}

.placeholder-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan-neon);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.product-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-features li::before {
    content: '✓';
    color: var(--cyan-neon);
    margin-right: 1rem;
    font-weight: 700;
}

/* Divider Section */
.divider-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
    border-top: 2px solid rgba(0, 229, 255, 0.3);
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
}

.divider-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--midnight) 100%);
}

.final-cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--primary-blue) 100%);
    color: var(--midnight);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.5);
    color: var(--midnight);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--cyan-neon);
    border: 2px solid var(--cyan-neon);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
    color: var(--cyan-neon);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan-neon);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--cyan-neon);
}

.footer-stats {
    font-size: 0.85rem;
    color: var(--cyan-neon);
    opacity: 0.5;
    transition: color 0.3s ease;
}

/* Link Compliance (Glitch) */
.glitch-link {
    position: relative;
    color: #ff0066 !important;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 0, 102, 0.5);
    animation: glitch-pulse 3s ease-in-out infinite;
}

[data-theme="light"] .glitch-link {
    color: #ff0066 !important;
    text-shadow: 0 0 5px rgba(255, 0, 102, 0.3);
}

.glitch-link:hover {
    color: #ff3385 !important;
    text-shadow: 0 0 10px rgba(255, 0, 102, 0.8);
    animation: glitch-shake 0.3s ease-in-out infinite;
}

@keyframes glitch-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes glitch-shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

/* Bootstrap Overrides for Theme */
[data-theme="light"] .card {
    background-color: var(--bg-primary);
    border-color: var(--border-accent);
    color: var(--text-primary);
}

[data-theme="light"] .card-body,
[data-theme="light"] .card-title,
[data-theme="light"] .card-text,
[data-theme="light"] .card .card-title,
[data-theme="light"] .card h3.card-title {
    color: #1a1f36 !important;
}

[data-theme="light"] .card-body h3,
[data-theme="light"] .card h3 {
    color: #1a1f36 !important;
}

[data-theme="light"] .card p.card-text,
[data-theme="light"] .card p.text-secondary {
    color: #1a1f36 !important;
}

[data-theme="light"] .card .list-unstyled li {
    color: #1a1f36 !important;
}

[data-theme="light"] .card .list-unstyled li strong {
    color: #0052cc !important;
}

[data-theme="light"] .card small {
    color: rgba(26, 31, 54, 0.8) !important;
}

[data-theme="light"] .card small strong {
    color: #1a1f36 !important;
}

/* Badges no tema claro */
[data-theme="light"] .badge {
    color: #ffffff !important;
}

[data-theme="light"] .badge-featured {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}

[data-theme="light"] .badge-preorder {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}

/* Hero Product - Tema Claro */
[data-theme="light"] .hero-product h1 {
    color: #1a1f36 !important;
}

[data-theme="light"] .hero-product p.lead {
    color: #1a1f36 !important;
}

[data-theme="light"] .hero-product p.text-secondary {
    color: rgba(26, 31, 54, 0.8) !important;
}

/* Seção de Introdução - Tema Claro */
[data-theme="light"] h2 {
    color: #1a1f36 !important;
}

[data-theme="light"] p.lead {
    color: rgba(26, 31, 54, 0.9) !important;
}

/* Fix para cards no tema ESCURO (padrão) */
.card {
    background-color: transparent;
    color: var(--text-primary);
}

.card-body,
.card-title {
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
}

.card .list-unstyled li {
    color: var(--text-primary);
}

[data-theme="light"] .table-dark {
    --bs-table-bg: var(--bg-secondary);
    --bs-table-color: var(--text-primary);
    --bs-table-border-color: var(--border-color);
}

[data-theme="light"] .table-dark tbody,
[data-theme="light"] .table-dark th,
[data-theme="light"] .table-dark td {
    color: var(--text-primary) !important;
    border-color: var(--border-color);
}

[data-theme="light"] .table-hover tbody tr:hover {
    background-color: var(--card-hover-bg);
}

[data-theme="light"] .btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

[data-theme="light"] .btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: white;
}

[data-theme="light"] .btn-outline-light {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

[data-theme="light"] .btn-outline-light:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

[data-theme="light"] .text-secondary {
    color: rgba(26, 31, 54, 0.8) !important;
}

[data-theme="light"] .card .text-secondary,
[data-theme="light"] .card-text.text-secondary,
[data-theme="light"] p.text-secondary {
    color: #1a1f36 !important;
}

[data-theme="light"] .text-light {
    color: #1a1f36 !important;
}

[data-theme="light"] .card .text-light,
[data-theme="light"] strong.text-light {
    color: #1a1f36 !important;
}

[data-theme="light"] .text-primary {
    color: var(--primary-blue) !important;
}

/* Garantir texto branco no tema escuro */
body:not([data-theme="light"]) .card-title,
body:not([data-theme="light"]) .card-body h3 {
    color: #ffffff !important;
}

body:not([data-theme="light"]) .card-text,
body:not([data-theme="light"]) .text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

body:not([data-theme="light"]) .list-unstyled li {
    color: rgba(255, 255, 255, 0.9) !important;
}

body:not([data-theme="light"]) .text-light {
    color: #ffffff !important;
}

body:not([data-theme="light"]) small.text-secondary {
    color: rgba(255, 255, 255, 0.7) !important;
}

body:not([data-theme="light"]) strong.text-light {
    color: #ffffff !important;
}

body:not([data-theme="light"]) strong.text-primary {
    color: var(--cyan-neon) !important;
}

/* Tema claro - forçar textos escuros */
[data-theme="light"] .card small.text-secondary {
    color: rgba(26, 31, 54, 0.7) !important;
}

[data-theme="light"] .card strong.text-light {
    color: var(--text-primary) !important;
}

[data-theme="light"] .card strong.text-primary {
    color: var(--primary-blue) !important;
}

[data-theme="light"] .border-secondary {
    border-color: var(--border-color) !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: var(--text-primary) !important;
}

[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] span,
[data-theme="light"] div {
    color: inherit;
}

[data-theme="light"] .lead {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .display-1,
[data-theme="light"] .display-2,
[data-theme="light"] .display-3,
[data-theme="light"] .display-4,
[data-theme="light"] .display-5,
[data-theme="light"] .display-6 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .badge {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

[data-theme="light"] .badge.bg-success {
    background-color: #28a745 !important;
}

[data-theme="light"] .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

[data-theme="light"] .list-unstyled li a {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .list-unstyled li a:hover {
    color: var(--cyan-neon) !important;
}

/* Additional Light Theme Text Fixes */
[data-theme="light"] small {
    color: var(--text-tertiary) !important;
}

[data-theme="light"] .fw-bold,
[data-theme="light"] strong {
    color: var(--text-primary) !important;
}

[data-theme="light"] .blockquote {
    color: var(--text-primary) !important;
}

[data-theme="light"] .blockquote-footer {
    color: var(--text-secondary) !important;
}

[data-theme="light"] cite {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .alert {
    color: var(--text-primary) !important;
}

[data-theme="light"] .alert-heading {
    color: var(--text-primary) !important;
}

[data-theme="light"] ul li,
[data-theme="light"] ol li {
    color: var(--text-primary);
}

[data-theme="light"] .mb-0,
[data-theme="light"] .mb-2,
[data-theme="light"] .mb-3,
[data-theme="light"] .mb-4 {
    color: inherit;
}

/* Fix for specific text colors */
[data-theme="light"] .text-warning {
    color: #ff8800 !important;
}

[data-theme="light"] .text-success {
    color: #28a745 !important;
}

[data-theme="light"] .text-danger {
    color: #dc3545 !important;
}

[data-theme="light"] .text-info {
    color: #17a2b8 !important;
}

[data-theme="light"] hr {
    border-color: var(--border-color) !important;
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .divider-title {
        font-size: 2rem;
    }
    
    .final-cta-section h2 {
        font-size: 2rem;
    }
    
    .badge-featured,
    .badge-preorder {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Product Pages Styles */
.product-hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 100%);
    padding-top: 120px;
    padding-bottom: 60px;
}

[data-theme="light"] .product-hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7f0 100%);
}

.product-category {
    color: var(--cyan-neon);
    transition: color 0.3s ease;
}

[data-theme="light"] .product-category {
    color: #0052cc;
}

.product-tagline {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

[data-theme="light"] .product-tagline {
    color: rgba(26, 31, 54, 0.8);
}

.product-image-main {
    width: 100%;
}

/* Imagens dos implantes neurais - altura reduzida em 25% */
.implant-image {
    max-height: 650px;
    width: auto;
    object-fit: contain;
}

.image-placeholder {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-placeholder .placeholder-icon {
    font-size: 5rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.placeholder-caption {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-style: italic;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--cyan-neon);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.specs-table {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

[data-theme="light"] .specs-table {
    background: rgba(0, 82, 204, 0.03);
    border: 1px solid rgba(0, 82, 204, 0.1);
}

.spec-row {
    display: flex;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .spec-row {
    border-bottom: 1px solid rgba(0, 82, 204, 0.08);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--cyan-neon);
    min-width: 150px;
}

[data-theme="light"] .spec-label {
    color: #0052cc;
}

.spec-value {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .spec-value {
    color: rgba(26, 31, 54, 0.9);
}

.use-case-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--cyan-neon);
    padding: 1.5rem;
    height: 100%;
}

[data-theme="light"] .use-case-card {
    background: rgba(0, 82, 204, 0.03);
    border-left: 3px solid #0052cc;
}

.use-case-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

[data-theme="light"] .use-case-card h4 {
    color: #1a1f36;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

[data-theme="light"] .use-case-card p {
    color: rgba(26, 31, 54, 0.8);
}
/* ======================================================
   Decision Cards – How LOG.OS Works
   ====================================================== */

.decision-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem 1.75rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Glow sutil no hover */
.decision-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top left,
        rgba(0, 229, 255, 0.12),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.decision-card:hover::before {
    opacity: 1;
}

.decision-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-6px);
    border-color: var(--cyan-neon);
}

/* Pergunta */
.decision-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Resposta */
.decision-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Tema claro – ajustes finos */
[data-theme="light"] .decision-card::before {
    background: radial-gradient(
        circle at top left,
        rgba(0, 82, 204, 0.12),
        transparent 60%
    );
}

[data-theme="light"] .decision-card:hover {
    border-color: var(--primary-blue);
}

/* Responsivo */
@media (max-width: 768px) {
    .decision-card {
        padding: 1.5rem;
    }

    .decision-question {
        font-size: 1rem;
    }

    .decision-answer {
        font-size: 0.9rem;
    }
}
/* ======================================================
   Feature Cards – LOG.OS Watch
   ====================================================== */

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Glow sutil */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top center,
        rgba(0, 229, 255, 0.15),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan-neon);
}

/* Ícone */
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Título */
.feature-card h3,
.feature-card h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Texto */
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Tema claro – ajuste fino */
[data-theme="light"] .feature-card::before {
    background: radial-gradient(
        circle at top center,
        rgba(0, 82, 204, 0.15),
        transparent 60%
    );
}

[data-theme="light"] .feature-card:hover {
    border-color: var(--primary-blue);
}
/* ======================================================
   Use Case Cards – LOG.OS Watch
   ====================================================== */

.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

/* Linha lateral de destaque */
.use-case-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 3px;
    background: var(--cyan-neon);
    opacity: 0.6;
    border-radius: 3px;
}

/* Hover */
.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan-neon);
}

/* Título */
.use-case-card h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Texto */
.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Tema claro */
[data-theme="light"] .use-case-card::before {
    background: var(--primary-blue);
}

[data-theme="light"] .use-case-card:hover {
    border-color: var(--primary-blue);
}
