/* ============================================
   TRADER - AI Trading Intelligence Platform
   Design System: Copper & Slate
   Typography: Zodiak (Display) + Plus Jakarta Sans (Body)
   ============================================ */

/* CSS Variables */
:root {
    /* Copper & Slate Palette */
    --copper: #B87333;
    --copper-light: #D4A574;
    --copper-dark: #8B5A2B;
    --slate: #2F3640;
    --slate-light: #4A5568;
    --slate-dark: #1A1D23;
    --cream: #F5F0EB;
    --cream-dark: #E8E0D5;
    --white: #FFFFFF;
    
    /* Semantic Colors */
    --bg-primary: var(--cream);
    --bg-secondary: var(--white);
    --bg-dark: var(--slate);
    --text-primary: var(--slate);
    --text-secondary: var(--slate-light);
    --text-light: var(--cream);
    --accent: var(--copper);
    --accent-light: var(--copper-light);
    --accent-dark: var(--copper-dark);
    
    /* Status Colors */
    --green: #22C55E;
    --green-light: #DCFCE7;
    --red: #EF4444;
    --red-light: #FEE2E2;
    
    /* Typography */
    --font-display: 'Zodiak', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(47, 54, 64, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(47, 54, 64, 0.1), 0 2px 4px -2px rgba(47, 54, 64, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(47, 54, 64, 0.1), 0 4px 6px -4px rgba(47, 54, 64, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(47, 54, 64, 0.1), 0 8px 10px -6px rgba(47, 54, 64, 0.1);
    --shadow-glow: 0 0 40px rgba(184, 115, 51, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* 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-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--slate);
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--cream);
    border-color: var(--copper-light);
    color: var(--copper);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: rgba(184, 115, 51, 0.1);
    color: var(--copper);
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(245, 240, 235, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate);
}

.nav-logo svg {
    flex-shrink: 0;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate);
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper) 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--copper-light) 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--copper) 0%, var(--slate) 100%);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(184, 115, 51, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--copper);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease;
}

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

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

.hero-title {
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--copper);
}

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

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

/* Hero Visual - Chart Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.chart-preview {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--cream-dark);
}

.chart-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--slate) 0%, var(--slate-dark) 100%);
    color: var(--white);
}

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

.chart-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.chart-dots span:first-child { background: #FF5F57; }
.chart-dots span:nth-child(2) { background: #FFBD2E; }
.chart-dots span:last-child { background: #28CA42; }

.chart-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.chart-body {
    padding: var(--space-lg);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: var(--space-sm);
    height: 200px;
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.candlestick {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: growUp 0.8s ease-out;
}

.candlestick.green .candle-body {
    background: var(--green);
}

.candlestick.red .candle-body {
    background: var(--red);
}

.candlestick.green .candle-wick {
    background: var(--green);
}

.candlestick.red .candle-wick {
    background: var(--red);
}

.candle-wick {
    width: 2px;
    height: 20px;
}

.candle-body {
    width: 24px;
    border-radius: 3px;
}

.candlestick:nth-child(1) .candle-body { height: 60px; }
.candlestick:nth-child(2) .candle-body { height: 45px; }
.candlestick:nth-child(3) .candle-body { height: 90px; }
.candlestick:nth-child(4) .candle-body { height: 55px; }

.candlestick.large {
    transform: scale(1.1);
}

@keyframes growUp {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.prediction-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    background: var(--green-light);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    animation: slideIn 0.6s ease 0.8s both;
}

.prediction-icon {
    font-size: 0.875rem;
}

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

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(184, 115, 51, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--copper);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

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

.feature-card {
    padding: var(--space-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-dark);
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

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

/* How It Works */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--slate);
    color: var(--cream);
}

.how-it-works .section-tag {
    background: rgba(212, 165, 116, 0.2);
    color: var(--copper-light);
}

.how-it-works .section-title {
    color: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.step {
    position: relative;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--copper);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-content h3 {
    color: var(--white);
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

.step-content p {
    color: rgba(245, 240, 235, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
    gap: var(--space-lg);
}

.testimonial-card {
    flex: 0 0 calc(50% - var(--space-sm));
    min-width: calc(50% - var(--space-sm));
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-dark);
}

.testimonial-stars {
    color: var(--copper);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

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

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--copper);
    color: var(--white);
    border-color: var(--copper);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cream-dark);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--copper);
    width: 24px;
    border-radius: 5px;
}

/* Pricing */
.pricing {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.pricing-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-dark);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

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

.pricing-card.featured {
    background: linear-gradient(135deg, var(--slate) 0%, var(--slate-dark) 100%);
    color: var(--white);
    border-color: var(--slate);
    transform: scale(1.05);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--copper);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.pricing-header {
    margin-bottom: var(--space-lg);
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: var(--space-xs);
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

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

.pricing-card.featured .pricing-price .period {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-card.featured .pricing-desc {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    flex: 1;
    margin-bottom: var(--space-lg);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    font-size: 0.9375rem;
}

.pricing-features .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features .check {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green);
}

/* CTA Section */
.cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--slate) 0%, var(--slate-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta p {
    color: rgba(245, 240, 235, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

/* Footer */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--slate-dark);
    color: var(--cream);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: rgba(245, 240, 235, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--copper);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-body);
    font-weight: 600;
}

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

.footer-links ul li a {
    color: rgba(245, 240, 235, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--copper-light);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(245, 240, 235, 0.5);
    font-size: 0.875rem;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 29, 35, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-lg {
    max-width: 600px;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--cream);
    color: var(--slate);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal-header h2 {
    margin-bottom: var(--space-xs);
}

.modal-header p {
    color: var(--text-secondary);
}

/* Login Options */
.login-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--transition-base);
    border: 1px solid var(--cream-dark);
}

.login-btn.google {
    background: var(--white);
    color: var(--slate);
}

.login-btn.google:hover {
    background: var(--cream);
    border-color: var(--copper-light);
}

.login-btn.phone {
    background: transparent;
    color: var(--slate);
}

.login-btn.phone:hover {
    background: var(--cream);
}

.phone-login {
    margin-bottom: var(--space-md);
}

/* Google Accounts Selection */
.google-accounts {
    margin-bottom: var(--space-md);
}

.accounts-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    text-align: center;
}

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

.account-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-dark);
    background: var(--white);
    transition: all var(--transition-base);
    text-align: left;
}

.account-item:hover {
    border-color: var(--copper);
    background: rgba(184, 115, 51, 0.05);
}

.account-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.account-email {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Phone Verification */
.phone-verify {
    margin-bottom: var(--space-md);
}

.verify-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.verify-hint span {
    font-weight: 600;
    color: var(--copper);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.1);
}

.divider {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--cream-dark);
}

.divider span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.modal-footer-text {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.modal-footer-text a {
    color: var(--copper);
    font-weight: 600;
}

.modal-footer-text a:hover {
    text-decoration: underline;
}

/* Upload Section */
.upload-section {
    display: flex;
    flex-direction: column;
}

/* User Banner */
.user-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.1) 0%, rgba(212, 165, 116, 0.1) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(184, 115, 51, 0.2);
    margin-bottom: var(--space-md);
}

.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.user-email {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.upload-area {
    border: 2px dashed var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: var(--space-md);
}

.upload-area:hover {
    border-color: var(--copper);
    background: rgba(184, 115, 51, 0.05);
}

.upload-icon {
    color: var(--copper);
    margin-bottom: var(--space-md);
}

.upload-text {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.upload-preview {
    margin-bottom: var(--space-md);
}

.upload-preview img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

/* Analysis Result */
.analysis-result {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.analysis-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.analysis-chart {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--cream-dark);
}

.analysis-chart img {
    width: 100%;
}

.prediction-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.prediction-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid;
}

.prediction-card.bullish {
    background: var(--green-light);
    border-color: var(--green);
}

.prediction-card.bearish {
    background: var(--red-light);
    border-color: var(--red);
}

.prediction-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.prediction-card.bullish .prediction-label {
    color: var(--green);
}

.prediction-card.bearish .prediction-label {
    color: var(--red);
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.indicator.green {
    background: var(--green);
}

.indicator.red {
    background: var(--red);
}

.prediction-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.prediction-card.bullish .prediction-value {
    color: var(--green);
}

.prediction-card.bearish .prediction-value {
    color: var(--red);
}

.prediction-desc {
    font-size: 0.8125rem;
    opacity: 0.8;
}

.analysis-insight {
    padding: var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-md);
}

.analysis-insight h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.analysis-insight p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.analysis-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: calc(80px + var(--space-lg)) var(--space-lg) var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .chart-preview {
        max-width: 320px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero {
        padding-top: calc(60px + var(--space-2xl));
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .prediction-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .analysis-actions {
        flex-direction: column;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--copper);
    color: var(--white);
}