/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --accent-blue: #60a5fa;
    --accent-purple: #a78bfa;
    --accent-pink: #f472b6;
    --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 0 60px rgba(96, 165, 250, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.globe-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    background: 
        radial-gradient(ellipse 100% 100% at 50% 50%, transparent 45%, var(--accent-blue) 45.5%, transparent 46%),
        radial-gradient(ellipse 70% 100% at 50% 50%, transparent 45%, var(--accent-purple) 45.5%, transparent 46%),
        radial-gradient(ellipse 40% 100% at 50% 50%, transparent 45%, var(--accent-pink) 45.5%, transparent 46%);
    animation: spin 60s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

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

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.headline {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.subheadline {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ===== Waitlist Form ===== */
.waitlist-form {
    width: 100%;
    max-width: 480px;
}

/* Honeypot field - invisible to humans */
.honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.input-wrapper {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.input-wrapper input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
}

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

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(96, 165, 250, 0.3);
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

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

.form-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Success Message ===== */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    background: var(--gradient-subtle);
    border: 1px solid var(--accent-blue);
    border-radius: var(--radius-lg);
    animation: fadeIn 0.5s ease;
}

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

.success-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 24px;
}

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

/* ===== How It Works ===== */
.how-it-works {
    padding: 120px 0;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 64px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.step {
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 60px rgba(167, 139, 250, 0.1);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Features ===== */
.features {
    padding: 60px 0 120px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

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

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

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

.feature-visual {
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.feature-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Translation Demo */
.translation-demo {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    max-width: 90%;
}

.message.incoming {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.message.outgoing {
    background: var(--gradient-subtle);
    border: 1px solid rgba(96, 165, 250, 0.3);
    align-self: flex-end;
}

.message .original {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
}

.message.incoming .original {
    color: var(--text-muted);
    font-size: 13px;
}

.message .translated {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    font-style: italic;
}

/* Passport Demo */
.passport-demo {
    text-align: center;
}

.passport-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.stamps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stamp {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.stamp:not(.empty):hover {
    transform: scale(1.1);
    border-color: var(--accent-blue);
}

.stamp.empty {
    color: var(--text-muted);
    font-size: 20px;
    opacity: 0.5;
}

.passport-stats {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Manifesto ===== */
.manifesto {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.manifesto blockquote {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 500;
    line-height: 1.5;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.manifesto-text {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Final CTA ===== */
.final-cta {
    padding: 120px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    margin-bottom: 40px;
}

.final-cta .waitlist-form {
    margin: 0 auto;
}

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

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

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .feature-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature-card.reverse {
        direction: ltr;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .how-it-works,
    .features,
    .final-cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
    }
    
    .stamps {
        gap: 8px;
    }
    
    .stamp {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}
