:root {
    --primary: #00D9A3;
    --primary-dark: #00B386;
    --secondary: #0088FF;
    --accent: #FF6B00;
    --bg: #050816;
    --bg-elevated: #0A0E27;
    --bg-card: #151B3B;
    --text: #FFFFFF;
    --text-secondary: #B4C6E7;
    --text-muted: #7B8AB8;
    --border: #1E2A52;
    --danger: #FF4757;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 163, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 163, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

#chart-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: 50%;
    right: -100px;
    animation-delay: -20s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -100px) rotate(90deg); }
    50% { transform: translate(-50px, 50px) rotate(180deg); }
    75% { transform: translate(50px, 100px) rotate(270deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px;
}

.ticker {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.ticker-symbol {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.ticker-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.ticker-change {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.ticker-change.negative {
    background: rgba(255, 71, 87, 0.15);
    color: var(--danger);
}

/* Title */
.title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 217, 163, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(0, 217, 163, 0.6)); }
}

/* Subtitle */
.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 217, 163, 0.15);
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Email Form */
.email-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.email-input {
    flex: 1;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 217, 163, 0.1);
}

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

.submit-btn {
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: var(--bg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 163, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Success Message */
.success-message {
    display: none;
    padding: 16px 24px;
    background: rgba(0, 217, 163, 0.15);
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    animation: slideInUp 0.5s ease;
}

.success-message.show {
    display: block;
}

/* Features Section */
section.features {
    max-width: 1400px;
    margin: 0 auto;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 217, 163, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s ease infinite;
}

.feature:nth-child(2) .feature-icon {
    animation-delay: -0.3s;
}

.feature:nth-child(3) .feature-icon {
    animation-delay: -0.6s;
}

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

.feature h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Chart Section */
.chart-section {
    margin: 120px 0;
    padding: 0 20px;
}

.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 1360px;
    margin: 0 auto;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.chart-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.chart-timeframes {
    display: flex;
    gap: 8px;
}

.timeframe {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeframe:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.timeframe.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
}

.chart-display {
    position: relative;
    background: var(--bg-elevated);
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 20px;
}

.flat-line {
    width: 100%;
    height: 200px;
}

.chart-label {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Testimonials */
section.testimonials {
    max-width: 1400px;
    margin: 0 auto;
}
.testimonials {
    margin: 120px 0;
    padding: 0 20px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 217, 163, 0.1);
}

.quote {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.6;
    font-style: italic;
}

.quote::before {
    content: '"';
    color: var(--primary);
    font-size: 2rem;
    margin-right: 5px;
}

.quote::after {
    content: '"';
    color: var(--primary);
    font-size: 2rem;
    margin-left: 5px;
}

.author {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Footer */
.footer {
    margin: 120px 0 60px;
    padding: 40px 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 20px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.disclaimer strong {
    color: var(--accent);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.divider {
    color: var(--border);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .email-form {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .chart-container {
        padding: 20px;
    }
    
    .chart-timeframes {
        width: 100%;
        justify-content: space-between;
    }
    
    .timeframe {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}
