/* Twilight Synthesis Palette */
:root {
    --bg: #0f0f23;
    --amber: #f59e0b;
    --cyan: #06b6d4;
    --gold: #fbbf24;
    --white: #e8e8f0;
    --muted: #8888a0;
    --surface: #161630;
    --surface2: #1a1a38;
    --border: #2d3142;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
    background: 
        radial-gradient(ellipse 600px 400px at 50% 40%, rgba(6, 182, 212, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 30% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--amber);
    letter-spacing: -0.02em;
    animation: fadeIn 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.hero-cta {
    animation: fadeIn 1.2s ease-out 0.4s backwards;
}

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

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--amber);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
    width: 100%;
    max-width: 300px;
}

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

/* === Sections === */
section {
    padding: 80px 24px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--cyan);
}

/* === Differentiators Grid === */
.differentiators {
    background: var(--surface);
}

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

.card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.15);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.card p {
    color: var(--muted);
    line-height: 1.7;
}

/* === How It Works === */
.how-it-works {
    background: var(--bg);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--surface2);
    border: 2px solid var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--amber);
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.step p {
    color: var(--muted);
    line-height: 1.7;
}

/* === Signup Section === */
.signup-section {
    background: var(--surface);
    text-align: center;
}

.signup-subtitle {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 48px;
}

.signup-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-group input::placeholder {
    color: var(--muted);
}

/* Honeypot field (hidden) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.form-message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* === Footer === */
.footer {
    padding: 40px 24px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid var(--border);
}

/* === Mobile Responsiveness === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .card {
        padding: 24px;
    }
}
