/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1438;
    --bg-card: rgba(15, 20, 56, 0.6);
    --bg-card-hover: rgba(20, 28, 76, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(255, 255, 255, 0.08);

    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #636e85;

    --accent-blue: #4f7df9;
    --accent-cyan: #00d4ff;
    --accent-gold: #f0b90b;
    --accent-green: #00e676;
    --accent-red: #ff4757;

    --gradient-primary: linear-gradient(135deg, #4f7df9, #00d4ff);
    --gradient-gold: linear-gradient(135deg, #f0b90b, #f7d76e);
    --gradient-card: linear-gradient(135deg, rgba(79, 125, 249, 0.1), rgba(0, 212, 255, 0.05));
    --gradient-hero: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, #0a0e27 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(79, 125, 249, 0.15);
    --shadow-gold-glow: 0 0 40px rgba(240, 185, 11, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

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

    --container: 1200px;
    --nav-height: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) var(--bg-secondary);
}

html::-webkit-scrollbar {
    width: 8px;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

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

section {
    padding: 25px 0;
    position: relative;
}

/* ===== UTILITY CLASSES ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gradient-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-badge i {
    font-size: 0.7rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(79, 125, 249, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 125, 249, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(79, 125, 249, 0.1);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #0a0e27;
    box-shadow: 0 4px 20px rgba(240, 185, 11, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(240, 185, 11, 0.5);
}

.btn i {
    font-size: 0.9rem;
}

/* ===== MARKET TICKER BAR ===== */
.market-ticker-bar {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: 44px;
    z-index: 999;
    background: rgba(8, 12, 32, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 125, 249, 0.12);
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ticker-container::-webkit-scrollbar {
    display: none;
}

/* Market Status Pill */
.market-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 7px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: var(--transition);
}

.market-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Live market */
.market-status-pill.live {
    border-color: rgba(0, 230, 118, 0.25);
    background: rgba(0, 230, 118, 0.08);
    color: var(--accent-green);
}

.market-status-pill.live .market-status-dot {
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.8);
    animation: ticker-pulse 1.5s ease-in-out infinite;
}

/* Closed market */
.market-status-pill.closed {
    border-color: rgba(160, 174, 192, 0.2);
    background: rgba(160, 174, 192, 0.05);
    color: var(--text-muted);
}

.market-status-pill.closed .market-status-dot {
    background: var(--text-muted);
}

/* Pre/Post market */
.market-status-pill.pre {
    border-color: rgba(240, 185, 11, 0.25);
    background: rgba(240, 185, 11, 0.07);
    color: var(--accent-gold);
}

.market-status-pill.pre .market-status-dot {
    background: var(--accent-gold);
    animation: ticker-pulse 2s ease-in-out infinite;
}

@keyframes ticker-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Ticker Items */
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 18px;
    cursor: default;
    transition: var(--transition);
}

.ticker-item:hover {
    background: rgba(79, 125, 249, 0.05);
}

.ticker-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker-price {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: 60px;
}

.ticker-price.loading-shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    color: transparent;
    min-width: 70px;
    height: 14px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.ticker-change {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.ticker-change-val,
.ticker-change-pct {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Green (positive) */
.ticker-item.up .ticker-price { color: var(--accent-green); }
.ticker-item.up .ticker-change-val,
.ticker-item.up .ticker-change-pct { color: var(--accent-green); }

/* Red (negative) */
.ticker-item.down .ticker-price { color: var(--accent-red); }
.ticker-item.down .ticker-change-val,
.ticker-item.down .ticker-change-pct { color: var(--accent-red); }

/* Neutral */
.ticker-item.flat .ticker-price { color: var(--text-secondary); }
.ticker-item.flat .ticker-change-val,
.ticker-item.flat .ticker-change-pct { color: var(--text-secondary); }

/* Flash animation on price update */
@keyframes flash-green {
    0% { background: rgba(0, 230, 118, 0.0); }
    30% { background: rgba(0, 230, 118, 0.15); }
    100% { background: rgba(0, 230, 118, 0.0); }
}

@keyframes flash-red {
    0% { background: rgba(255, 71, 87, 0.0); }
    30% { background: rgba(255, 71, 87, 0.15); }
    100% { background: rgba(255, 71, 87, 0.0); }
}

.ticker-item.flash-up {
    animation: flash-green 0.6s ease-out;
}

.ticker-item.flash-down {
    animation: flash-red 0.6s ease-out;
}

/* Divider */
.ticker-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

/* Last Updated */
.ticker-updated {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 16px;
}

.ticker-updated i {
    font-size: 0.6rem;
    opacity: 0.6;
}

/* Adjust hero padding since ticker bar is now fixed below nav */
.hero {
    padding-top: calc(var(--nav-height) + 44px) !important;
}

/* Responsive: hide label + updated on small screens */
@media (max-width: 768px) {
    .market-ticker-bar {
        height: 40px;
    }
    .ticker-label {
        display: none;
    }
    .ticker-item {
        padding: 0 10px;
        gap: 5px;
    }
    .ticker-price {
        font-size: 0.78rem;
    }
    .ticker-change-val,
    .ticker-change-pct {
        font-size: 0.68rem;
    }
    .ticker-updated {
        display: none;
    }
    .market-status-pill {
        font-size: 0.6rem;
        margin-right: 8px;
        padding: 2px 7px 2px 5px;
    }
    .hero {
        padding-top: calc(var(--nav-height) + 40px) !important;
    }
}

@media (max-width: 480px) {
    .ticker-change-pct {
        display: none;
    }
    .ticker-divider {
        display: none;
    }
}

/* ===== NAVIGATION ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 125, 249, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

/* Grid pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 125, 249, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 125, 249, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
    flex-wrap: wrap;
}

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

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

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--bg-glass-border);
    border-bottom: 1px solid var(--bg-glass-border);
    background: var(--bg-glass);
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.3rem;
    color: var(--accent-cyan);
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--bg-primary);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 125, 249, 0.2);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: var(--bg-secondary);
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 70px;
}

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

.steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}

.step:nth-child(1) .step-number {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 30px rgba(79, 125, 249, 0.3);
}

.step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #00d4ff, #00e676);
    color: #0a0e27;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.step:nth-child(3) .step-number {
    background: var(--gradient-gold);
    color: #0a0e27;
    box-shadow: 0 0 30px rgba(240, 185, 11, 0.3);
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== PRICING SECTION ===== */
.pricing {
    background: var(--bg-primary);
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.pricing-toggle-wrapper span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-toggle-wrapper span.active {
    color: var(--text-primary);
}

.pricing-toggle {
    width: 56px;
    height: 30px;
    background: var(--bg-card);
    border: 2px solid var(--bg-glass-border);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: var(--transition);
}

.pricing-toggle.annual::after {
    left: calc(100% - 23px);
}

.pricing-toggle.annual {
    border-color: var(--accent-blue);
}

.save-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-green);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.save-badge-card {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 230, 118, 0.12);
    color: var(--accent-green);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.plan-total {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.popular {
    border-color: rgba(79, 125, 249, 0.4);
    background: linear-gradient(180deg, rgba(79, 125, 249, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 25px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.pricing-card .plan-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.pricing-card .plan-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pricing-card .plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px;
}

.pricing-card .plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .plan-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--bg-glass-border);
}

.pricing-features {
    margin-bottom: 32px;
}

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

.pricing-features li i {
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-features li i.fa-check {
    background: rgba(0, 230, 118, 0.15);
    color: var(--accent-green);
}

.pricing-features li i.fa-xmark {
    background: rgba(255, 71, 87, 0.15);
    color: var(--accent-red);
}

.pricing-card .btn {
    width: 100%;
}

/* ===== PERFORMANCE SECTION ===== */
.performance {
    background: var(--bg-secondary);
    overflow: hidden;
}

.performance-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.perf-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
}

.perf-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.perf-card .perf-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.perf-card:nth-child(1) .perf-value {
    color: var(--accent-green);
}

.perf-card:nth-child(2) .perf-value {
    color: var(--accent-cyan);
}

.perf-card:nth-child(3) .perf-value {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.perf-card:nth-child(4) .perf-value {
    color: var(--accent-blue);
}

.perf-card .perf-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-inner {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

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

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    width: 28px;
    border-radius: 8px;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--bg-secondary);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

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

.faq-item:hover {
    border-color: rgba(79, 125, 249, 0.2);
}

.faq-item.active {
    border-color: rgba(79, 125, 249, 0.3);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    gap: 16px;
}

.faq-question i {
    color: var(--accent-blue);
    transition: var(--transition);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(79, 125, 249, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box {
    background: var(--gradient-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

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

.cta-box .btn {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-glass-border);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--bg-glass-border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* ===== DASHBOARD SECTION ===== */
.dashboard {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 60px;
}

/* --- Subscription Gate --- */
.dashboard-gate {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gate-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 125, 249, 0.06) 0%, rgba(0, 210, 255, 0.04) 100%);
    backdrop-filter: blur(6px);
    border: 1px dashed rgba(79, 125, 249, 0.25);
    border-radius: var(--radius-xl);
}

.gate-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 480px;
    padding: 48px 32px;
}

.gate-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 125, 249, 0.15) 0%, rgba(0, 210, 255, 0.1) 100%);
    border: 1px solid rgba(79, 125, 249, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--accent-blue);
    animation: pulse 2s infinite;
}

.gate-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.gate-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* --- Dashboard Grid --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    align-items: start;
}

/* --- Dash Card (shared) --- */
.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.dash-card-header h3,
.dash-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-card-header h3 i,
.dash-card h3 i {
    color: var(--accent-blue);
}

/* --- Status Badge --- */
.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.stopped {
    background: var(--accent-red);
}

.status-dot.running {
    background: var(--accent-green);
    animation: pulse 1.5s infinite;
}

.status-dot.connecting {
    background: var(--accent-gold);
    animation: pulse 0.8s infinite;
}

/* --- Indicator Form --- */
.indicator-form .form-group {
    margin-bottom: 20px;
}

.indicator-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.indicator-form label i {
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

.indicator-form input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
    outline: none;
}

.indicator-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(79, 125, 249, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

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

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

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

/* --- Form Actions --- */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-indicator {
    flex: 1;
    padding: 14px 20px;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-danger {
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--accent-red);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.btn-danger:hover:not(:disabled) {
    background: rgba(255, 71, 87, 0.25);
}

.btn-danger:disabled,
.btn-indicator:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Dash Stats --- */
.dash-stats {
    margin-top: 24px;
}

.dash-stats h3 {
    margin-bottom: 20px;
}

.dash-stats .stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

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

.stat-val {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
}

/* --- Console Card --- */
.console-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.console-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.console-header h3 i {
    color: var(--accent-green);
}

.console-controls {
    display: flex;
    gap: 8px;
}

.console-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.console-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

/* --- Console Output --- */
.console-output {
    flex: 1;
    min-height: 380px;
    max-height: 520px;
    overflow-y: auto;
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    font-family: 'Fira Code', 'JetBrains Mono', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    line-height: 1.7;
}

.console-output::-webkit-scrollbar {
    width: 6px;
}

.console-output::-webkit-scrollbar-track {
    background: transparent;
}

.console-output::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.console-line {
    display: flex;
    gap: 12px;
    padding: 2px 0;
    word-break: break-word;
}

.console-time {
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    min-width: 62px;
}

.console-msg {
    color: rgba(255, 255, 255, 0.7);
}

.console-line.system .console-msg {
    color: rgba(79, 125, 249, 0.8);
}

.console-line.info .console-msg {
    color: var(--accent-gold);
}

.console-line.success .console-msg {
    color: var(--accent-green);
}

.console-line.error .console-msg {
    color: var(--accent-red);
}

.console-line.signal .console-msg {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* --- Subscription Info Bar --- */
.dash-sub-info {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.15);
    border-radius: var(--radius-md);
}

.sub-info-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-green);
    font-size: 0.92rem;
}

.sub-info-left strong {
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

/* --- Dashboard Responsive --- */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

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

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

    .form-actions {
        flex-direction: column;
    }

    .console-output {
        min-height: 300px;
    }

    .dash-sub-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

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

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

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

@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

/* ===== MOBILE NAV (hidden by default) ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: var(--transition-slow);
    opacity: 0;
    visibility: hidden;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--accent-cyan);
}

.mobile-nav .btn {
    margin-top: 16px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

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

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

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-links.mobile-open,
    .nav-cta.mobile-open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat .stat-number {
        font-size: 2rem;
    }

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

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

    .steps::before {
        display: none;
    }

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

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

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

    .cta-box {
        padding: 40px 24px;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ===== NAV AUTH BUTTONS ===== */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

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

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

.nav-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
}

.nav-user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Mobile auth buttons */
.mobile-auth-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}

.mobile-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}

.mobile-user-greeting {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

/* ===== AUTH MODAL ===== */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.auth-modal.open {
    opacity: 1;
    visibility: visible;
}

.auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 20px;
    background: rgba(15, 20, 56, 0.95);
    border: 1px solid rgba(79, 125, 249, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px 36px 36px;
    box-shadow:
        0 0 60px rgba(79, 125, 249, 0.08),
        0 25px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal.open .auth-card {
    transform: translateY(0) scale(1);
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.auth-close:hover {
    background: rgba(255, 74, 87, 0.15);
    color: var(--accent-red);
    transform: rotate(90deg);
}

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

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

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

.auth-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 28px;
    border: 1px solid var(--bg-glass-border);
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: calc(var(--radius-md) - 4px);
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 125, 249, 0.3);
}

.auth-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-form-group {
    position: relative;
}

.auth-form-group input {
    width: 100%;
    padding: 16px 16px 16px 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.auth-form-group input:focus {
    border-color: var(--accent-blue);
    background: rgba(79, 125, 249, 0.05);
    box-shadow: 0 0 0 3px rgba(79, 125, 249, 0.1);
}

.auth-form-group label {
    position: absolute;
    top: 50%;
    left: 44px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s ease;
}

.auth-form-group input:focus~label,
.auth-form-group input:not(:placeholder-shown)~label,
.auth-form-group input:valid~label {
    top: -8px;
    left: 14px;
    font-size: 0.72rem;
    color: var(--accent-cyan);
    background: rgba(15, 20, 56, 0.95);
    padding: 0 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.auth-form-group i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.auth-form-group input:focus~i {
    color: var(--accent-blue);
}

/* Auth Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: -4px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-blue);
    cursor: pointer;
}

.auth-forgot {
    color: var(--accent-cyan);
    font-weight: 500;
    transition: var(--transition);
}

.auth-forgot:hover {
    color: var(--accent-blue);
}

/* Auth Error */
.auth-error {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: var(--radius-sm);
}

.auth-error.show {
    min-height: 40px;
    padding: 10px 14px;
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.2);
    display: flex;
    align-items: center;
}

/* Auth Submit */
.auth-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 4px;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--accent-cyan);
    font-weight: 600;
    transition: var(--transition);
}

.auth-switch a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* ===== AUTH MODAL RESPONSIVE ===== */
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px 28px;
        margin: 12px;
    }

    .auth-tabs {
        margin-bottom: 20px;
    }

    .auth-form {
        gap: 14px;
    }

    .auth-options {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-cta {
        display: none !important;
    }
}