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

:root {
    --bg-primary: #121212;
    --bg-secondary: #181818;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #1db954;
    --accent-hover: #1ed760;
    --border: #2a2a2a;
    --error: #e22134;
    --success: #1db954;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

main {
    flex: 1;
    padding: 4rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 6rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.savings-highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    margin: 3rem auto 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(29, 185, 84, 0.2);
}

.savings-amount {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.savings-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.waitlist-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form {
    width: 100%;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-group input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-tertiary);
}

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

.submit-btn {
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: var(--text-primary);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.submit-btn:active {
    transform: scale(0.98);
}

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

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

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

.form-message.success {
    background-color: rgba(29, 185, 84, 0.1);
    color: var(--success);
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.form-message.error {
    background-color: rgba(226, 33, 52, 0.1);
    color: var(--error);
    border: 1px solid rgba(226, 33, 52, 0.3);
}

.features {
    margin-top: 6rem;
}

.features-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background-color: var(--bg-tertiary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

    .form-group input,
    .submit-btn {
        width: 100%;
    }

    .hero {
        margin-bottom: 4rem;
    }

    .savings-highlight {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }

    .features {
        margin-top: 4rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
