/* SightCensor Core Stylesheet */
/* Dark theme with cyan/amber accents */

:root {
    --bg-primary: #0f1219;
    --bg-secondary: #161b26;
    --bg-tertiary: #1e2433;
    --bg-card: #1a1f2e;
    --bg-card-hover: #242b3d;

    --text-primary: #f1f3f7;
    --text-secondary: #a0a8b8;
    --text-muted: #6b7280;

    --accent-primary: #22d3ee;
    --accent-primary-dim: rgba(34, 211, 238, 0.15);
    --accent-secondary: #f59e0b;
    --accent-secondary-dim: rgba(245, 158, 11, 0.15);

    --success: #10b981;
    --success-dim: rgba(16, 185, 129, 0.15);
    --danger: #ef4444;
    --danger-dim: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --warning-dim: rgba(245, 158, 11, 0.15);
    --info: #3b82f6;
    --info-dim: rgba(59, 130, 246, 0.15);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(34, 211, 238, 0.3);

    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(34, 211, 238, 0.15);
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 0;
    background: rgba(15, 18, 25, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: var(--bg-primary);
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

/* Hide mobile auth links on desktop */
.nav-links .mobile-auth-links {
    display: none;
}

.nav-links > li > a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: block;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-dropdown-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.user-dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

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

.user-dropdown:hover .user-dropdown-toggle i {
    transform: rotate(180deg);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.user-dropdown-menu a:first-child {
    border-radius: 11px 11px 0 0;
}

.user-dropdown-menu a:last-child {
    border-radius: 0 0 11px 11px;
}

.user-dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.user-dropdown-menu a i {
    width: 16px;
    text-align: center;
    color: var(--accent-primary);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* Nav Dropdown (Free Tools) */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Bridge the gap between toggle and menu for smooth hover (desktop only) */
@media (min-width: 769px) {
    .nav-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 12px;
        display: none;
    }

    .nav-dropdown:hover::after {
        display: block;
    }
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

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

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    padding: 4px 0;
    overflow: hidden;
}

/* Desktop hover behavior */
@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown:hover .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:first-child {
    border-radius: 0;
}

.nav-dropdown-menu a:last-child {
    border-radius: 0;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--accent-primary);
}

.nav-dropdown-menu a i.fa-discord {
    color: #5865F2;
}

.nav-dropdown-menu a i.fa-telegram {
    color: #0088cc;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile account menu - hidden on desktop */
.mobile-account-menu {
    display: none;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #06b6d4);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(34, 211, 238, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

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

.btn-outline:hover {
    background: var(--accent-primary-dim);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Demo Cards (Hero)
   ======================================== */

.demo-cards {
    position: relative;
    height: 480px;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Hero-specific absolute positioning */
.demo-cards .demo-card {
    position: absolute;
}

.demo-card-1 {
    top: 0;
    left: 0;
    width: 400px;
    transform: rotate(-2deg) translateZ(0);
    z-index: 2;
}

.demo-card-2 {
    bottom: 0;
    right: 0;
    width: 380px;
    transform: rotate(1.5deg) translateZ(0);
    z-index: 1;
}

.demo-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-card h4 i {
    color: var(--accent-primary);
}

.demo-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.demo-card-header i {
    color: var(--accent-primary);
}

.demo-card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Results & Progress
   ======================================== */

.result-item {
    margin-bottom: 18px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.result-badge {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.result-badge.danger {
    background: var(--danger-dim);
    color: #f87171;
}

.result-badge.success {
    background: var(--success-dim);
    color: #34d399;
}

.result-badge.warning {
    background: var(--warning-dim);
    color: #fbbf24;
}

.result-badge.info {
    background: var(--info-dim);
    color: #60a5fa;
}

.result-badge.primary {
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
}

.progress-bar {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-fill.danger { background: linear-gradient(90deg, #ef4444, #f87171); }
.progress-fill.primary { background: linear-gradient(90deg, var(--accent-primary), #67e8f9); }
.progress-fill.success { background: linear-gradient(90deg, var(--success), #34d399); }
.progress-fill.warning { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.progress-fill.info { background: linear-gradient(90deg, var(--info), #60a5fa); }

/* ========================================
   Stat Rows (Demo Cards)
   ======================================== */

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.danger { color: #f87171; }
.stat-value.success { color: #34d399; }

/* ========================================
   Sections
   ======================================== */

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-primary-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ========================================
   Steps (How It Works)
   ======================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Stats Row
   ======================================== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon.primary { background: var(--accent-primary-dim); }
.stat-icon.primary i { color: var(--accent-primary); }
.stat-icon.success { background: var(--success-dim); }
.stat-icon.success i { color: var(--success); }
.stat-icon.info { background: var(--info-dim); }
.stat-icon.info i { color: var(--info); }
.stat-icon.warning { background: var(--warning-dim); }
.stat-icon.warning i { color: var(--warning); }

.stat-icon i {
    font-size: 1.4rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* ========================================
   Pricing Section
   ======================================== */

.pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.pricing-header {
    padding: 28px 28px 24px;
    background: var(--bg-tertiary);
    text-align: center;
    position: relative;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(245, 158, 11, 0.1));
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-secondary), #fbbf24);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-body {
    padding: 28px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--accent-primary);
    margin-top: 3px;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

/* ========================================
   Model Sections (Products Page)
   ======================================== */

.model-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.model-section:last-of-type {
    border-bottom: none;
}

.model-section.reverse .model-content {
    order: 2;
}

.model-section.reverse .demo-card {
    order: 1;
}

.model-section .demo-card {
    border-radius: 20px;
    padding: 28px;
}

.model-content {
    padding: 20px 0;
}

.model-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.model-badge.beta {
    background: var(--warning-dim);
    color: var(--warning);
}

.model-badge.video {
    background: var(--info-dim);
    color: var(--info);
}

.model-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.model-content .lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.capabilities-list {
    list-style: none;
    margin-bottom: 28px;
}

.capabilities-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.capabilities-list li i {
    color: var(--success);
    margin-top: 4px;
}

.capabilities-list li i.warning {
    color: var(--warning);
}

.model-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

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

.model-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 2px;
}

.model-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.model-best-for {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.model-best-for strong {
    color: var(--text-primary);
}

/* ========================================
   Alert Boxes
   ======================================== */

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.alert.danger {
    background: var(--danger-dim);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert.warning {
    background: var(--warning-dim);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.alert.success {
    background: var(--success-dim);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert.info {
    background: var(--info-dim);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.alert i {
    margin-right: 10px;
}

/* ========================================
   Detection Items
   ======================================== */

.detection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    margin-bottom: 10px;
}

.detection-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detection-label i {
    color: var(--accent-primary);
}

.detection-badges {
    display: flex;
    gap: 8px;
}

/* ========================================
   Video Stats
   ======================================== */

.video-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    margin-bottom: 10px;
}

.video-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.video-stat-value {
    font-weight: 600;
    color: var(--text-primary);
}

.video-stat-value.danger {
    color: #f87171;
}

/* ========================================
   Category Grid
   ======================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.category-item i {
    color: var(--success);
}

/* ========================================
   Model Benefits
   ======================================== */

.model-benefits {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.model-benefits-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.model-benefits ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.model-benefits li {
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.model-benefits li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ========================================
   API Section
   ======================================== */

.api-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    margin-top: 40px;
}

.api-section .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.api-section .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.api-section .section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.code-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.code-block h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.code-block pre {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.code-block pre code {
    color: inherit;
}

.code-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.cta-centered {
    text-align: center;
    padding: 80px 0;
}

.cta-centered h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-centered p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ========================================
   Use Cases Section
   ======================================== */

.use-case-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.use-case-section:last-of-type {
    border-bottom: none;
}

.use-case-header {
    margin-bottom: 40px;
}

.use-case-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.use-case-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.use-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.use-case-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--border-glow);
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-card h4 i {
    color: var(--accent-primary);
}

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

/* Supporting Use Cases Grid */
.supporting-use-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.supporting-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.supporting-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.supporting-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-primary-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.supporting-card-icon i {
    font-size: 1.4rem;
    color: var(--accent-primary);
}

.supporting-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.supporting-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.supporting-card ul {
    list-style: none;
}

.supporting-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.supporting-card li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* ========================================
   About Page
   ======================================== */

.about-section {
    padding: 60px 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-intro p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-primary-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-card-icon i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Special Offers Section
   ======================================== */

.special-offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.special-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.special-card:hover {
    border-color: var(--border-glow);
}

.special-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-primary-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.special-icon i {
    font-size: 1.4rem;
    color: var(--accent-primary);
}

.special-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.special-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Comparison Table
   ======================================== */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.comparison-table th:first-child {
    border-radius: 10px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 10px 0 0;
}

.comparison-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.comparison-table tr:hover td {
    background: var(--bg-card);
}

.comparison-table .check {
    color: var(--success);
}

.comparison-table .cross {
    color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--accent-primary);
}

/* ========================================
   Auth Pages (Forms)
   ======================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-primary-dim);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-check a {
    color: var(--accent-primary);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 6px;
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ========================================
   Scan Page
   ======================================== */

.scan-section {
    padding: 160px 0 80px;
}

.scan-container {
    max-width: 800px;
    margin: 0 auto;
}

.scan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
}

.scan-header {
    text-align: center;
    margin-bottom: 32px;
}

.scan-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.scan-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.upload-area:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-dim);
}

.upload-area.dragover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-dim);
}

.upload-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-primary-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.upload-icon i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.upload-area h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-area p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.upload-input {
    display: none;
}

.model-select {
    margin-bottom: 24px;
}

.model-select select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a8b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.model-select select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.scan-status {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.scan-status.processing {
    color: var(--accent-primary);
}

.scan-status.success {
    color: var(--success);
}

.scan-status.error {
    color: var(--danger);
}

.scan-results {
    margin-top: 32px;
}

.scan-results-header {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-results-header i {
    color: var(--accent-primary);
}

.file-result {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.file-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.file-result-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-result-icon i {
    color: var(--text-muted);
}

.file-result-name {
    font-weight: 500;
    flex: 1;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* ========================================
   Django Messages
   ======================================== */

.messages {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.message {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message.success {
    background: var(--success-dim);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.message.error {
    background: var(--danger-dim);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.message.warning {
    background: var(--warning-dim);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.message.info {
    background: var(--info-dim);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.message-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.message-close:hover {
    opacity: 1;
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .demo-cards {
        max-width: 440px;
        margin: 0 auto;
        height: auto;
    }

    .demo-cards .demo-card {
        position: relative;
        width: 100% !important;
        transform: none !important;
        margin-bottom: 20px;
    }

    .demo-card-2 {
        bottom: auto;
        right: auto;
    }

    .features-grid,
    .steps-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .model-section.reverse .model-content,
    .model-section.reverse .demo-card {
        order: unset;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .use-case-benefits {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .special-offers {
        grid-template-columns: 1fr;
    }

    .supporting-use-cases {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 16px;
        position: relative;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        padding: 16px;
        gap: 8px;
        z-index: 1000;
    }

    .nav-links.active > li > a {
        padding: 12px 16px;
        width: 100%;
    }

    /* Nav dropdown on mobile */
    .nav-links.active .nav-dropdown {
        width: 100%;
    }

    .nav-links.active .nav-dropdown-toggle {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
    }

    .nav-links.active .nav-dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        background: var(--bg-secondary);
        border: none;
        border-radius: 8px;
        margin: 8px 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 8px 0;
    }

    .nav-links.active .nav-dropdown.open .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }

    .nav-links.active .nav-dropdown-menu a {
        padding: 10px 16px;
        width: 100%;
        border-radius: 6px;
    }

    .nav-links.active .nav-dropdown-menu a:first-child,
    .nav-links.active .nav-dropdown-menu a:last-child {
        border-radius: 6px;
    }

    /* Mobile auth links (inside nav-links) */
    .nav-links.active .mobile-auth-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px 0 8px;
        margin-top: 8px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active .mobile-auth-links a {
        width: 100%;
        justify-content: center;
    }

    /* Show mobile account menu when nav is active */
    .nav-links.active ~ .mobile-account-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        padding: 0 16px 16px;
        gap: 8px;
        z-index: 999;
        margin-top: -1px;
    }

    .mobile-account-menu .mobile-account-divider {
        height: 1px;
        background: var(--border-color);
        margin: 8px 0;
    }

    .mobile-account-menu a {
        padding: 12px 16px;
        color: var(--text-secondary);
        text-decoration: none;
        border-radius: 8px;
    }

    .mobile-account-menu a:hover {
        background: var(--bg-tertiary);
        color: var(--text-primary);
    }

    .mobile-account-menu a i {
        width: 20px;
        margin-right: 8px;
    }

    /* Hide desktop nav-actions on mobile */
    .nav-actions {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .model-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .auth-card {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .special-card {
        flex-direction: column;
        text-align: center;
    }

    .special-icon {
        margin: 0 auto;
    }
}
