/* ===== MODERN TECH DESIGN - STRATUM ===== */
/* Inspired by Linear, Vercel, Raycast, Arc */

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

:root {
    /* Dark Theme Colors */
    --bg-primary: #09090b;
    --bg-secondary: #0c0c0d;
    --bg-tertiary: #111111;
    --surface: #18181b;
    --surface-elevated: #1c1c1f;

    /* Border Colors */
    --border-subtle: #27272a;
    --border-default: #2e2e32;
    --border-strong: #3f3f46;

    /* Text Colors */
    --text-primary: #fafafa;
    --text-secondary: #e4e4e7;
    --text-tertiary: #a1a1aa;
    --text-muted: #71717a;

    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-teal: #14b8a6;

    /* Status Colors */
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.1);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    border-radius: 6px;
}

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

.nav-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.btn-nav {
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background: var(--surface-elevated);
    border-color: var(--border-strong);
}

.btn-nav-secondary {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--accent-blue);
    border-radius: var(--radius-md);
    color: var(--accent-blue);
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-nav-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue-hover);
    color: var(--accent-blue-hover);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 160px 0 var(--spacing-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 50%);
    pointer-events: none;
}

.stock-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    background: linear-gradient(to bottom, var(--text-primary), var(--text-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

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

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

/* ===== PRODUCT MOCKUP ===== */
.hero-mockup {
    position: relative;
}

.mockup-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.regime-display-card {
    background: var(--surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

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

.regime-display-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.symbol-info {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.symbol-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
}

.symbol-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.symbol-price {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.regime-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.regime-badge.regime-trending {
    background: var(--success-bg);
    border-color: var(--success);
    color: var(--success);
}

.regime-badge.regime-ranging {
    background: var(--info-bg);
    border-color: var(--info);
    color: var(--info);
}

.regime-badge.regime-transition {
    background: var(--warning-bg);
    border-color: var(--warning);
    color: var(--warning);
}

.regime-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.stat-value.positive {
    color: var(--success);
}

.stat-value.negative {
    color: var(--text-tertiary);
}

.mini-chart {
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.mini-chart svg {
    width: 100%;
    height: 100%;
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-subtle);
}

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

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* ===== TECH STACK ===== */
.tech-stack {
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-subtle);
}

.tech-stack-label {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.tech-logo {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.tech-logo:hover {
    color: var(--text-primary);
    border-color: var(--border-default);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    line-height: 1.7;
}

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

.feature-card {
    padding: var(--spacing-lg);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--border-default);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--accent-blue);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-tertiary);
}

/* ===== REGIMES INFO SECTION ===== */
.how-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.regime-info-card {
    padding: var(--spacing-xl);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.regime-info-card:hover {
    border-color: var(--border-default);
    transform: translateY(-2px);
}

.regime-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    border: 1px solid;
}

.regime-info-badge.trending {
    background: var(--success-bg);
    border-color: var(--success);
    color: var(--success);
}

.regime-info-badge.ranging {
    background: var(--info-bg);
    border-color: var(--info);
    color: var(--info);
}

.regime-info-badge.transition {
    background: var(--warning-bg);
    border-color: var(--warning);
    color: var(--warning);
}

.regime-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.regime-info-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
}

.regime-info-stat {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-subtle);
}

.regime-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.regime-info-value {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== API SECTION ===== */
.api-section {
    padding: var(--spacing-3xl) 0;
}

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

.api-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--success-bg);
    border: 1px solid var(--success);
    color: var(--success);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.api-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.api-desc {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.api-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.code-block {
    background: var(--surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem var(--spacing-md);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-subtle);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-default);
}

.code-title {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.code-content {
    padding: var(--spacing-md);
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    overflow-x: auto;
}

.code-keyword {
    color: #c678dd;
}

.code-module {
    color: #61afef;
}

.code-function {
    color: #61afef;
}

.code-var {
    color: #e06c75;
}

.code-string {
    color: #98c379;
}

.code-comment {
    color: var(--text-muted);
    font-style: italic;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

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

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.2s ease;
}

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

.pricing-card-popular {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 0.75rem;
    background: var(--accent-blue);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier {
    margin-bottom: var(--spacing-lg);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.plan-price {
    margin-bottom: var(--spacing-xl);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.plan-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.plan-features svg {
    flex-shrink: 0;
    color: var(--success);
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-plan:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
}

.btn-plan-primary {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.btn-plan-primary:hover {
    background: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

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

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-xl);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-blue);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-subtle);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.disclaimer {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 900px;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content,
    .api-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-mockup {
        order: -1;
    }

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

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

    .nav-content {
        height: 56px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .nav-links a {
        font-size: 0.8125rem;
    }

    .btn-nav {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .hero {
        padding: 120px 0 var(--spacing-2xl);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

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

    .tech-logos {
        gap: var(--spacing-sm);
    }

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

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

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

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

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

/* ===== 3D REGIME VISUALIZATION ===== */
.regime-3d-container {
    position: relative;
    perspective: 1000px;
}

.chart-3d-wrapper {
    display: flex;
    gap: var(--spacing-md);
    align-items: stretch;
    background: rgba(20, 20, 22, 0.6);
    padding: 8px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.chart-3d-scene {
    position: relative;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, rgba(9, 9, 11, 0.8) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

/* Regime Status Panel */
.regime-status-panel {
    flex: 1;
    background: linear-gradient(180deg, rgba(24, 24, 27, 0.4) 0%, rgba(9, 9, 11, 0.6) 100%);
    border-left: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 240px;
}

.regime-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.symbol-display {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.375rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.regime-current {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.regime-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.regime-name {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--success);
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
    transition: color 0.5s ease, text-shadow 0.5s ease;
    animation: regimeGlow 2s ease-in-out infinite;
}

.regime-name.trending {
    color: #22c55e;
    text-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
}

.regime-name.ranging {
    color: #3b82f6;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.regime-name.transition {
    color: #f59e0b;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

@keyframes regimeGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.regime-indicator {
    margin-top: 1rem;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.regime-bar {
    height: 100%;
    width: 75%;
    background: linear-gradient(90deg, var(--success), var(--accent-teal));
    border-radius: 2px;
    animation: barPulse 2s ease-in-out infinite;
    transition: background 0.5s ease;
}

.regime-bar.trending {
    background: linear-gradient(90deg, #22c55e, #10b981);
}

.regime-bar.ranging {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.regime-bar.transition {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    animation: barWarning 1s ease-in-out infinite;
}

@keyframes barPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

.regime-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-subtle);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-value.positive {
    color: var(--success);
}

.metric-value.negative {
    color: #ef4444;
}

.metric-value.neutral {
    color: var(--warning);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Regime Timeline */
.regime-timeline {
    margin-top: var(--spacing-lg);
}

.timeline-track {
    display: flex;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.timeline-segment {
    height: 100%;
    transition: opacity 0.3s ease;
}

.timeline-segment.trending {
    background: linear-gradient(90deg, #22c55e, #10b981);
}

.timeline-segment.ranging {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.timeline-segment.transition {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.timeline-segment.active {
    animation: timelineActive 2s ease-in-out infinite;
}

@keyframes timelineActive {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ===== 4-COLUMN PRICING GRID ===== */
.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-grid-4 .pricing-card {
    padding: var(--spacing-lg);
}

.pricing-grid-4 .price-amount {
    font-size: 2.25rem;
}

.pricing-grid-4 .plan-features {
    gap: 0.75rem;
}

.pricing-grid-4 .plan-features li {
    font-size: 0.875rem;
}

/* Feature highlighting */
.feature-highlight {
    color: var(--success) !important;
    font-weight: 600;
}

/* Disabled features */
.feature-disabled {
    opacity: 0.5;
}

.feature-disabled svg {
    color: var(--text-muted) !important;
}

.feature-disabled span {
    color: var(--text-muted);
}

/* Responsive 4-column grid */
@media (max-width: 1200px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 3D Visualization Responsive */
@media (max-width: 1024px) {
    .chart-3d-wrapper {
        flex-direction: column;
    }

    .chart-3d-scene {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .chart-3d-scene {
        height: 240px;
        transform: rotateX(5deg) rotateY(0deg);
    }

    .regime-name {
        font-size: 1.5rem;
    }

    .regime-metrics {
        gap: 0.5rem;
    }

    .metric-value {
        font-size: 1rem;
    }
}

/* ===== SMOOTH ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}
