/*
 * Client Scale - Modern Dark SaaS Theme & Animation Framework
 * Inspired by Vercel, Linear, and Stripe Dark Mode
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Light Theme (Default) */
    --background: #ffffff;
    --surface-bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Neon Sapphire & Indigo Accents */
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: rgba(59, 130, 246, 0.1);
    --accent: #6366f1;
    --accent-light: rgba(99, 102, 241, 0.1);
    
    /* Clean Borders */
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.16);
    
    /* Semantic Light Accents */
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.1);
    --success-border: rgba(16, 185, 129, 0.2);
    
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.1);
    --warning-border: rgba(245, 158, 11, 0.2);
    
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.1);
    --danger-border: rgba(239, 68, 68, 0.2);
    
    /* Layout & Styling Tokens */
    --font-sans: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    /* Premium Shadows & Glows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.1), 0 2px 10px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    --shadow-premium: 0 0 30px rgba(59, 130, 246, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 60px;
}

/* Dark Theme */
[data-theme="dark"] {
    /* Premium Dark Color Palette */
    --background: #030712;
    --surface-bg: #090d16;
    --card-bg: rgba(17, 24, 39, 0.6);
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --text-light: #6b7280;
    
    /* Neon Sapphire & Indigo Accents */
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: rgba(59, 130, 246, 0.1);
    --accent: #6366f1;
    --accent-light: rgba(99, 102, 241, 0.1);
    
    /* Clean Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    /* Semantic Dark Accents */
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.08);
    --success-border: rgba(16, 185, 129, 0.2);
    
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.08);
    --warning-border: rgba(245, 158, 11, 0.2);
    
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.08);
    --danger-border: rgba(239, 68, 68, 0.2);
    
    /* Premium Neon Shadows & Glows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 2px 10px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.7);
    --shadow-premium: 0 0 30px rgba(59, 130, 246, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background);
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: var(--header-height);
    /* Soft mesh light gradients */
    background-image: 
        radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.05), transparent 45%),
        radial-gradient(circle at 15% 60%, rgba(59, 130, 246, 0.05), transparent 45%);
}

[data-theme="dark"] body {
    background-image: 
        radial-gradient(circle at 80% 10%, rgba(99, 102, 241, 0.07), transparent 45%),
        radial-gradient(circle at 15% 60%, rgba(59, 130, 246, 0.07), transparent 45%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Hardware Accelerated Cascading Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderGlowPulse {
    0%, 100% {
        border-color: rgba(59, 130, 246, 0.2);
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.08), var(--shadow-md);
    }
    50% {
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.25), var(--shadow-lg);
    }
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 10px var(--primary); }
    50% { box-shadow: 0 0 25px var(--primary); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-rotate-in {
    animation: rotateIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.shimmer-effect {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 40%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 40%, #3b82f6 100%);
}

/* Base Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Button hover diagonal glare flash */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s ease;
    opacity: 0;
}

.btn:hover::after {
    left: 125%;
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, var(--primary-hover) 0%, #818cf8 100%);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: var(--border);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-danger {
    background-color: var(--danger-light);
    border-color: var(--danger-border);
    color: #fca5a5;
}

.btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
    transform: translateY(-1px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:active {
    transform: translateY(0);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pending {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

[data-theme="dark"] .badge-pending {
    background-color: rgba(255, 255, 255, 0.04);
}

.badge-review {
    background-color: var(--warning-light);
    color: #fbbf24;
    border: 1px solid var(--warning-border);
}

.badge-ready {
    background-color: var(--success-light);
    color: #34d399;
    border: 1px solid var(--success-border);
}

/* Alerts */
.alert {
    padding: 18px;
    border-radius: var(--radius-md);
    margin-bottom: 32px;
    font-size: 0.925rem;
    border: 1px solid transparent;
    animation: fadeInUp 0.4s ease forwards;
    box-shadow: var(--shadow-md);
}

.alert-success {
    background-color: var(--success-light);
    color: #a7f3d0;
    border-color: var(--success-border);
}

.alert-error {
    background-color: var(--danger-light);
    color: #fca5a5;
    border-color: var(--danger-border);
}

/* Header & Navigation */
.site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

[data-theme="dark"] .site-header {
    background-color: rgba(3, 7, 18, 0.75);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header nav {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text);
    gap: 10px;
    letter-spacing: -0.04em;
    font-family: 'Outfit', sans-serif;
}

.logo-dot {
    width: 11px;
    height: 11px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulseGlow 2.5s infinite ease-in-out;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Desktop nav-links should be hidden on mobile by default */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links {
    scroll-snap-type: x mandatory;
}

.nav-link:first-child {
    scroll-snap-align: start;
}

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
    color: #ffffff;
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

/* Show mobile menu button on mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }
}

/* Ensure Home tab is always visible on smaller screens */
@media (max-width: 1200px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .site-header nav {
        max-width: 500px;
        margin: 0 15px;
    }
    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .site-header nav {
        max-width: 400px;
        margin: 0 10px;
    }
    .nav-links {
        gap: 12px;
    }
}

.mobile-menu-btn:hover {
    background-color: var(--surface-bg);
}

.mobile-menu-btn svg line {
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active svg line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-btn.active svg line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active svg line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ======================================
   SPLIT HERO SECTION
   ====================================== */

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-slide-in-right {
    animation: slideInFromRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 40%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-split {
    position: relative;
    overflow: hidden;
    overflow-x: clip;
    padding: 15px 0 0 0;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    background-image:
        radial-gradient(ellipse at 5% 50%, rgba(99,102,241,0.06), transparent 50%),
        radial-gradient(ellipse at 95% 20%, rgba(59,130,246,0.04), transparent 45%);
}

[data-theme="dark"] .hero-split {
    background-image:
        radial-gradient(ellipse at 5% 50%, rgba(99,102,241,0.12), transparent 50%),
        radial-gradient(ellipse at 95% 20%, rgba(59,130,246,0.09), transparent 45%);
}

.hero-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ---- Left pane ---- */
.hero-split__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(59,130,246,0.1));
    color: #a5b4fc;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    margin-top: 11px;
    border: 1px solid rgba(99,102,241,0.3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    animation: floatEffect 4s infinite ease-in-out;
}

.hero-split__title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 12px;
    color: var(--text);
}

html[lang="fr"] .hero-split__title {
    font-size: 2.6rem;
}

html[lang="fr"] .hero-split__desc {
    font-size: 0.9rem;
}

html[lang="fr"] .hero-features {
    flex-wrap: wrap;
}

html[lang="fr"] .hero-feature {
    font-size: 0.75rem;
}

html[lang="fr"] .section-title {
    font-size: 2.2rem;
}

html[lang="fr"] .feature-card h3 {
    font-size: 1.1rem;
}

html[lang="fr"] .feature-card p {
    font-size: 0.85rem;
}

html[lang="fr"] .benefit-card h3 {
    font-size: 1.1rem;
}

html[lang="fr"] .benefit-card p {
    font-size: 0.85rem;
}

html[lang="fr"] .testimonial-card p {
    font-size: 0.9rem;
}

html[lang="fr"] .faq-item h4 {
    font-size: 0.95rem;
}

html[lang="fr"] .faq-item p {
    font-size: 0.85rem;
}

html[lang="fr"] .cta-banner h2 {
    font-size: 1.8rem;
}

html[lang="fr"] .cta-banner p {
    font-size: 0.9rem;
}

html[lang="fr"] .nav-link {
    font-size: 0.85rem;
}

html[lang="fr"] .footer-links a {
    font-size: 0.85rem;
}

html[lang="fr"] .footer-brand p {
    font-size: 0.85rem;
}

.hero-split__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Feature pills under description */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    transition: var(--transition);
}

.hero-feature:hover {
    border-color: var(--border-hover);
    background: rgba(0,0,0,0.04);
}

[data-theme="dark"] .hero-feature {
    background: rgba(255,255,255,0.03);
}

[data-theme="dark"] .hero-feature:hover {
    background: rgba(255,255,255,0.05);
}

.hero-feature__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-feature strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.hero-feature span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* CTA buttons */
.hero-split__ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.btn-ghost-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(0,0,0,0.02);
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost-hero:hover {
    border-color: var(--border-hover);
    background: rgba(0,0,0,0.04);
    color: var(--text);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-ghost-hero {
    background: rgba(255,255,255,0.04);
}

[data-theme="dark"] .btn-ghost-hero:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Social proof row */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-avatars {
    display: flex;
}

.hero-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    border: 2px solid var(--background);
    margin-right: -10px;
    flex-shrink: 0;
}

.hero-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    line-height: 1;
}

.hero-proof-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---- Right pane: Dashboard frame ---- */
.hero-split__right {
    position: relative;
    overflow: hidden;
}

.dashboard-frame {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(248,250,252,0.98));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 16px;
    padding: 16px;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.04),
        0 30px 80px rgba(0,0,0,0.15),
        0 0 60px rgba(99,102,241,0.1);
    backdrop-filter: blur(12px);
    animation: borderGlowPulse 5s infinite ease-in-out;
}

[data-theme="dark"] .dashboard-frame {
    background: linear-gradient(145deg, rgba(17,24,39,0.95), rgba(9,13,22,0.98));
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 30px 80px rgba(0,0,0,0.7),
        0 0 60px rgba(99,102,241,0.1);
}

.dashboard-frame__topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.frame-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Metric cards */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.dash-metric {
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

[data-theme="dark"] .dash-metric {
    background: rgba(255,255,255,0.03);
}

.dash-metric__label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.dash-metric__value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 5px;
}

.dash-metric__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-metric__badge.good   { background:rgba(16,185,129,0.15);  color:#34d399; }
.dash-metric__badge.avg    { background:rgba(245,158,11,0.15);   color:#fbbf24; }
.dash-metric__badge.bad    { background:rgba(239,68,68,0.15);    color:#f87171; }
.dash-metric__badge.info   { background:rgba(59,130,246,0.15);   color:#60a5fa; }

/* Charts row */
.dash-charts {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    margin-bottom: 10px;
}

.dash-chart-area,
.dash-donut-area {
    background: rgba(0,0,0,0.015);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
}

[data-theme="dark"] .dash-chart-area,
[data-theme="dark"] .dash-donut-area {
    background: rgba(255,255,255,0.025);
}

.dash-chart-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.area-chart-svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Donut chart */
.donut-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donut-svg {
    width: 70px;
    height: 70px;
    transform: rotate(-90deg);
    flex-shrink: 0;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.62rem;
    color: var(--text-muted);
}

.donut-legend div {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.donut-legend span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Recommendation bar */
.dash-recommendation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 8px;
    padding: 8px 12px;
}

.dash-rec__text strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.dash-rec__text p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.btn-sm-dash {
    padding: 8px 14px;
    font-size: 0.72rem;
    border-radius: 8px;
    white-space: nowrap;
    font-weight: 700;
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
    animation: floatEffect 4s ease-in-out infinite;
    z-index: 10;
}

[data-theme="dark"] .floating-badge {
    background: rgba(17,24,39,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.float-badge-1 {
    top: -18px;
    right: -20px;
    animation-delay: 0s;
}

.float-badge-2 {
    bottom: -18px;
    left: -20px;
    animation-delay: 2s;
}

.fb-icon {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.fb-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

.fb-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ======================================
   TRUST BAR
   ====================================== */

.trust-bar {
    background: rgba(0,0,0,0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

[data-theme="dark"] .trust-bar {
    background: rgba(255,255,255,0.02);
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

html[lang="fr"] .trust-bar__inner {
    flex-wrap: nowrap;
    gap: 24px;
}

.trust-bar__label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
}

html[lang="fr"] .trust-bar__label {
    font-size: 0.7rem;
}

.trust-bar__logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

html[lang="fr"] .trust-bar__logos {
    gap: 20px;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.7;
    transition: var(--transition);
}

html[lang="fr"] .trust-logo {
    font-size: 0.75rem;
    gap: 5px;
}

.trust-logo:hover {
    opacity: 1;
    color: var(--text);
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Section eyebrow label */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a78bfa;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 9999px;
    padding: 4px 14px;
    margin-bottom: 16px;
}

/* ======================================
   CTA BANNER
   ====================================== */

.cta-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(59,130,246,0.05) 100%);
    border-top: 1px solid rgba(99,102,241,0.2);
    border-bottom: 1px solid rgba(99,102,241,0.2);
    padding: 64px 0;
}

[data-theme="dark"] .cta-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(59,130,246,0.1) 100%);
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1rem;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ======================================
   RESPONSIVE - SPLIT HERO
   ====================================== */

@media (max-width: 1024px) {
    .hero-split__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-split__left {
        align-items: center;
        text-align: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-split__ctas {
        justify-content: center;
    }
    .hero-social-proof {
        justify-content: center;
    }
    .hero-split__title {
        font-size: 2.8rem;
    }
    .float-badge-1, .float-badge-2 {
        display: none;
    }
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-banner__actions {
        justify-content: center;
    }
}

/* How It Works Section */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
    z-index: 0;
}

.step-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(59, 130, 246, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    position: absolute;
    top: 32px;
    right: 36px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.08;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.step-card:hover .step-number {
    opacity: 0.15;
    transform: scale(1.1);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(99, 102, 241, 0.15) 100%);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 1.4rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(180deg, var(--background) 0%, var(--surface-bg) 50%, var(--background) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow-x: clip;
}

.section-padding {
    overflow-x: clip;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(99, 102, 241, 0.03) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    gap: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.12);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
    transition: var(--transition);
}

.benefit-card:hover h3::after {
    width: 100%;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: var(--surface-bg);
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

.modal-footer .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-premium);
    animation: borderGlowPulse 4s infinite ease-in-out;
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card:hover:not(.featured) {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.08);
}

.pricing-name {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
}

.pricing-price span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 48px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.975rem;
    color: var(--text-muted);
}

.pricing-features svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--surface-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
}

.testimonial-stars {
    display: flex;
    gap: 6px;
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.975rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--card-bg);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text);
}

.faq-answer {
    padding: 0 32px 32px 32px;
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.25);
    background-color: rgba(59, 130, 246, 0.08);
}

[data-theme="dark"] .faq-item.active {
    background-color: rgba(17, 24, 39, 0.8);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-hover);
}

/* Footer Section */
.no-print {
    display: none;
}

@media print {
    .no-print {
        display: none;
    }
}

.site-footer {
    background-color: #030712;
    color: var(--text-muted);
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 320px;
    font-size: 0.925rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.925rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

/* Authentication Pages */
.auth-page {
    background-color: var(--background);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.auth-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-header h1 {
    font-size: 1.85rem;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Select options styling */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
    cursor: pointer;
}

select.form-control option {
    background-color: #0b0f19;
    color: #ffffff;
}

.form-helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.825rem;
}

.form-forgot {
    color: var(--primary-hover);
    font-weight: 600;
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.925rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-hover);
    font-weight: 600;
}

/* Latest Report Card */
.latest-report-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.latest-report-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.latest-report-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.latest-report-info {
    flex: 1;
    min-width: 0;
}

.latest-report-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-report-filename {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-report-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.latest-report-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
}

.btn-open-report-custom {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-open-report-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-icon-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-icon-download:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Mobile specific styling for dashboard */
@media (max-width: 768px) {
    .dashboard-main {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* User Dashboard & Admin Dashboard Grid */
.dashboard-layout {
    background-color: var(--background);
    min-height: calc(100vh - var(--header-height));
    padding: 60px 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dash-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.dash-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dash-card-title {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.dash-card-icon {
    color: var(--primary-hover);
    background-color: var(--primary-light);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.dash-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

.dash-card-sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
}

/* Main Dashboard Panel Layout */
.dashboard-main {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 32px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

@media (max-width: 1024px) {
    .dashboard-main {
        grid-template-columns: 1fr;
    }
}

.dashboard-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.dashboard-box:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.dashboard-box-title {
    font-size: 1.35rem;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Drag & Drop File Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 28px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.01);
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: var(--transition);
}

.upload-area:hover .upload-icon {
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.upload-text {
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 0.825rem;
    color: var(--text-light);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.selected-file-display {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--primary-hover);
    font-weight: 700;
    background-color: var(--primary-light);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

/* Analysis Table */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.table th {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.775rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Campaign Report View */
.report-container {
    max-width: 920px;
    margin: 32px auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-header {
    background: linear-gradient(135deg, #0b0f19 0%, #030712 100%);
    color: #ffffff;
    padding: 56px 48px;
    position: relative;
    border-bottom: 1px solid var(--border);
    /* Soft cyan accent line */
    background-image: radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.15), transparent 45%);
}

.report-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.report-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.report-score-widget {
    background-color: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    min-width: 130px;
    animation: borderGlowPulse 4s infinite ease-in-out;
}

.report-score-val {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-hover);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.report-score-lbl {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 6px;
}

.report-body {
    padding: 56px 48px;
}

.report-section {
    margin-bottom: 56px;
}

.report-section-title {
    font-size: 1.45rem;
    margin-bottom: 24px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.report-section p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.025rem;
    line-height: 1.7;
}

.report-list {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: none;
    color: var(--text-muted);
}

.report-list li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 22px;
    line-height: 1.6;
}

.report-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-hover);
    font-weight: 800;
}

/* Recommendations Layout */
.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .rec-grid {
        grid-template-columns: 1fr;
    }
}

.rec-card {
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rec-card:hover {
    transform: translateY(-2px);
}

.rec-card-scale {
    background-color: var(--success-light);
    border-color: var(--success-border);
    color: #a7f3d0;
}

.rec-card-kill {
    background-color: var(--danger-light);
    border-color: var(--danger-border);
    color: #fca5a5;
}

.rec-card-test {
    background-color: var(--warning-light);
    border-color: var(--warning-border);
    color: #fde68a;
}

.rec-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.05em;
}

.rec-card ul {
    list-style: none;
    font-size: 0.925rem;
}

.rec-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.rec-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 1.25rem;
    line-height: 1;
}

.rec-card-scale li::before { color: var(--success); }
.rec-card-kill li::before { color: var(--danger); }
.rec-card-test li::before { color: var(--warning); }

.report-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 36px;
    margin-top: 56px;
}

/* Admin Dashboard Elements */
.admin-tab-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
    animation: fadeInUp 0.4s ease forwards;
}

.admin-tab-btn {
    padding: 14px 28px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1rem;
}

.admin-tab-btn.active {
    color: var(--primary-hover);
    border-bottom-color: var(--primary);
}

.admin-tab-btn:hover {
    color: #ffffff;
}

.search-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.search-input {
    flex-grow: 1;
}

/* Pricing Page and Checkout Modal */
.pricing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.pricing-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.checkout-card {
    background-color: #0b0f19;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-premium);
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-modal.active .checkout-card {
    transform: translateY(0);
}

.checkout-header {
    text-align: center;
    margin-bottom: 28px;
}

.checkout-plan-details {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
}

.card-input-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

.strengths-weaknesses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

/* Premium Responsiveness & Mobile Adaptiveness */
@media (max-width: 968px) {
    /* Grids & Cards */
    .pricing-grid, .pricing-cards-grid, .steps-grid, .testimonials-grid, .strengths-weaknesses-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    
    .pricing-card.featured, .pc-featured {
        transform: scale(1) !important;
    }
    
    .pricing-card.featured:hover, .pc-featured:hover {
        transform: translateY(-4px) !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
    
    /* Premium Inline Navigation on Mobile/Tablet */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 16px !important;
        align-items: center !important;
        border-left: none !important;
        z-index: auto !important;
        transition: none !important;
    }
    
    /* Hide non-essential links */
    .nav-links li.nav-item-other {
        display: none !important;
    }
    
    .nav-links li.nav-item-home,
    .nav-links li.nav-item-pricing {
        display: block !important;
    }
    
    body.mobile-menu-open {
        overflow: auto !important;
    }
    
    body.mobile-menu-open::before {
        display: none !important;
    }
    
    /* Header layout adjustments */
    .auth-nav .user-welcome {
        display: none !important; /* Hide welcome label on small tablet/mobile */
    }
    
    .auth-nav {
        gap: 10px !important;
    }

    /* Dashboard Layout */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    
    .dashboard-layout {
        padding: 24px 0 !important;
    }
    
    .dashboard-main {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    /* Hero split and container */
    .hero-split__inner {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding-top: 40px !important;
    }
    
    .hero-split__left {
        align-items: center !important;
        text-align: center !important;
    }
    
    .hero-split__title {
        font-size: 2.2rem !important;
    }
    
    .hero-features {
        justify-content: center !important;
    }
    
    .hero-split__ctas {
        justify-content: center !important;
    }
    
    .hero-social-proof {
        justify-content: center !important;
    }

    /* Trust bar */
    .trust-bar__inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .trust-bar__logos {
        justify-content: center !important;
    }
    
    /* Table responsive overflow scrolling */
    .table-responsive {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: var(--radius-md) !important;
        border: 1px solid var(--border) !important;
    }
    
    .table {
        min-width: 600px !important;
    }
    
    /* Comparison Table scrolling */
    .comparison-table-wrapper {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .comparison-table {
        min-width: 650px !important;
    }
}

@media (max-width: 576px) {
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    
    .btn {
        width: 100% !important;
    }
    
    .hero-split__ctas {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .report-header {
        padding: 24px 16px !important;
    }
    
    .report-body {
        padding: 24px 16px !important;
    }
    
    .report-header-top {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    .auth-card {
        padding: 24px 16px !important;
    }
    
    /* Form input alignments */
    .card-input-group {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}


/* PRINT MEDIA STYLES - Premium layout for PDF print */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
    }
    
    .site-header, .site-footer, .report-actions, .btn, .site-header *, .site-footer * {
        display: none !important;
    }
    
    .report-container {
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .report-header {
        background: #f8fafc !important;
        color: #0f172a !important;
        border-bottom: 2px solid #2563eb !important;
        padding: 20px 0 !important;
    }
    
    .report-header h1 {
        color: #0f172a !important;
    }
    
    .report-score-widget {
        border: 1px solid #e2e8f0 !important;
        background-color: #ffffff !important;
        animation: none !important;
    }
    
    .report-score-val {
        color: #2563eb !important;
    }
    
    .report-score-lbl {
        color: #64748b !important;
    }
    
    .report-meta-info {
        color: #475569 !important;
    }
    
    .report-body {
        padding: 30px 0 !important;
    }
    
    .rec-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .rec-card {
        border: 1px solid #cbd5e1 !important;
        page-break-inside: avoid;
    }
    
    .rec-card-scale { background-color: #ecfdf5 !important; color: #047857 !important; border-color: #a7f3d0 !important; }
    .rec-card-kill { background-color: #fef2f2 !important; color: #b91c1c !important; border-color: #fca5a5 !important; }
    .rec-card-test { background-color: #fffbeb !important; color: #b45309 !important; border-color: #fde68a !important; }
    
    .report-section {
        page-break-inside: avoid;
    }
}

/* =============================================
   Landing Page Images - Integrated into Cards
   ============================================= */

/* Small integrated images within cards */
.card-integrated-img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02),
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(59, 130, 246, 0.06);
    display: block;
    margin: 16px auto 0 auto;
    transition: var(--transition);
}

.card-integrated-img:hover {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.15),
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.card-img-caption {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Hero section compact image */
.hero-compact-img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(59, 130, 246, 0.1);
    display: block;
    margin: 32px auto 0 auto;
    transition: var(--transition);
}

.hero-compact-img:hover {
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 24px 60px rgba(0, 0, 0, 0.65),
        0 0 50px rgba(99, 102, 241, 0.15);
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-integrated-img {
        max-width: 100%;
    }
    .hero-compact-img {
        max-width: 100%;
        margin-top: 24px;
    }
    .dash-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-charts {
        grid-template-columns: 1fr;
    }
    .trust-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .hero-split__title {
        font-size: 2.2rem;
    }
    .section-header h2 {
        font-size: 1.9rem;
    }
}

/* ============================================================
   PRICING PAGE — Full Redesign
   ============================================================ */

/* ----- Pricing Hero ----- */
.pricing-hero {
    padding: 90px 0 60px 0;
    text-align: center;
    position: relative;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.18), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(59,130,246,0.08), transparent 45%);
}

.pricing-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-hero__title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
}

.pricing-hero__sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Billing Toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 8px 20px;
}

.billing-toggle__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-toggle__label.active {
    color: var(--text);
}

.billing-save {
    background: rgba(16,185,129,0.15);
    color: #34d399;
    border-radius: 9999px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.billing-toggle__switch {
    width: 44px;
    height: 24px;
    background: rgba(99,102,241,0.25);
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(99,102,241,0.3);
    transition: background 0.3s ease;
}

.billing-toggle__switch.on {
    background: var(--accent);
}

.billing-toggle__knob {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.billing-toggle__switch.on .billing-toggle__knob {
    transform: translateX(20px);
}

/* ----- Pricing Section ----- */
.pricing-section {
    padding: 0 0 80px 0;
}

/* 4-column grid */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-bottom: 48px;
}

/* Ensure Pro card is visible */
.pc-card.pc-pro {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* ----- Base Card ----- */
.pc-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

[data-theme="dark"] .pc-card {
    border-color: var(--border);
}

.pc-card:hover:not(.pc-featured) {
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

[data-theme="dark"] .pc-card:hover:not(.pc-featured) {
    border-color: var(--border-hover);
}

[data-theme="dark"] .pc-card {
    background: rgba(17,24,39,0.6);
}

[data-theme="dark"] .pc-card:hover:not(.pc-featured) {
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* ----- Active plan highlight ----- */
.pc-card.pc-active {
    border-color: rgba(16,185,129,0.4);
    box-shadow: 0 0 30px rgba(16,185,129,0.08);
}

/* ----- Featured (Pro) card ----- */
.pc-featured {
    border-color: rgba(139,92,246,0.6) !important;
    box-shadow:
        0 0 0 1px rgba(139,92,246,0.25),
        0 20px 60px rgba(0,0,0,0.1),
        0 0 50px rgba(139,92,246,0.15) !important;
    background: linear-gradient(160deg, rgba(245,243,255,0.95) 0%, rgba(255,255,255,0.98) 100%) !important;
    animation: borderGlowPulse 4s infinite ease-in-out;
    transform: scale(1.02);
    z-index: 2;
}

[data-theme="dark"] .pc-featured {
    border-color: rgba(139,92,246,0.45) !important;
    box-shadow:
        0 0 0 1px rgba(139,92,246,0.15),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 50px rgba(139,92,246,0.12) !important;
}

[data-theme="dark"] .pc-featured {
    background: linear-gradient(160deg, rgba(30,20,60,0.9) 0%, rgba(17,24,39,0.95) 100%) !important;
    box-shadow:
        0 0 0 1px rgba(139,92,246,0.15),
        0 20px 60px rgba(0,0,0,0.5),
        0 0 50px rgba(139,92,246,0.12) !important;
}

.pc-featured:hover {
    transform: scale(1.02) translateY(-4px) !important;
}

/* Pro glow blob */
.pc-pro-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Popular badge */
.pc-popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(99,102,241,0.4);
}

/* ----- Card header ----- */
.pc-header {
    margin-bottom: 28px;
}

.pc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.pc-icon--free    { background: rgba(107,114,128,0.15); color: #9ca3af; border-color: rgba(107,114,128,0.2); }
.pc-icon--starter { background: rgba(16,185,129,0.15);  color: #34d399; border-color: rgba(16,185,129,0.25); }
.pc-icon--pro     { background: rgba(139,92,246,0.15);  color: #a78bfa; border-color: rgba(139,92,246,0.3); }
.pc-icon--agency  { background: rgba(59,130,246,0.15);  color: #60a5fa; border-color: rgba(59,130,246,0.25); }

.pc-plan-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.pc-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ----- Price display ----- */
.pc-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.pc-price__amount {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
    color: var(--text);
}

.pc-price__period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pc-price-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

/* ----- Feature list ----- */
.pc-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 32px;
}

.pc-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.pc-feature strong {
    color: var(--text);
}

.pc-feature--muted {
    opacity: 0.5;
}

/* Check marks */
.pc-check, .pc-x {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.pc-check--dim    { background: rgba(107,114,128,0.12); color: #9ca3af; }
.pc-check--green  { background: rgba(16,185,129,0.15);  color: #34d399; }
.pc-check--purple { background: rgba(139,92,246,0.18);  color: #a78bfa; }
.pc-check--indigo { background: rgba(59,130,246,0.15);  color: #60a5fa; }

.pc-x {
    background: rgba(107,114,128,0.08);
    color: #4b5563;
}

/* ----- CTA buttons ----- */
.pc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.pc-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -50%;
    width: 200%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s ease;
    opacity: 0;
}

.pc-btn:hover::after { left: 125%; opacity: 1; }

.pc-btn--ghost {
    background: rgba(255,255,255,0.04);
    border-color: var(--border);
    color: var(--text);
}
.pc-btn--ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.pc-btn--green {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16,185,129,0.25);
}
.pc-btn--green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16,185,129,0.4);
}

.pc-btn--pro {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 60%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.35);
    font-size: 0.95rem;
}
.pc-btn--pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(99,102,241,0.5);
}

.pc-btn--indigo {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59,130,246,0.25);
}
.pc-btn--indigo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}

.pc-btn--active {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.3);
    color: #34d399;
    cursor: default;
}

/* ----- Guarantee strip ----- */
.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.guarantee-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.comparison-section {
    border-top: 1px solid var(--border);
    background: var(--surface-bg);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .comparison-table-wrapper {
    border-color: var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

[data-theme="dark"] .comparison-table {
    background: rgba(17,24,39,0.5);
}

.comparison-table thead tr {
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    padding: 20px 24px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: center;
}

.comparison-table th.ct-feature-col {
    text-align: left;
    color: var(--text);
    width: 28%;
}

.comparison-table th.ct-featured {
    background: rgba(99,102,241,0.08);
    color: #a78bfa;
    border-left: 1px solid rgba(99,102,241,0.2);
    border-right: 1px solid rgba(99,102,241,0.2);
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .comparison-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

[data-theme="dark"] .comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.025);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    color: var(--text-muted);
    vertical-align: middle;
}

.comparison-table td.ct-feature-col {
    text-align: left;
    color: var(--text);
    font-weight: 600;
    font-size: 0.875rem;
}

.comparison-table td.ct-featured {
    background: rgba(99,102,241,0.06);
    border-left: 1px solid rgba(99,102,241,0.15);
    border-right: 1px solid rgba(99,102,241,0.15);
}

.ct-yes { color: #34d399; font-weight: 700; font-size: 1rem; }
.ct-no  { color: #4b5563; font-size: 1rem; }

.ct-price-row td {
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text);
}

/* ============================================================
   MODAL — Checkout
   ============================================================ */

.pricing-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pricing-modal.active {
    display: flex;
}

.checkout-card {
    background: linear-gradient(145deg, #0d1117, #0b0f19);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 40px rgba(99,102,241,0.08);
    animation: fadeInUp 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}

.checkout-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.checkout-plan-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* ============================================================
   RESPONSIVE — PRICING
   ============================================================ */

@media (max-width: 1100px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-featured {
        transform: none;
    }
    .pc-featured:hover {
        transform: translateY(-4px) !important;
    }
}

@media (max-width: 640px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    .pricing-hero__title {
        font-size: 2.2rem;
    }
    .pricing-guarantee {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .guarantee-divider {
        width: 80px;
        height: 1px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
    .checkout-card {
        padding: 28px 20px;
    }
    .card-input-group {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   COMPREHENSIVE MOBILE ADAPTIVENESS — GLOBAL
   ============================================= */

/* Large tablet and below */
@media (max-width: 1024px) {
    .section-padding {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Tablet / Landscape phone */
@media (max-width: 768px) {
    /* Typography scale down */
    .section-padding {
        padding: 56px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Footer stacking */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    /* Auth page */
    .auth-page {
        padding: 32px 16px;
        align-items: flex-start;
    }

    .auth-card {
        padding: 32px 20px;
        max-width: 100%;
    }

    /* Dashboard layout */
    .dashboard-layout {
        padding: 32px 0;
    }

    .dashboard-box {
        padding: 24px 20px;
    }

    /* Report actions stack on mobile */
    .report-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        text-align: center;
    }

    .report-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Report meta info stack */
    .report-meta-info {
        flex-direction: column;
        gap: 10px;
    }

    /* Score widget full width on mobile */
    .report-score-widget {
        min-width: unset;
        width: 100%;
    }

    /* Checkout modal */
    .checkout-card {
        padding: 28px 16px;
        margin: 16px;
    }

    /* CTA banner */
    .cta-banner {
        padding: 40px 0;
    }

    .cta-banner h2 {
        font-size: 1.6rem;
    }

    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner__actions {
        justify-content: center;
        width: 100%;
    }

    /* Hero split section */
    .hero-split {
        padding: 56px 0 48px 0;
    }

    /* Nav link mobile font adjustments */
    .nav-links .nav-link {
        font-size: 1.05rem;
        padding: 4px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav-links .nav-link:last-of-type {
        border-bottom: none;
    }
}

/* Small phones */
@media (max-width: 480px) {
    :root {
        --header-height: 68px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-split__title {
        font-size: 1.9rem !important;
    }

    .hero-badge {
        font-size: 0.68rem;
    }

    .hero-split__desc {
        font-size: 0.95rem;
    }

    .step-card {
        padding: 32px 24px;
    }

    .benefit-card {
        padding: 24px;
    }

    .testimonial-card {
        padding: 28px 20px;
    }

    .auth-card {
        padding: 24px 16px;
    }

    .dashboard-box {
        padding: 20px 16px;
    }

    .report-header {
        padding: 32px 20px !important;
    }

    .report-body {
        padding: 28px 16px !important;
    }

    .report-section-title {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.55rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    /* Pricing hero on tiny screens */
    .pricing-hero {
        padding: 56px 0 36px 0;
    }

    .pricing-hero__title {
        font-size: 1.8rem !important;
    }

    /* Footer on tiny screens */
    .site-footer .container {
        padding: 40px 16px 24px 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Hide complex elements on mobile */
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }

    .hero-feature {
        align-items: flex-start;
    }

    /* Pricing cards stack on mobile */
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Comparison table scroll on mobile */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 600px;
    }

    /* Dashboard cards stack on mobile */
    .dashboard-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-main {
        flex-direction: column;
        gap: 20px;
    }

    /* History table scroll on mobile */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .history-table {
        min-width: 600px;
    }

    /* Hide language switcher on very small screens if needed */
    @media (max-width: 400px) {
        #langToggle {
            padding: 6px 8px;
            font-size: 0.75rem;
        }
    }

    /* Trust bar stack on mobile */
    .trust-bar {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .trust-logo {
        font-size: 0.75rem;
    }

    /* Testimonials stack on mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FAQ accordion full width on mobile */
    .faq-accordion {
        gap: 12px;
    }

    .faq-item {
        padding: 16px;
    }

    /* Form adjustments for mobile */
    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Button adjustments for mobile */
    .btn {
        min-height: 44px; /* Touch target size */
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        display: flex !important;
        align-items: center !important;
        height: 60px !important;
        padding: 0 !important;
        background-color: var(--card-bg) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .site-header .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 16px !important;
    }

    .logo {
        font-size: 1rem !important;
        flex-shrink: 0 !important;
    }

    .logo img {
        height: 38px !important;
        margin-left: 0 !important;
    }

    .site-header nav {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        flex: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 12px !important;
        align-items: center !important;
        border: none !important;
        overflow: visible !important;
    }

    /* Keep only Home and Pricing links */
    .nav-links li.nav-item-other {
        display: none !important;
    }
    
    .nav-links li.nav-item-home,
    .nav-links li.nav-item-pricing {
        display: block !important;
    }

    .nav-link {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        color: var(--text-muted) !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--text) !important;
        background: none !important;
        border: none !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .auth-nav {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    /* Hide language/theme togglers and extra buttons on mobile */
    #langToggle,
    #langDropdown,
    #themeToggle,
    .user-welcome,
    .nav-signup-btn,
    .nav-dashboard-btn {
        display: none !important;
    }

    /* Hide login link on mobile */
    .auth-nav > a.nav-link {
        display: none !important;
    }

    /* Shrink Get Started button on mobile */
    .auth-nav > a.btn-primary {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }

    /* Login/Logout Link */
    .nav-login-link {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
    }
    
    .nav-login-link:hover {
        color: var(--text) !important;
    }

    .nav-logout-btn {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .nav-logout-btn:hover {
        color: var(--text) !important;
    }

    .hero-split {
        padding-top: 80px;
    }

    .hero-split__right {
        max-width: 100%;
    }

    .dashboard-frame {
        transform: scale(0.88);
        transform-origin: top center;
        padding: 12px;
    }

    .dash-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .dash-charts {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dash-recommendation {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .auth-page {
        padding: 24px 16px;
    }

    .dashboard-page {
        padding: 24px 16px;
    }

    /* Optimization for very small screens/phones (e.g., iPhone SE, narrow viewports) */
    @media (max-width: 480px) {
        .site-header .container {
            padding: 0 8px !important;
            gap: 4px !important;
        }
        
        .logo img {
            height: 30px !important;
        }
        
        .nav-links {
            gap: 6px !important;
        }
        
        .nav-link, 
        .nav-login-link, 
        .nav-logout-btn {
            font-size: 0.78rem !important;
            padding: 4px 6px !important;
        }

        .dashboard-frame {
            transform: scale(0.78);
        }
    }
}

body.is-mobile {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body.is-mobile .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.is-mobile .nav-links {
    max-height: 80vh;
    overflow-y: auto;
}

body.is-mobile .hero-split__title {
    font-size: 2rem;
}

body.is-mobile .hero-split__desc {
    font-size: 0.9rem;
}

body.is-mobile .hero-features {
    flex-direction: column;
    gap: 8px;
}

body.is-mobile .hero-feature {
    width: 100%;
}

body.is-mobile .hero-split__ctas {
    flex-direction: column;
    width: 100%;
}

body.is-mobile .btn-hero {
    width: 100%;
    text-align: center;
}

body.is-mobile .btn-ghost-hero {
    width: 100%;
    text-align: center;
}

body.is-mobile .dashboard-frame {
    transform: scale(0.95);
}

body.is-mobile .floating-badge {
    display: none;
}


