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

:root {
    --bg: #000000;
    --bg-alt: #0a0a0a;
    --bg-elevated: #111112;
    --text: #ffffff;
    --text-dim: #a0a0a5;
    --text-muted: #6b6b70;
    --accent: #3399ff;
    --accent-glow: rgba(51, 153, 255, 0.25);
    --profit: #33c75a;
    --loss: #ff4439;
    --border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.header-download img {
    height: 40px;
    transition: opacity 0.2s;
}

.header-download:hover img {
    opacity: 0.85;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.download-btn {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.download-btn img {
    height: 52px;
}

.download-btn:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.screenshot {
    width: 100%;
    max-width: 320px;
    border-radius: 32px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px var(--accent-glow);
}

.screenshot-placeholder {
    width: 280px;
    height: 560px;
    background: var(--bg-elevated);
    border: 2px dashed var(--text-muted);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
}

.screenshot-placeholder span {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 14px;
}

.screenshot-placeholder small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-alt);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* How it works */
.how-it-works {
    text-align: center;
    background: var(--bg);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 48px 0 32px;
}

.step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.step p {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

.step-arrow {
    color: var(--text-muted);
    font-size: 24px;
}

.steps-note {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature rows */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-text {
    max-width: 480px;
}

.feature-desc {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-desc:last-child {
    margin-bottom: 0;
}

.feature-phone {
    display: flex;
    justify-content: center;
}

/* Privacy section */
.privacy-section {
    text-align: center;
    max-width: 700px;
}

.privacy-icon {
    color: var(--accent);
    margin-bottom: 24px;
}

.privacy-text {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.8;
}

/* Languages */
.languages-section {
    text-align: center;
}

.languages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-top: 32px;
}

.languages-grid span {
    color: var(--text-dim);
    font-size: 15px;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.cta-title {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-text {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 32px;
}

.download-btn-large img {
    height: 56px;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        direction: ltr;
    }

    .feature-text {
        max-width: 100%;
    }

    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .header-download {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .steps {
        flex-direction: column;
        gap: 16px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .screenshot,
    .screenshot-placeholder {
        max-width: 260px;
        width: 260px;
    }

    .screenshot-placeholder {
        height: 480px;
    }

    .cta-title {
        font-size: 32px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        order: 1;
    }

    .footer-copy {
        order: 2;
    }
}
