/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Emerald Green & White */
    --primary: #00674F;
    /* Primary #00674F */
    --primary-light: #008f6d;
    /* Lighter variant */
    --primary-dark: #004d3b;
    /* Darker variant */
    --accent: hsl(142, 76%, 36%);
    /* Green 600 #16a34a */
    --accent-light: hsl(142, 76%, 45%);
    /* Green 500 #22c55e */

    /* Light Theme */
    --bg-light: hsl(0, 0%, 100%);
    --surface-light: hsl(160, 20%, 98%);
    --surface-light-hover: hsl(160, 20%, 95%);
    --text-light: hsl(160, 25%, 10%);
    --text-secondary-light: hsl(160, 15%, 35%);
    --text-muted-light: hsl(160, 10%, 50%);

    /* Dark Theme */
    --bg-dark: hsl(160, 20%, 4%);
    --surface-dark: hsl(160, 15%, 8%);
    --surface-dark-hover: hsl(160, 15%, 12%);
    --text-dark: hsl(0, 0%, 98%);
    --text-secondary-dark: hsl(160, 10%, 75%);
    --text-muted-dark: hsl(160, 10%, 60%);

    /* Active Theme Variables */
    --bg: var(--bg-light);
    --surface: var(--surface-light);
    --surface-hover: var(--surface-light-hover);
    --text-primary: var(--text-light);
    --text-secondary: var(--text-secondary-light);
    --text-muted: var(--text-muted-light);
    --border-subtle: rgba(0, 103, 79, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-glow: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    --gradient-mesh:
        radial-gradient(at 0% 0%, hsl(160, 70%, 35%) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsl(142, 70%, 35%) 0px, transparent 50%),
        radial-gradient(at 50% 50%, hsl(160, 60%, 25%) 0px, transparent 50%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Effects */
    --glass-bg: rgba(16, 185, 129, 0.05);
    --glass-border: rgba(16, 185, 129, 0.15);
    --glass-surface: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --bg: var(--bg-dark);
    --surface: var(--surface-dark);
    --surface-hover: var(--surface-dark-hover);
    --text-primary: var(--text-dark);
    --text-secondary: var(--text-secondary-dark);
    --text-muted: var(--text-muted-dark);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(0, 103, 79, 0.15);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-surface: rgba(16, 185, 129, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition-normal), color var(--transition-normal);
}

/* Dark Mode Polish */
[data-theme="dark"] .hero-image,
[data-theme="dark"] .feature-hero img {
    filter: brightness(0.8) contrast(1.1);
}

[data-theme="dark"] .hero-background {
    opacity: 0.4;
}

[data-theme="dark"] ::selection {
    background: var(--primary-light);
    color: white;
}

[data-theme="dark"] .stat-number {
    filter: drop-shadow(0 0 10px rgba(0, 103, 79, 0.3));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--surface-hover);
}

.theme-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
}

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

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

.btn-ghost:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
}

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

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

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    margin-top: 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.15;
    animation: meshAnimation 20s ease-in-out infinite;
}

@keyframes meshAnimation {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--spacing-md);
}

.nigeria-flag {
    width: 20px;
    height: 14px;
    background: linear-gradient(90deg, #008751 33%, white 33%, white 66%, #008751 66%);
    border-radius: 2px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(16, 185, 129, 0.4));
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--spacing-3xl) 0;
    position: relative;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   Multilingual Section (Reimagined 2025)
   =================================== */
.multilingual {
    padding: var(--spacing-3xl) 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.multilingual-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.lang-selector-group {
    display: grid;
    gap: 1.5rem;
}

.lang-token-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.lang-token-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.lang-token-card:hover,
.lang-token-card.active {
    transform: translateX(10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    background: var(--surface-hover);
}

.lang-token-card.active::before {
    transform: scaleY(1);
}

.lang-flag-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lang-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.lang-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Phone Mockup Preview */
.phone-preview-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup-frame {
    width: 300px;
    height: 600px;
    background: #0f172a;
    border: 12px solid #1e293b;
    border-radius: 40px;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 103, 79, 0.2);
    overflow: hidden;
    animation: floatCard 6s ease-in-out infinite;
}

.widget-live-content {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
}

.mock-consent-widget {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 1.5rem;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mock-widget-logo {
    height: 24px;
    margin-bottom: 1rem;
}

.mock-widget-text {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
}

.mock-widget-actions {
    display: grid;
    gap: 0.75rem;
}

.mock-btn {
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.mock-btn-primary {
    background: var(--primary);
    color: white;
}

.mock-btn-outline {
    border: 1px solid #e2e8f0;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .multilingual-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .phone-preview-wrapper {
        margin-top: 2rem;
    }
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--surface);
}

.pricing-toggle {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.toggle-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    position: relative;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: var(--shadow-glow);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.plan-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.plan-price {
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.plan-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg);
}

.cta-content {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: scale(0.95);
    transition: all var(--transition-slow);
}

.cta-content[data-animate].visible {
    opacity: 1;
    transform: scale(1);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: hsl(220, 40%, 10%);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Design
   =================================== */
/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    :root {
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
    }

    .hero-visual {
        order: 2;
        padding: 0 var(--spacing-lg);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.125rem;
    }

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

    .hero-stats {
        justify-content: center;
        gap: var(--spacing-lg);
    }

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

@media (max-width: 768px) {

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 73px;
        /* Adjusted for navbar height */
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
    }

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

    .mobile-toggle {
        display: flex;
        margin-left: var(--spacing-sm);
    }

    .nav-actions {
        margin-left: auto;
    }

    /* Typography & Spacing */
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    /* Grids */
    .features-grid,
    .pricing-grid,
    .language-carousel {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Layout Adjustments */
    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

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

    .feature-card,
    .pricing-card {
        padding: var(--spacing-lg);
    }


    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-column:first-child {
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    .footer-column:first-child .footer-logo {
        justify-content: center;
    }

    .footer-column:first-child .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .nav-actions .btn {
        display: none;
        /* Hide top buttons, they should be in menu or just use Login */
    }

    .nav-actions .btn#login-btn {
        display: inline-flex;
        /* Keep Login button */
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-actions .btn#signup-btn {
        display: none;
        /* Hide long generic CTA on very small screens */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .amount {
        font-size: 2.5rem;
    }
}

/* =================================== 
   Feature Page Headers 
   =================================== */
.feature-hero {
    position: relative;
    padding: var(--spacing-3xl) 0;
    margin-top: 60px;
    background: var(--surface);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.feature-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.feature-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.feature-hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.feature-block {
    padding: var(--spacing-3xl) 0;
}

.feature-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.feature-block-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.feature-block-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* =================================== 
   Dropdown Menu 
   =================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all var(--transition-normal);
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: var(--glass-bg);
    color: var(--primary);
}

/* =================================== 
   DSAR Page Specific Styles (Premium Reimagined)
   =================================== */

/* Hero Enhancements */
.feature-hero {
    position: relative;
    padding: var(--spacing-3xl) 0;
    margin-top: 60px;
    background: var(--bg);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 103, 79, 0.1), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(22, 163, 74, 0.05), transparent 50%);
    filter: blur(60px);
    z-index: 0;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 103, 79, 0.15);
    top: 10%;
    right: 5%;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(22, 163, 74, 0.1);
    bottom: 20%;
    right: 20%;
    animation-delay: -5s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 40px);
    }
}

/* Steps Grid Reimagined */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem 2rem 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
    z-index: 0;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 103, 79, 0.2);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

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

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 103, 79, 0.1);
    border-color: rgba(0, 103, 79, 0.2);
}

/* Glass Section & Capability Stack */
.glass-section {
    background: var(--bg);
    position: relative;
}

.capability-card-stack {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.capability-card {
    position: absolute;
    width: 280px;
    padding: 2rem;
    background: var(--glass-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.capability-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.capability-card h4 {
    margin-bottom: 0.5rem;
}

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

.capability-card.glass {
    opacity: 0.6;
    transform: scale(0.9) translate(-40px, -40px);
}

.capability-card.main {
    z-index: 2;
    transform: scale(1.1);
    background: var(--surface);
    box-shadow: 0 40px 100px rgba(0, 103, 79, 0.15);
    border-color: var(--primary-light);
    opacity: 1;
}

[data-theme="dark"] .capability-card.main {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.capability-card:nth-child(3) {
    transform: scale(0.9) translate(40px, 40px);
}

.language-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-light);
    font-weight: 700;
}

/* Premium Feature List */
.feature-list-premium {
    list-style: none;
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item-premium {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    align-items: center;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.25rem;
}

.feature-text-wrapper h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-text-wrapper p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Playground Preview Polish */
.playground-preview {
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    padding: 2rem;
}

.branding-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: #94a3b8;
}

.color-swatch.emerald {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.radius-slider {
    width: 100px;
    height: 4px;
    background: #1e293b;
    border-radius: 2px;
    position: relative;
}

.radius-slider::after {
    content: '';
    position: absolute;
    right: 30%;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.check-list i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

/* Dark API Section */
.api-dark {
    background: #0a0f0d;
    color: white;
}

.text-white {
    color: white !important;
}

.text-gray {
    color: #a0aec0 !important;
}

.api-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: center;
}

.api-endpoint-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.api-endpoint-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.method {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.method.post {
    background: #00674F;
    color: white;
}

.method.get {
    background: #3182ce;
    color: white;
}

.api-endpoint-card code {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: #48bb78;
    margin-bottom: 0.5rem;
}

/* IDE Code Window */
.code-window {
    background: #1a202c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-tab {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #fc8181;
}

.dot.yellow {
    background: #f6e05e;
}

.dot.green {
    background: #68d391;
}

.tab-title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: #718096;
    font-family: 'Fira Code', monospace;
}

.code-window pre {
    padding: 2rem;
    margin: 0;
    overflow-x: auto;
}

.code-window code {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.8;
}

.code-footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
    color: #718096;
}

.status-badge {
    color: #68d391;
}

/* Premium Metrics Card */
.glass-card.premium-metrics {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .glass-card.premium-metrics {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.metrics-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ade80;
}

.dot.pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    position: relative;
}

.dot.pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(3);
        opacity: 0;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-item.highlight .metric-value {
    color: #4ade80;
}

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

.bot-shield {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.05);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
}

.bot-shield i {
    font-size: 1.1rem;
}

/* Support Page Chat Mockup */
.glass-card.chat-mockup {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-xl);
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden;
}

[data-theme="dark"] .glass-card.chat-mockup {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
}

.chat-header {
    background: var(--background);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-user .avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.user-info span {
    font-size: 0.75rem;
    color: #4ade80;
    font-weight: 600;
}

.chat-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--surface);
}

.message {
    max-width: 80%;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.incoming {
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border-radius: 4px 16px 16px 16px;
}

[data-theme="dark"] .message.incoming {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.message.outgoing {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-radius: 16px 16px 4px 16px;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {

    .api-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Support Page Chat Mockup V2 */
.v2-chat-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}

[data-theme="dark"] .v2-chat-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.v2-chat-header {
    padding: 1.5rem;
    background: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.v2-user-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v2-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.v2-user-details {
    display: flex;
    flex-direction: column;
}

.v2-user-details strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.v2-user-details span {
    font-size: 0.75rem;
    color: #4ade80;
    font-weight: 700;
}

.v2-chat-icons {
    display: flex;
    gap: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.v2-chat-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v2-message {
    max-width: 85%;
    padding: 1.25rem;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.v2-message.system {
    align-self: center;
    background: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0;
    text-align: center;
    max-width: 100%;
}

.v2-message.incoming {
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

[data-theme="dark"] .v2-message.incoming {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

.v2-message.outgoing {
    align-self: flex-end;
    background: var(--primary);
    color: #ffffff;
    /* High contrast white for visibility */
    border-bottom-right-radius: 4px;
}

.v2-message p {
    margin: 0;
    color: inherit;
    /* Ensures p tags don't override accessible message color */
}

@media (max-width: 768px) {
    .capability-card-stack {
        display: none;
    }

    .feature-hero-title {
        font-size: 2.5rem;
    }
}

/* Audit Workbench Luxury Components */
.process-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-step-premium {
    position: relative;
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: var(--transition-normal);
}

.process-step-premium:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.08;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.audit-activity,
.vault-ui {
    max-width: 500px;
    margin: 0 auto;
}

.activity-header,
.vault-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.activity-list,
.vault-files {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.activity-item,
.vault-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-item i,
.vault-file i {
    font-size: 1.2rem;
}

.activity-item .verified,
.vault-file .badge-v {
    color: #10b981;
}

.activity-item .added,
.vault-file .badge-p {
    color: #f59e0b;
}

.activity-item .active {
    color: var(--primary);
}

.time {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.vault-cat {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
    border: 1px solid var(--border-subtle);
}

.vault-cat:hover {
    background: var(--primary);
    color: white;
}

.vault-cat i {
    font-size: 1.5rem;
}

.vault-cat span {
    font-weight: 600;
    font-size: 0.85rem;
}

[data-theme="dark"] .process-step-premium,
[data-theme="dark"] .vault-cat {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .step-number {
    color: white;
    opacity: 0.12;
}

.bg-subtle {
    background: var(--surface);
}

/* Checklist Premium Styles */
.checklist-container-premium {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checklist-item-premium {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.checklist-item-premium:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.check-box {
    min-width: 32px;
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.check-box.verified {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.check-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

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

[data-theme="dark"] .checklist-item-premium {
    background: rgba(255, 255, 255, 0.02);
}

/* Collaboration Hub Reimagined */
.collaboration-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.hub-header {
    margin-bottom: 2.5rem;
}

.hub-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.hub-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hub-feature-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.hub-feature-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.hub-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.hub-feature-card:hover .hub-icon {
    background: var(--primary);
    color: white;
}

.hub-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Activity Feed Glass */
.activity-feed-glass {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
}

.feed-header {
    padding: 1.25rem 1.5rem;
    background: var(--background);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.live-indicator .dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.user-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feed-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.feed-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--background);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.feed-item:hover {
    background: var(--surface-hover);
    border-color: var(--border-subtle);
}

.feed-item.warning {
    border-left: 4px solid #f59e0b;
}

.feed-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.feed-content p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.feed-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feed-footer {
    padding: 1rem;
    background: var(--background);
    border-top: 1px solid var(--border-subtle);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .collaboration-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .activity-feed-glass {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hub-feature-card {
        flex-direction: column;
        gap: 1rem;
    }

    .hub-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .hub-feature-card:hover {
        transform: translateY(-5px);
    }
}

[data-theme="dark"] .hub-feature-card,
[data-theme="dark"] .activity-feed-glass,
[data-theme="dark"] .feed-header,
[data-theme="dark"] .feed-footer,
[data-theme="dark"] .feed-item {
    background: rgba(15, 23, 42, 0.4);
}

[data-theme="dark"] .feed-item {
    background: rgba(255, 255, 255, 0.02);
}

/* Evidence Locker Reimagined */
.locker-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.locker-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.folder-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: var(--transition-normal);
    cursor: pointer;
}

.folder-item.active {
    background: var(--primary);
    border-color: var(--primary);
}

.folder-item.active strong {
    color: white;
}

.folder-item.active span {
    color: rgba(255, 255, 255, 0.7);
}

.folder-item.active .folder-icon {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.folder-icon {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.folder-meta {
    display: flex;
    flex-direction: column;
}

.folder-meta strong {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.folder-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Browser Mockup Luxe */
.locker-visual-side {
    position: relative;
}

.browser-mockup {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.browser-toolbar {
    padding: 1rem 1.5rem;
    background: var(--background);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle);
}

.browser-search-bar {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.browser-content {
    padding: 0;
}

.file-list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 0.75rem 1.5rem;
    background: var(--surface-hover);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.file-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1rem 1.5rem;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.file-row:hover {
    background: var(--surface-hover);
}

.file-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.file-name i {
    font-size: 1.1rem;
    color: var(--primary);
}

.badge-solid {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}

.badge-solid.secure {
    background: #10b981;
    color: white;
}

.badge-solid.pending {
    background: #f59e0b;
    color: white;
}

.badge-outline {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.browser-footer {
    padding: 1.25rem 1.5rem;
    background: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.storage-info {
    flex: 1;
    max-width: 200px;
}

.storage-info span {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.4rem;
}

.storage-bar {
    height: 6px;
    background: var(--border-subtle);
    border-radius: 3px;
    overflow: hidden;
}

.storage-fill {
    height: 100%;
    background: var(--primary);
}

.btn-upload-mini {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.cert-seal {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    color: #1e293b;
    border: 4px solid #f1f5f9;
}

.cert-seal i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    color: #10b981;
}

/* Responsive Locker */
@media (max-width: 992px) {
    .locker-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .locker-badge {
        margin: 0 auto 1.5rem;
    }

    .locker-info-side {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .folder-grid-premium {
        grid-template-columns: 1fr;
    }

    .file-list-header,
    .file-row {
        grid-template-columns: 1fr 1fr;
    }

    .file-size {
        display: none;
    }
}

[data-theme="dark"] .cert-seal {
    background: #0f172a;
    border-color: #1e293b;
    color: white;
}

/* Premium CTA Reimagined */
.cta-premium-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-premium-card {
    background: linear-gradient(135deg, #004d3b 0%, #00674f 100%);
    border-radius: 40px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    color: white;
    box-shadow: 0 40px 100px rgba(0, 103, 79, 0.3);
}

.cta-badge-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.cta-premium-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-premium-description {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.cta-trust-metrics {
    display: flex;
    gap: 2rem;
}

.trust-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-metric i {
    color: #4ade80;
}

.cta-premium-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

[data-theme="dark"] .cta-premium-card {
    background: linear-gradient(135deg, #002d23 0%, #004d3b 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Billing Table Reimagined */
.pricing-table-container-luxe {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: 2rem;
}

.pricing-table-luxe {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table-luxe th {
    padding: 2rem;
    text-align: left;
    background: var(--surface-hover);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-subtle);
}

.pricing-table-luxe th.featured-col {
    background: var(--primary);
    color: white;
}

.pricing-table-luxe td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.table-group-header td {
    background: var(--background);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    text-transform: uppercase;
}

.pricing-table-luxe tr:hover td:not([colspan]) {
    background: var(--surface-hover);
}

.billing-cta-footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* ===================================
   Premium Billing Page (Dark Mode)
   =================================== */

.billing-hero {
    min-height: 60vh;
    padding-top: 100px;
}

.billing-hero .hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0, 103, 79, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image-premium {
    width: 100%;
    height: auto;
    display: block;
}

/* Premium Wallet Card (Dark) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

/* Dark Mode Enforcement just for Billing Page */
html[data-theme="dark"] body {
    background-color: #050505;
    /* Hardcoded dark bg */
    color: #ffffff;
}

html[data-theme="dark"] .wallet-card-dark {
    background: linear-gradient(145deg, rgba(0, 103, 79, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-card-dark {
    background: linear-gradient(145deg, rgba(0, 103, 79, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.wallet-logo-white {
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.wallet-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.wallet-balance {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.progress-bar-fill {
    width: 75%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.wallet-actions {
    display: flex;
    gap: 1rem;
}

.btn-wallet-primary {
    flex: 1;
    background: #fff;
    color: var(--primary-dark);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.btn-wallet-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-wallet-secondary {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-wallet-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.premium-list {
    list-style: none;
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.premium-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}

.premium-billing-card {
    width: 420px;
    height: 250px;
    background: linear-gradient(135deg, #001f18 0%, #004d3b 50%, #00674f 100%);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: var(--transition-slow);
    animation: floatCard 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.premium-billing-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.card-chip {
    width: 58px;
    height: 44px;
    background: linear-gradient(135deg, #d4af37 0%, #f9e29c 50%, #b8860b 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 12px);
    opacity: 0.5;
}

.card-logo {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    opacity: 0.8;
}

.card-number {
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.card-holder {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    font-weight: 700;
}

@keyframes floatCard {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(-25px);
    }
}

/* Responsive Billing */
@media (max-width: 992px) {
    .billing-hero .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image-wrapper {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .wallet-concept {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        justify-content: center;
        margin-top: 2rem;
    }

    .premium-billing-card {
        width: 100%;
        max-width: 360px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .pricing-table-container-luxe {
        overflow-x: auto;
    }

    .pricing-table-luxe {
        min-width: 700px;
    }
}

/* Responsive CTA */
@media (max-width: 992px) {
    .cta-premium-card {
        grid-template-columns: 1fr;
        padding: 3rem;
        text-align: center;
    }

    .cta-trust-metrics {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-premium-actions {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .cta-premium-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .cta-premium-title {
        font-size: 2.25rem;
    }

    .cta-badge-pill {
        font-size: 0.75rem;
    }

    .cta-trust-metrics {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}