/* ===== VARIABLES DE TEMA ===== */
:root {
    /* Tema oscuro (por defecto) */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: #1e293b;
    --bg-card-hover: #2d3a4e;
    --border: #334155;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --accent: #6366f1;
    --accent-dark: #4f46e5;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.2);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec489a 0%, #f97316 100%);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent: #6366f1;
    --accent-dark: #4f46e5;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1001;
}

.logo__icon {
    font-size: 1.8rem;
}

.logo__text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menú de navegación */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

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

.nav-link:hover {
    color: var(--accent);
}

/* ===== MENÚ DESPLEGABLE ===== */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--accent);
}

.dropdown-item.active {
    background: var(--bg-secondary);
    color: var(--accent);
    border-left: 3px solid var(--accent);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

/* Tema toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: var(--bg-primary);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, var(--accent-glow) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__badge {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Badges técnicos */
.hero__badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== SECCIÓN DE CARACTERÍSTICAS ===== */
.features-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== SECCIÓN DE PRECIOS ===== */
.pricing-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--text-muted);
}

.save {
    font-size: 0.75rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.pricing-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta__text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== UTILITY PAGE ===== */
.hero-utility {
    padding: 6rem 0 4rem;
}

.utility-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.utility-section {
    margin-bottom: 3rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-card-en {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
    font-style: italic;
}

.features-grid-2cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: background 0.2s;
}

.feature-item:hover {
    background: var(--bg-secondary);
}

.feature-emoji {
    font-size: 1.1rem;
    min-width: 32px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.screenshots-grid img:hover {
    transform: scale(1.02);
}

.code-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 1rem 0;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.code-block pre {
    padding: 1rem;
    margin: 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--success);
    background: var(--bg-card);
}

.step-card {
    display: flex;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.step-modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.mode-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.mode-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.mode-card strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.mode-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.step-note {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.export-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.format-badge {
    background: var(--bg-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.deps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.dep-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.dep-card strong {
    display: block;
    font-family: monospace;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.dep-card span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.troubleshoot-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.troubleshoot-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.troubleshoot-card pre {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--success);
}

.security-highlight {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.security-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
}

.text-center {
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-primary);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__info {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer__copyright {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.footer__links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Estilo de cada enlace en móvil */
    .nav-link {
        width: 100%;
        padding: 0.875rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .nav-link:last-of-type {
        border-bottom: none;
    }
    
    /* Dropdown en móvil - versión mejorada */
    .dropdown {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 0.875rem 0;
        font-size: 1rem;
        display: flex;
        align-items: center;
    }
    
    .dropdown-btn i:first-child {
        width: 24px;
        margin-right: 0.25rem;
    }
    
    .dropdown-icon {
        font-size: 0.75rem;
        transition: transform 0.2s ease;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin: 0;
        margin-left: 1.75rem;
        padding: 0.5rem 0;
        box-shadow: none;
        background: transparent;
        border: none;
        border-left: 2px solid var(--accent);
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown.open .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 0.75rem 0;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .dropdown-item i {
        width: 24px;
        font-size: 0.9rem;
    }
    
    .dropdown-divider {
        margin: 0.5rem 0;
    }
    
    /* Tema toggle en móvil */
    .theme-toggle {
        margin-top: 1rem;
        align-self: flex-start;
        width: 40px;
        height: 40px;
    }
    
    /* Ajustes de contenido */
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__subtitle {
        font-size: 0.9375rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .features-grid-2cols {
        grid-template-columns: 1fr;
    }
    
    .step-modes {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        flex-direction: column;
    }
    
    .step-number {
        align-self: center;
    }
    
    .hero__badges {
        gap: 0.5rem;
    }
    
    .badge-tech {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
    
    .footer__container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4.5rem 0 2.5rem;
    }
    
    .hero__title {
        font-size: 1.5rem;
    }
    
    .hero__subtitle {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .project-card__image-container {
        height: 180px;
    }
    
    .project-card__title {
        font-size: 1.125rem;
    }
    
    .project-card__content {
        padding: 1rem;
    }
    
    .feature-badge {
        font-size: 0.625rem;
    }
    
    .btn-sm {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
    }
    
    .image-viewer-btn {
        bottom: 8px;
        right: 8px;
        padding: 5px 10px;
        font-size: 0.625rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* Prevenir scroll cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
}

/* ===== VIDEO DEMOSTRATIVO ===== */
.hero__video {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.demo-video:hover {
    transform: scale(1.01);
}

/* Responsive para video */
@media (max-width: 768px) {
    .hero__video {
        margin: 1.5rem auto;
        border-radius: 16px;
    }
    
    .demo-video {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hero__video {
        margin: 1rem auto;
        border-radius: 12px;
    }
    
    .demo-video {
        border-radius: 12px;
    }
}

/* ── Language Switcher ───────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.3rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s, transform 0.15s;
  opacity: 0.45;
  line-height: 1;
}
.lang-btn:hover {
  opacity: 0.85;
  background: var(--bg-secondary);
  transform: scale(1.12);
}
.lang-btn--active {
  opacity: 1;
  cursor: default;
  background: var(--bg-secondary);
  box-shadow: 0 0 0 1px var(--accent);
}
.lang-btn--active:hover {
  transform: none;
}
.flag-icon {
  display: block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  background: var(--bg-secondary);
}
@media (max-width: 768px) {
  .lang-switcher {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 0.75rem;
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
    gap: 0.4rem;
  }
  .flag-icon {
    width: 26px;
    height: 18px;
  }
}
