/* ========================================
   PMTS - Professional Modular Trading System
   Main Stylesheet
   ======================================== */

/* ----------------------------------------
   Invisible Scrollbars (functional but hidden)
   ---------------------------------------- */

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Ensure html and body also have hidden scrollbars */
html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ----------------------------------------
   CSS Variables / Design Tokens
   ---------------------------------------- */
:root {
    /* Dark Mode - DEFAULT */
    --bg-primary: #030712;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.5);
    --bg-card-solid: #1e293b;

    --text-primary: #f8fafc;
    --text-secondary: #a1b1c4;
    --text-tertiary: #7a8da1;

    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-success: #22c55e;
    --accent-warning: #f59e0b;
    --accent-error: #ef4444;
    --accent-orange: #f97316;
    --accent-amber: #fbbf24;
    --accent-cyan: #06b6d4;

    --border-color: #334155;
    --border-color-light: rgba(51, 65, 85, 0.5);

    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    --gradient-fire: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #fbbf24 100%);
    --gradient-aurora: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 25%, #06b6d4 50%, #22c55e 75%, #fbbf24 100%);
    --gradient-bg: linear-gradient(180deg, #030712 0%, #0f172a 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);

    /* Typography */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-solid: #ffffff;

    --text-primary: #0f172a;
    --text-secondary: #3d4d5f;
    --text-tertiary: #576879;

    --border-color: #e2e8f0;
    --border-color-light: rgba(226, 232, 240, 0.8);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.1);
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: var(--bg-tertiary);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
}

/* ----------------------------------------
   Container
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ----------------------------------------
   Header / Navigation
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color-light);
    transition: background var(--transition-base);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: var(--text-xl);
}

.nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    position: relative;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav__logo-icon i {
    display: none;
}

.nav__logo-icon-text {
    font-size: 16px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.nav__logo-text {
    display: flex;
}

.nav__logo-letter {
    font-weight: 800;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav__logo-letter--p {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.nav__logo-letter--m {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.nav__logo-letter--t {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.nav__logo-letter--s {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

/* Logo Icon Style (shared with dashboard) */
.logo-icon {
    display: flex;
    gap: 2px;
}

.logo-letter {
    font-size: 1.25rem;
    font-weight: 800;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    transition: transform 0.2s;
}

.logo-letter:hover {
    transform: translateY(-2px);
}

.logo-p { background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%); color: white; }
.logo-m { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); color: white; }
.logo-t { background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%); color: white; }
.logo-s { background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%); color: white; }

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--text-primary);
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Dashboard Button */
.nav__dashboard-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.nav__dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
    color: white;
}

.nav__dashboard-btn i {
    font-size: 16px;
}

/* FX Blue TrackRecord Button */
.nav__fxblue-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: #22c55e;
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.nav__fxblue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
    background: #16a34a;
    color: white;
}

.nav__fxblue-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .nav__fxblue-btn span {
        display: none;
    }
    .nav__fxblue-btn {
        padding: var(--space-2);
    }
}

/* AI Analysis button in mobile menu - hidden on desktop */
.nav__menu-ai-btn {
    display: none;
}

/* AI Analysis button styling in mobile menu */
.nav__menu-ai-btn .nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    border-radius: var(--radius-lg);
    color: white !important;
    font-weight: 600;
    margin-top: var(--space-4);
}

.nav__menu-ai-btn .nav__link i {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .nav__dashboard-btn span {
        display: none;
    }
    .nav__dashboard-btn {
        padding: var(--space-2);
    }
}

/* On mobile: show AI in menu, hide AI button in nav__actions */
@media (max-width: 968px) {
    .nav__menu-ai-btn {
        display: block;
    }

    /* Hide the AI Analysis button from nav__actions on mobile */
    .nav__dashboard-btn[href="analysis.html"] {
        display: none;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-selector__btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.language-selector__btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.language-selector__btn i {
    font-size: 14px;
}

.language-selector__flag {
    font-size: 18px;
    line-height: 1;
}

.language-selector__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-2);
    min-width: 140px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

[data-theme="dark"] .language-selector__dropdown {
    background-color: #1e293b;
}

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

.language-selector__option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.language-selector__option:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.language-selector__option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.language-selector__option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
}

.theme-toggle i {
    font-size: 18px;
}

#themeIconLight {
    display: none;
}

[data-theme="light"] #themeIconDark {
    display: none;
}

[data-theme="light"] #themeIconLight {
    display: block;
}

[data-theme="light"] .theme-toggle {
    background: var(--bg-secondary);
    color: var(--accent-warning);
}

/* Mobile Toggle */
.nav__mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    color: var(--text-primary);
}

.nav__mobile-toggle i {
    font-size: 24px;
}

@media (max-width: 968px) {
    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-3) var(--space-4);
        background-color: #ffffff;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-fast);
        z-index: 999;
    }

    [data-theme="dark"] .nav__menu {
        background-color: #0f172a;
    }

    .nav__menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav__menu li {
        width: 100%;
        background-color: #ffffff;
    }

    [data-theme="dark"] .nav__menu li {
        background-color: #0f172a;
    }

    .nav__menu .nav__link {
        display: block;
        width: 100%;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-base);
        border-radius: var(--radius-md);
        text-align: center;
        background-color: transparent;
        color: var(--text-primary);
    }

    .nav__menu .nav__link:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .nav__menu .nav__link:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .nav__link {
        font-size: var(--text-lg);
    }

    .nav__mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-24) 0 var(--space-16);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero__glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}

.hero__glow-orange {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 6s ease-in-out infinite;
}

.hero__glow-cyan {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: glowFloat 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

@keyframes glowFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* Floating particles effect */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s linear infinite;
}

.hero__particle:nth-child(1) { left: 10%; animation-delay: 0s; background: var(--accent-primary); }
.hero__particle:nth-child(2) { left: 20%; animation-delay: 2s; background: var(--accent-orange); }
.hero__particle:nth-child(3) { left: 30%; animation-delay: 4s; background: var(--accent-secondary); }
.hero__particle:nth-child(4) { left: 40%; animation-delay: 1s; background: var(--accent-cyan); }
.hero__particle:nth-child(5) { left: 50%; animation-delay: 3s; background: var(--accent-amber); }
.hero__particle:nth-child(6) { left: 60%; animation-delay: 5s; background: var(--accent-success); }
.hero__particle:nth-child(7) { left: 70%; animation-delay: 2.5s; background: var(--accent-orange); }
.hero__particle:nth-child(8) { left: 80%; animation-delay: 4.5s; background: var(--accent-primary); }
.hero__particle:nth-child(9) { left: 90%; animation-delay: 1.5s; background: var(--accent-secondary); }
.hero__particle:nth-child(10) { left: 15%; animation-delay: 3.5s; background: var(--accent-amber); }

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(8px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.2); }
    50% { box-shadow: 0 0 30px rgba(249, 115, 22, 0.4); }
}

.hero__badge i {
    font-size: 16px;
    color: var(--accent-amber);
}

.hero__title {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.hero__title-acronym {
    font-size: clamp(var(--text-5xl), 10vw, 8rem);
    letter-spacing: 0.1em;
    display: flex;
    gap: var(--space-2);
}

.hero__title-letter {
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero__title-letter--p {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-letter--m {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-letter--t {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-letter--s {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-full {
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero__title-word {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title-word--p {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-word--m {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-word--t {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__title-word--s {
    background: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-12);
    line-height: 1.7;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.hero__stat {
    text-align: center;
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero__stat:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.hero__stat-value {
    font-size: var(--text-3xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.hero__stat-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.hero__stat-sub {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    animation: bounce 2s infinite;
    transition: all var(--transition-fast);
}

.hero__scroll-btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

@media (max-width: 968px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__stat-value {
        font-size: var(--text-2xl);
    }
}

/* ----------------------------------------
   Section Base
   ---------------------------------------- */
.section {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

/* Colored Section Variants */
.section--blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.section--orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, rgba(251, 191, 36, 0.04) 100%);
    border-top: 1px solid rgba(249, 115, 22, 0.15);
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
}

.section--purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.section--cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.section--gradient {
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
        var(--bg-secondary);
}

/* Section decorative elements */
.section__decoration {
    position: absolute;
    pointer-events: none;
}

.section__decoration--top-right {
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at top right, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
}

.section__decoration--bottom-left {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at bottom left, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: var(--space-4);
}

.section__badge i {
    font-size: 16px;
}

.section__title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.section__subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

/* ----------------------------------------
   Summary Section
   ---------------------------------------- */
.summary__content {
    max-width: 1000px;
    margin: 0 auto;
}

.summary__card--main {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    text-align: center;
    margin-bottom: var(--space-8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--gradient-orange);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.3);
}

.summary__icon i {
    font-size: 32px;
    color: white;
}

.summary__card--main h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.summary__card--main p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.summary__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.summary__card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.summary__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-orange);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.summary__card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.summary__card:hover::before {
    opacity: 1;
}

.summary__card:nth-child(1) .summary__card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}
.summary__card:nth-child(2) .summary__card-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    color: #a78bfa;
}
.summary__card:nth-child(3) .summary__card-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(6, 182, 212, 0.4);
    color: #22d3ee;
}
.summary__card:nth-child(4) .summary__card-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.15) 100%);
    border-color: rgba(249, 115, 22, 0.4);
    color: #fb923c;
}

.summary__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.15) 100%);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: #fb923c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary__card-icon i {
    font-size: 26px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.summary__card h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.summary__card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@media (max-width: 968px) {
    .summary__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .summary__grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   Performance / Metrics
   ---------------------------------------- */
.metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.metric-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.metric-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.metric-card:hover::after {
    transform: scaleX(1);
}

/* Alternate card colors */
.metric-card:nth-child(2)::after { background: var(--gradient-primary); }
.metric-card:nth-child(3)::after { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); }
.metric-card:nth-child(4)::after { background: var(--gradient-orange); }
.metric-card:nth-child(5)::after { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); }
.metric-card:nth-child(6)::after { background: var(--gradient-success); }
.metric-card:nth-child(7)::after { background: var(--gradient-success); }
.metric-card:nth-child(8)::after { background: var(--gradient-primary); }

.metric-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.metric-card__icon--success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.15) 100%);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.metric-card__icon--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0.15) 100%);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.metric-card__icon--orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3) 0%, rgba(249, 115, 22, 0.15) 100%);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.metric-card__icon--cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(6, 182, 212, 0.15) 100%);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.metric-card__icon--purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.metric-card__icon i {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.metric-card__value {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.metric-card__label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.metric-card__tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    background: rgba(100, 116, 139, 0.25);
    border: 1px solid rgba(100, 116, 139, 0.4);
    border-radius: var(--radius-full);
    color: #b4c4d4;
}

.metric-card__tag--good {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    color: #7cb8ff;
}

.metric-card__tag--excellent {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
    color: #6ee7a3;
}

/* Light mode - metric card tags need darker colors for contrast */
[data-theme="light"] .metric-card__tag {
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.3);
    color: #475569;
}

[data-theme="light"] .metric-card__tag--good {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #2563eb;
}

[data-theme="light"] .metric-card__tag--excellent {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #16a34a;
}

@media (max-width: 1024px) {
    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .metrics__grid {
        grid-template-columns: 1fr;
    }
}

/* Chart Card */
.chart-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chart-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.chart-card__header h3 {
    font-size: var(--text-lg);
    font-weight: 600;
}

.chart-card__legend {
    display: flex;
    gap: var(--space-4);
}

.chart-card__legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.chart-card__legend-item::before {
    content: '';
    width: 12px;
    height: 3px;
    border-radius: 2px;
}

.chart-card__legend-item--primary::before {
    background: var(--accent-primary);
}

.chart-card__legend-item--secondary::before {
    background: var(--text-tertiary);
}

#equityChart {
    height: 350px;
}

/* Backtesting */
.backtesting {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.backtesting__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
    text-align: center;
}

.backtesting__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.backtesting__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.06) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.backtesting__item:hover {
    border-color: rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

.backtesting__item i {
    color: #4ade80;
    font-size: 18px;
    filter: drop-shadow(0 1px 3px rgba(34, 197, 94, 0.3));
}

@media (max-width: 968px) {
    .backtesting__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .backtesting__grid {
        grid-template-columns: 1fr;
    }
}

/* Disclaimer */
.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-left: 4px solid var(--accent-orange);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.disclaimer i {
    color: var(--accent-orange);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.5));
}

.disclaimer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ----------------------------------------
   Technology Section
   ---------------------------------------- */
.tech__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.tech__stat {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.tech__stat:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.tech__stat-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.tech__stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.tech__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.tech__feature {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tech__feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.tech__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.12) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-md);
    color: #60a5fa;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.tech__feature-icon i {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Tech feature icon color variants */
.tech__feature:nth-child(1) .tech__feature-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.12) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.tech__feature:nth-child(2) .tech__feature-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.tech__feature:nth-child(3) .tech__feature-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0.12) 100%);
    border-color: rgba(249, 115, 22, 0.4);
    color: #fb923c;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.tech__feature:nth-child(4) .tech__feature-icon {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.12) 100%);
    border-color: rgba(6, 182, 212, 0.4);
    color: #22d3ee;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.tech__feature h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.tech__feature p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@media (max-width: 968px) {
    .tech__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech__features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tech__stats {
        grid-template-columns: 1fr;
    }
}

/* Bots Table */
.bots {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bots__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.bots__table-wrapper {
    overflow-x: auto;
}

.bots__table {
    width: 100%;
    border-collapse: collapse;
}

.bots__table th,
.bots__table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.bots__table th {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bots__table td {
    font-size: var(--text-sm);
}

.bots__table tr:last-child td {
    border-bottom: none;
}

.bots__table tr:hover {
    background: var(--bg-tertiary);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
}

.status--active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-success);
}

.status--active::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ----------------------------------------
   Architecture / Layers
   ---------------------------------------- */
.layers {
    max-width: 700px;
    margin: 0 auto;
}

.layer {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-6);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.layer:hover {
    border-color: var(--accent-primary);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.layer__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.layer__content {
    flex: 1;
}

.layer__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.layer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.layer__list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.layer__list i {
    color: #4ade80;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.layer__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) 0;
    color: var(--text-tertiary);
}

.layer__connector i {
    font-size: 24px;
}

/* ----------------------------------------
   Risk Management
   ---------------------------------------- */
.risk__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.risk__card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.risk__card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.risk__card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.risk__card-header i {
    font-size: 24px;
    color: #60a5fa;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

/* Risk card icon color variants */
.risk__card:nth-child(1) .risk__card-header i {
    color: #60a5fa;
}

.risk__card:nth-child(2) .risk__card-header i {
    color: #fb923c;
    filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3));
}

.risk__card:nth-child(3) .risk__card-header i {
    color: #4ade80;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.risk__card-header h4 {
    font-size: var(--text-base);
    font-weight: 600;
}

.risk__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.risk__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.risk__list i {
    color: #4ade80;
    font-size: 16px;
    margin-top: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.risk__failsafe {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.risk__failsafe h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.risk__failsafe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.risk__failsafe-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.risk__failsafe-item:hover {
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.risk__failsafe-item i {
    font-size: 24px;
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.risk__failsafe-item span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-align: center;
}

@media (max-width: 968px) {
    .risk__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .risk__failsafe-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   Infrastructure
   ---------------------------------------- */
.infra__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.infra__card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.infra__card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.infra__card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.infra__card-header i {
    font-size: 18px;
    color: #60a5fa;
    filter: drop-shadow(0 1px 3px rgba(59, 130, 246, 0.3));
}

/* Infra card icon color variants */
.infra__card:nth-child(1) .infra__card-header i { color: #60a5fa; }
.infra__card:nth-child(2) .infra__card-header i { color: #4ade80; }
.infra__card:nth-child(3) .infra__card-header i { color: #fb923c; }
.infra__card:nth-child(4) .infra__card-header i { color: #a78bfa; }
.infra__card:nth-child(5) .infra__card-header i { color: #22d3ee; }
.infra__card:nth-child(6) .infra__card-header i { color: #f87171; }

.infra__card-value {
    font-size: var(--text-base);
    font-weight: 600;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .infra__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .infra__grid {
        grid-template-columns: 1fr;
    }
}

/* MT5 Integration */
.mt5 {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mt5__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
    text-align: center;
}

.mt5__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.mt5__item {
    text-align: center;
}

.mt5__item-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: var(--space-2);
}

.mt5__item-value i {
    font-size: 28px;
    color: #4ade80;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.mt5__item-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .mt5__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------
   Security Section
   ---------------------------------------- */
.security__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.security__certifications,
.security__jurisdictions {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.security__certifications h4,
.security__jurisdictions h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.security__badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.security__badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.security__badge:hover {
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.security__badge i {
    font-size: 24px;
    color: #4ade80;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.3));
}

.security__badge span {
    font-size: var(--text-sm);
    font-weight: 600;
}

.security__jurisdiction-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.security__jurisdiction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.security__jurisdiction:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.security__jurisdiction-name {
    font-size: var(--text-sm);
    font-weight: 500;
}

.security__jurisdiction-status {
    font-size: var(--text-xs);
    color: #fbbf24;
    font-weight: 600;
}

.security__features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.security__feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.security__feature:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.security__feature i {
    color: #60a5fa;
    font-size: 18px;
    filter: drop-shadow(0 1px 3px rgba(59, 130, 246, 0.3));
}

/* Security feature icon color variants */
.security__feature:nth-child(1) i { color: #60a5fa; }
.security__feature:nth-child(2) i { color: #a78bfa; }
.security__feature:nth-child(3) i { color: #4ade80; }
.security__feature:nth-child(4) i { color: #fb923c; }

@media (max-width: 768px) {
    .security__grid {
        grid-template-columns: 1fr;
    }

    .security__badges {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   Timeline
   ---------------------------------------- */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    top: calc(var(--space-8) + 24px);
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
}

.timeline__item {
    position: relative;
    flex: 1;
    text-align: center;
}

.timeline__marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto var(--space-6);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.timeline__item--completed .timeline__marker {
    background: var(--accent-success);
    border-color: var(--accent-success);
    color: white;
}

.timeline__item--active .timeline__marker {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.timeline__content {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin: 0 var(--space-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.timeline__item:hover .timeline__content {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.timeline__date {
    font-size: var(--text-xs);
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.timeline__title {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.timeline__desc {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        gap: var(--space-4);
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline__item {
        display: flex;
        gap: var(--space-4);
        text-align: left;
    }

    .timeline__marker {
        margin: 0;
        flex-shrink: 0;
    }

    .timeline__content {
        flex: 1;
        margin: 0;
    }
}

/* ----------------------------------------
   Team Section
   ---------------------------------------- */
.team__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.team__stat {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team__stat:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.team__stat-value {
    font-size: var(--text-4xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.team__stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@media (max-width: 968px) {
    .team__stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team__stats {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-16) 0 var(--space-8);
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 700;
}

.footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer__logo-icon i {
    display: none;
}

.footer__logo-icon-text {
    font-size: 18px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.footer__logo-text {
    display: flex;
}

.footer__logo-letter {
    font-weight: 800;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__logo-letter--p {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.footer__logo-letter--m {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.footer__logo-letter--t {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.footer__logo-letter--s {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.footer__tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-2);
}

.footer__links {
    display: flex;
    gap: var(--space-8);
}

.footer__links a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--text-primary);
}

.footer__disclaimer {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-8);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(251, 191, 36, 0.08) 50%, rgba(239, 68, 68, 0.06) 100%);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-left: 5px solid var(--accent-orange);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
}

.footer__disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top left, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer__disclaimer i {
    color: var(--accent-orange);
    font-size: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.6));
    animation: warningPulse 2s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.footer__disclaimer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.footer__disclaimer strong {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__bottom {
    text-align: center;
}

.footer__bottom p {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.footer__powered-by {
    display: none;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
    opacity: 0.7;
}

.footer__powered-by a {
    color: var(--color-primary, #6366f1);
    text-decoration: none;
}

.footer__powered-by a:hover {
    text-decoration: underline;
}

.is-tenant .footer__powered-by {
    display: block;
}

@media (max-width: 768px) {
    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   Premium UX for small screens
   ======================================== */

/* ----------------------------------------
   Mobile Typography Scale
   ---------------------------------------- */
@media (max-width: 480px) {
    :root {
        --text-5xl: 2.25rem;
        --text-6xl: 2.75rem;
    }
}

/* ----------------------------------------
   Mobile Header Optimizations
   ---------------------------------------- */
@media (max-width: 480px) {
    .nav {
        height: 64px;
    }

    .logo-letter {
        font-size: 1rem;
        padding: 0.2rem 0.3rem;
        border-radius: 4px;
    }

    .nav__actions {
        gap: var(--space-2);
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .theme-toggle i {
        font-size: 16px;
    }

    .language-selector__btn {
        padding: var(--space-2);
    }

    .language-selector__btn #currentLang {
        display: none;
    }

    .language-selector__btn i[data-lucide="chevron-down"] {
        display: none;
    }

    .nav__dashboard-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
    }

    .nav__dashboard-btn i {
        font-size: 18px;
    }
}

/* ----------------------------------------
   Mobile Hero Optimizations
   ---------------------------------------- */
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: calc(64px + var(--space-8)) 0 var(--space-12);
    }

    .hero__content {
        padding: 0 var(--space-2);
    }

    .hero__badge {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
        margin-bottom: var(--space-4);
    }

    .hero__badge i {
        font-size: 14px;
    }

    .hero__title {
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .hero__title-acronym {
        font-size: clamp(2.5rem, 15vw, 4rem);
        letter-spacing: 0.05em;
        gap: var(--space-1);
    }

    .hero__title-full {
        font-size: var(--text-base);
        padding: 0 var(--space-2);
    }

    .hero__subtitle {
        font-size: var(--text-sm);
        margin: 0 auto var(--space-8);
        padding: 0 var(--space-2);
        line-height: 1.6;
    }

    .hero__stats {
        gap: var(--space-3);
        margin-top: var(--space-8);
    }

    .hero__stat {
        padding: var(--space-4);
    }

    .hero__stat-value {
        font-size: var(--text-xl);
    }

    .hero__stat-label {
        font-size: var(--text-xs);
    }

    .hero__stat-sub {
        font-size: 0.65rem;
    }

    .hero__scroll {
        display: none;
    }

    /* Reduce glow effects on mobile for performance */
    .hero__glow {
        width: 100%;
        height: 300px;
        opacity: 0.6;
    }

    .hero__glow-orange,
    .hero__glow-cyan {
        display: none;
    }

    .hero__particles {
        display: none;
    }
}

/* ----------------------------------------
   Mobile Section Optimizations
   ---------------------------------------- */
@media (max-width: 480px) {
    .section {
        padding: var(--space-12) 0;
    }

    .section__header {
        margin-bottom: var(--space-8);
        padding: 0 var(--space-2);
    }

    .section__badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
    }

    .section__badge i {
        font-size: 14px;
    }

    .section__title {
        font-size: var(--text-xl);
        line-height: 1.3;
    }

    .section__subtitle {
        font-size: var(--text-sm);
    }

    /* Hide decorative elements on mobile */
    .section__decoration {
        display: none;
    }
}

/* ----------------------------------------
   Mobile Summary Section
   ---------------------------------------- */
@media (max-width: 480px) {
    .summary__card--main {
        padding: var(--space-6);
        margin-bottom: var(--space-6);
    }

    .summary__icon {
        width: 56px;
        height: 56px;
        margin-bottom: var(--space-4);
    }

    .summary__icon i {
        font-size: 24px;
    }

    .summary__card--main h3 {
        font-size: var(--text-lg);
    }

    .summary__card--main p {
        font-size: var(--text-sm);
    }

    .summary__grid {
        gap: var(--space-3);
    }

    .summary__card {
        padding: var(--space-4);
    }

    .summary__card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: var(--space-3);
    }

    .summary__card-icon i {
        font-size: 20px;
    }

    .summary__card h4 {
        font-size: var(--text-sm);
    }

    .summary__card p {
        font-size: var(--text-xs);
    }
}

/* ----------------------------------------
   Mobile Metrics Section
   ---------------------------------------- */
@media (max-width: 480px) {
    .metrics__grid {
        gap: var(--space-3);
    }

    .metric-card {
        padding: var(--space-4);
    }

    .metric-card__icon {
        width: 44px;
        height: 44px;
        margin-bottom: var(--space-3);
    }

    .metric-card__icon i {
        font-size: 20px;
    }

    .metric-card__value {
        font-size: var(--text-xl);
    }

    .metric-card__label {
        font-size: var(--text-xs);
    }

    .metric-card__tag {
        font-size: 0.65rem;
        padding: 2px var(--space-2);
    }

    /* Chart card mobile */
    .chart-card {
        padding: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .chart-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .chart-card__header h3 {
        font-size: var(--text-base);
    }

    .chart-card__legend {
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .chart-card__legend-item {
        font-size: var(--text-xs);
    }

    #equityChart {
        height: 250px;
    }

    /* Backtesting mobile */
    .backtesting {
        padding: var(--space-5);
        margin-bottom: var(--space-6);
    }

    .backtesting__title {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .backtesting__item {
        padding: var(--space-3);
        font-size: var(--text-xs);
    }

    .backtesting__item i {
        font-size: 16px;
    }

    /* Disclaimer mobile */
    .disclaimer {
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .disclaimer i {
        font-size: 20px;
    }

    .disclaimer p {
        font-size: var(--text-xs);
    }
}

/* ----------------------------------------
   Mobile Technology Section
   ---------------------------------------- */
@media (max-width: 480px) {
    .tech__stats {
        gap: var(--space-3);
        margin-bottom: var(--space-8);
    }

    .tech__stat {
        padding: var(--space-5);
    }

    .tech__stat-value {
        font-size: var(--text-2xl);
    }

    .tech__stat-label {
        font-size: var(--text-xs);
    }

    .tech__feature {
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .tech__feature-icon {
        width: 40px;
        height: 40px;
    }

    .tech__feature-icon i {
        font-size: 20px;
    }

    .tech__feature h4 {
        font-size: var(--text-sm);
    }

    .tech__feature p {
        font-size: var(--text-xs);
    }

    /* Bots table mobile */
    .bots {
        padding: var(--space-4);
    }

    .bots__title {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .bots__table th,
    .bots__table td {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    .bots__table th {
        font-size: 0.65rem;
    }

    .status {
        font-size: 0.6rem;
        padding: 2px var(--space-2);
    }
}

/* ----------------------------------------
   Mobile Architecture/Layers
   ---------------------------------------- */
@media (max-width: 480px) {
    .layers {
        padding: 0 var(--space-2);
    }

    .layer {
        padding: var(--space-4);
        gap: var(--space-4);
    }

    .layer__number {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }

    .layer__title {
        font-size: var(--text-base);
        margin-bottom: var(--space-2);
    }

    .layer__list li {
        font-size: var(--text-xs);
    }

    .layer__list i {
        font-size: 14px;
    }

    .layer__connector {
        padding: var(--space-2) 0;
    }

    .layer__connector i {
        font-size: 20px;
    }
}

/* ----------------------------------------
   Mobile Risk Management
   ---------------------------------------- */
@media (max-width: 480px) {
    .risk__grid {
        gap: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .risk__card {
        padding: var(--space-4);
    }

    .risk__card-header {
        margin-bottom: var(--space-3);
    }

    .risk__card-header i {
        font-size: 20px;
    }

    .risk__card-header h4 {
        font-size: var(--text-sm);
    }

    .risk__list {
        gap: var(--space-2);
    }

    .risk__list li {
        font-size: var(--text-xs);
    }

    .risk__list i {
        font-size: 14px;
    }

    .risk__failsafe {
        padding: var(--space-5);
    }

    .risk__failsafe h4 {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .risk__failsafe-grid {
        gap: var(--space-3);
    }

    .risk__failsafe-item {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .risk__failsafe-item i {
        font-size: 20px;
    }

    .risk__failsafe-item span {
        font-size: var(--text-xs);
    }
}

/* ----------------------------------------
   Mobile Infrastructure
   ---------------------------------------- */
@media (max-width: 480px) {
    .infra__grid {
        gap: var(--space-3);
        margin-bottom: var(--space-8);
    }

    .infra__card {
        padding: var(--space-4);
    }

    .infra__card-header {
        font-size: var(--text-xs);
        margin-bottom: var(--space-2);
    }

    .infra__card-header i {
        font-size: 16px;
    }

    .infra__card-value {
        font-size: var(--text-sm);
    }

    /* MT5 mobile */
    .mt5 {
        padding: var(--space-5);
    }

    .mt5__title {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .mt5__grid {
        gap: var(--space-4);
    }

    .mt5__item-value {
        font-size: var(--text-lg);
    }

    .mt5__item-value i {
        font-size: 24px;
    }

    .mt5__item-label {
        font-size: var(--text-xs);
    }
}

/* ----------------------------------------
   Mobile Security Section
   ---------------------------------------- */
@media (max-width: 480px) {
    .security__grid {
        gap: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .security__certifications,
    .security__jurisdictions {
        padding: var(--space-4);
    }

    .security__certifications h4,
    .security__jurisdictions h4 {
        font-size: var(--text-base);
        margin-bottom: var(--space-4);
    }

    .security__badges {
        gap: var(--space-3);
    }

    .security__badge {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .security__badge i {
        font-size: 20px;
    }

    .security__badge span {
        font-size: var(--text-xs);
    }

    .security__jurisdiction {
        padding: var(--space-2) var(--space-3);
    }

    .security__jurisdiction-name {
        font-size: var(--text-xs);
    }

    .security__jurisdiction-status {
        font-size: 0.6rem;
    }

    .security__features {
        gap: var(--space-2);
    }

    .security__feature {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    .security__feature i {
        font-size: 16px;
    }
}

/* ----------------------------------------
   Mobile Timeline
   ---------------------------------------- */
@media (max-width: 480px) {
    .timeline {
        padding-top: var(--space-4);
    }

    .timeline__marker {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }

    .timeline__content {
        padding: var(--space-3);
    }

    .timeline__date {
        font-size: 0.65rem;
    }

    .timeline__title {
        font-size: var(--text-xs);
    }

    .timeline__desc {
        font-size: 0.65rem;
    }
}

/* ----------------------------------------
   Mobile Team Section
   ---------------------------------------- */
@media (max-width: 480px) {
    .team__stats {
        gap: var(--space-3);
    }

    .team__stat {
        padding: var(--space-5);
    }

    .team__stat-value {
        font-size: var(--text-2xl);
    }

    .team__stat-label {
        font-size: var(--text-xs);
    }
}

/* ----------------------------------------
   Mobile Footer
   ---------------------------------------- */
@media (max-width: 480px) {
    .footer {
        padding: var(--space-10) 0 var(--space-6);
    }

    .footer__content {
        gap: var(--space-4);
        margin-bottom: var(--space-6);
        padding-bottom: var(--space-6);
    }

    .footer__brand .logo-icon {
        justify-content: center;
    }

    .footer__brand .logo-letter {
        font-size: 1rem;
    }

    .footer__tagline {
        font-size: var(--text-xs);
    }

    .footer__links {
        gap: var(--space-3);
    }

    .footer__links a {
        font-size: var(--text-xs);
    }

    .footer__disclaimer {
        padding: var(--space-4);
        gap: var(--space-3);
        margin-bottom: var(--space-6);
        flex-direction: column;
        text-align: center;
    }

    .footer__disclaimer i {
        font-size: 24px;
    }

    .footer__disclaimer p {
        font-size: var(--text-xs);
        line-height: 1.6;
    }

    .footer__bottom p {
        font-size: var(--text-xs);
    }
}

/* ----------------------------------------
   Touch-friendly improvements
   ---------------------------------------- */
@media (max-width: 768px) {
    /* Increase tap targets */
    .nav__link {
        padding: var(--space-3) var(--space-2);
    }

    button,
    a[href] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Smooth scroll behavior */
    html {
        scroll-padding-top: 72px;
    }

    /* Better text readability */
    body {
        -webkit-text-size-adjust: 100%;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    /* Card hover effects - disable on touch */
    @media (hover: none) {
        .hero__stat:hover,
        .summary__card:hover,
        .metric-card:hover,
        .tech__stat:hover,
        .tech__feature:hover,
        .layer:hover,
        .risk__card:hover,
        .infra__card:hover,
        .team__stat:hover,
        .timeline__item:hover .timeline__content,
        .security__badge:hover,
        .security__feature:hover,
        .risk__failsafe-item:hover,
        .backtesting__item:hover {
            transform: none;
            box-shadow: inherit;
        }
    }
}

/* ----------------------------------------
   Small Tablet Optimizations (481-768px)
   ---------------------------------------- */
@media (min-width: 481px) and (max-width: 768px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .hero__stat {
        padding: var(--space-5);
    }

    .hero__stat-value {
        font-size: var(--text-2xl);
    }

    .summary__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .metrics__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

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

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

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

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

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

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

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

/* ----------------------------------------
   Performance optimizations for mobile
   ---------------------------------------- */
@media (max-width: 768px) {
    /* Reduce animations */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Simplify backdrop-filter on low-end devices */
    .header {
        backdrop-filter: blur(8px);
    }

    /* Reduce box-shadows */
    .hero__stat,
    .summary__card,
    .metric-card,
    .chart-card,
    .tech__stat,
    .tech__feature,
    .layer,
    .risk__card,
    .infra__card,
    .mt5,
    .team__stat,
    .bots,
    .backtesting,
    .security__certifications,
    .security__jurisdictions,
    .timeline__content,
    .risk__failsafe {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* ----------------------------------------
   AI Analysis Promo Section
   ---------------------------------------- */
.ai-analysis-promo {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(249, 115, 22, 0.1) 0%,
        rgba(251, 191, 36, 0.1) 25%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(6, 182, 212, 0.1) 75%,
        rgba(34, 197, 94, 0.1) 100%);
}

.ai-analysis-promo__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.ai-analysis-promo__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: pulseGlow 4s ease-in-out infinite;
}

.ai-analysis-promo__glow--1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    top: -200px;
    left: -100px;
}

.ai-analysis-promo__glow--2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    bottom: -150px;
    right: -100px;
    animation-delay: -2s;
}

.ai-analysis-promo__grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(249, 115, 22, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.ai-analysis-promo__content {
    position: relative;
    z-index: 1;
}

.ai-analysis-promo__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 191, 36, 0.2));
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 100px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1.5rem;
    animation: shimmer 3s ease-in-out infinite;
}

.ai-analysis-promo__badge i {
    width: 16px;
    height: 16px;
    color: #f97316;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
    50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.5); }
}

.ai-analysis-promo__main {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.ai-analysis-promo__title {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ai-analysis-promo__highlight {
    background: linear-gradient(135deg, #f97316, #fbbf24, #f97316);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.ai-analysis-promo__subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}

.ai-analysis-promo__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.ai-analysis-promo__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.ai-analysis-promo__feature:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

.ai-analysis-promo__feature i {
    width: 20px;
    height: 20px;
    color: #f97316;
}

.ai-analysis-promo__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.ai-analysis-promo__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.ai-analysis-promo__btn i {
    width: 20px;
    height: 20px;
}

.ai-analysis-promo__btn i:last-child {
    transition: transform 0.3s ease;
}

.ai-analysis-promo__btn:hover i:last-child {
    transform: translateX(4px);
}

/* Visual Card */
.ai-analysis-promo__visual {
    display: flex;
    justify-content: center;
}

.ai-analysis-promo__card {
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(249, 115, 22, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ai-analysis-promo__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 191, 36, 0.1));
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.ai-analysis-promo__symbol {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.ai-analysis-promo__signal {
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-analysis-promo__signal--buy {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

.ai-analysis-promo__card-body {
    padding: 1.5rem;
}

.ai-analysis-promo__meter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-analysis-promo__meter-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    min-width: 80px;
}

.ai-analysis-promo__meter-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
}

.ai-analysis-promo__meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #fbbf24);
    border-radius: 100px;
    animation: fillMeter 2s ease-out forwards;
}

@keyframes fillMeter {
    from { width: 0; }
}

.ai-analysis-promo__meter-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fbbf24;
    min-width: 40px;
    text-align: right;
}

.ai-analysis-promo__scores {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-analysis-promo__score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

.ai-analysis-promo__score-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.ai-analysis-promo__score-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
}

.ai-analysis-promo__score-value--high {
    color: #22c55e;
}

.ai-analysis-promo__card-footer {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color-light);
}

.ai-analysis-promo__assets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ai-analysis-promo__asset {
    padding: 0.25rem 0.625rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.ai-analysis-promo__asset-more {
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(251, 191, 36, 0.3));
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    color: #fbbf24;
}

/* Nav link highlight for AI Analysis */
.nav__link--highlight {
    color: #f97316 !important;
    font-weight: 600;
    position: relative;
}

.nav__link--highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #fbbf24);
    border-radius: 2px;
}

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

    .ai-analysis-promo__visual {
        order: -1;
    }

    .ai-analysis-promo__card {
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .ai-analysis-promo {
        padding: 3rem 0;
    }

    .ai-analysis-promo__title {
        font-size: var(--text-2xl);
    }

    .ai-analysis-promo__features {
        grid-template-columns: 1fr;
    }

    .ai-analysis-promo__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ai-analysis-promo__card {
        max-width: 100%;
    }

    .ai-analysis-promo__glow--1 {
        width: 300px;
        height: 300px;
    }

    .ai-analysis-promo__glow--2 {
        width: 250px;
        height: 250px;
    }
}

/* Light mode adjustments */
[data-theme="light"] .ai-analysis-promo {
    background: linear-gradient(135deg,
        rgba(249, 115, 22, 0.08) 0%,
        rgba(251, 191, 36, 0.08) 25%,
        rgba(139, 92, 246, 0.08) 50%,
        rgba(6, 182, 212, 0.08) 75%,
        rgba(34, 197, 94, 0.08) 100%);
}

[data-theme="light"] .ai-analysis-promo__glow {
    opacity: 0.3;
}

[data-theme="light"] .ai-analysis-promo__badge {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.15));
    color: #c2410c;
}

[data-theme="light"] .ai-analysis-promo__badge i {
    color: #ea580c;
}

[data-theme="light"] .ai-analysis-promo__feature {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .ai-analysis-promo__card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(249, 115, 22, 0.2);
}

/* ----------------------------------------
   Whitepaper CTA Section
   ---------------------------------------- */
.whitepaper-cta {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
}

.whitepaper-cta__wrapper {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(139, 92, 246, 0.06) 50%,
        rgba(6, 182, 212, 0.04) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
}

.whitepaper-cta__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.whitepaper-cta__content {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    position: relative;
    z-index: 1;
}

.whitepaper-cta__icon-wrapper {
    flex-shrink: 0;
}

/* Document visual - stacked pages effect */
.whitepaper-cta__document {
    position: relative;
    width: 140px;
    height: 180px;
    perspective: 1000px;
}

.whitepaper-cta__page {
    position: absolute;
    width: 120px;
    height: 160px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.whitepaper-cta__page--back {
    transform: rotate(-6deg) translateX(-8px);
    opacity: 0.6;
}

.whitepaper-cta__page--middle {
    transform: rotate(-3deg) translateX(-4px);
    opacity: 0.8;
}

.whitepaper-cta__page--front {
    transform: rotate(0deg);
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-3);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.whitepaper-cta__wrapper:hover .whitepaper-cta__page--back {
    transform: rotate(-10deg) translateX(-12px) translateY(-4px);
}

.whitepaper-cta__wrapper:hover .whitepaper-cta__page--middle {
    transform: rotate(-5deg) translateX(-6px) translateY(-2px);
}

.whitepaper-cta__wrapper:hover .whitepaper-cta__page--front {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.whitepaper-cta__page-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.whitepaper-cta__page-lines span {
    height: 6px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    border-radius: 3px;
}

.whitepaper-cta__page-lines span:nth-child(1) { width: 90%; }
.whitepaper-cta__page-lines span:nth-child(2) { width: 100%; }
.whitepaper-cta__page-lines span:nth-child(3) { width: 75%; }
.whitepaper-cta__page-lines span:nth-child(4) { width: 85%; }
.whitepaper-cta__page-lines span:nth-child(5) { width: 60%; }

.whitepaper-cta__page-chart {
    padding-top: var(--space-2);
    border-top: 1px solid #e2e8f0;
}

.whitepaper-cta__page-chart svg {
    width: 100%;
    height: 24px;
    color: var(--accent-primary);
}

/* Dark mode document */
[data-theme="dark"] .whitepaper-cta__page {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .whitepaper-cta__page-lines span {
    background: linear-gradient(90deg, #334155 0%, #475569 50%, #334155 100%);
}

[data-theme="dark"] .whitepaper-cta__page-chart {
    border-top-color: #334155;
}

/* Text content */
.whitepaper-cta__text {
    flex: 1;
}

.whitepaper-cta__label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
}

.whitepaper-cta__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.whitepaper-cta__description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    max-width: 600px;
}

.whitepaper-cta__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.whitepaper-cta__meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.whitepaper-cta__meta-item i {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

/* Button */
.whitepaper-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.whitepaper-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.whitepaper-cta__btn i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.whitepaper-cta__btn:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .whitepaper-cta__content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }

    .whitepaper-cta__text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .whitepaper-cta__meta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .whitepaper-cta__wrapper {
        padding: var(--space-6);
    }

    .whitepaper-cta__document {
        width: 110px;
        height: 140px;
    }

    .whitepaper-cta__page {
        width: 95px;
        height: 125px;
    }

    .whitepaper-cta__page--front {
        padding: var(--space-3);
    }

    .whitepaper-cta__title {
        font-size: var(--text-xl);
    }

    .whitepaper-cta__description {
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .whitepaper-cta {
        padding: var(--space-10) 0;
    }

    .whitepaper-cta__wrapper {
        padding: var(--space-5);
    }

    .whitepaper-cta__meta {
        flex-direction: column;
        gap: var(--space-2);
    }

    .whitepaper-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------
   WhatsApp Floating Button
   ---------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__btn:active {
    transform: scale(0.95);
}

.whatsapp-float__btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Tooltip on hover */
.whatsapp-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--bg-card-solid, #1e293b);
    color: var(--text-primary, #f8fafc);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bg-card-solid, #1e293b);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse animation */
.whatsapp-float__btn::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float__btn {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float__btn::before {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float__btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }
}

/* ============================================
   CTA BUTTONS - Conversion-Optimized Design
   ============================================ */

/* Hero CTA Container */
.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Section CTA Container */
.section-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.section-cta__text {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 480px;
    line-height: 1.6;
    margin: 0;
}

/* Base CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cta-btn i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cta-btn i:last-child {
    transition: transform 0.3s ease;
}

.cta-btn:hover i:last-child {
    transform: translateX(4px);
}

/* Primary CTA — Bold green gradient (high conversion) */
.cta-btn--primary {
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #10b981 100%);
    background-size: 200% 200%;
    color: #022c22;
    border: none;
    box-shadow:
        0 4px 20px rgba(16, 185, 129, 0.4),
        0 0 0 1px rgba(16, 185, 129, 0.2);
    animation: ctaShimmer 4s ease-in-out infinite;
}

.cta-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 32px rgba(16, 185, 129, 0.5),
        0 0 0 1px rgba(16, 185, 129, 0.3);
    color: #022c22;
}

.cta-btn--primary:active {
    transform: translateY(-1px);
}

@keyframes ctaShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Accent CTA — Blue gradient (secondary conversion) */
.cta-btn--accent {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    box-shadow:
        0 4px 20px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.2);
    animation: ctaShimmer 4s ease-in-out infinite;
}

.cta-btn--accent:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.5),
        0 0 0 1px rgba(59, 130, 246, 0.3);
    color: #fff;
}

.cta-btn--accent:active {
    transform: translateY(-1px);
}

/* Ghost CTA — Transparent with border (low commitment) */
.cta-btn--ghost {
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.cta-btn--ghost:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
    transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero__cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .cta-btn--primary {
        padding: 0.875rem 1.75rem;
    }

    .cta-btn--accent {
        padding: 0.75rem 1.5rem;
    }

    .cta-btn--ghost {
        padding: 0.75rem 1.5rem;
    }

    .section-cta {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .section-cta__text {
        font-size: 0.875rem;
    }
}
