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

:root {
    --text-color: #1e1e1e;
    --text-light: #666;
    --background: #fff;
    --border: #e5e5e5;
    --primary: #1e1e1e;
    --primary-hover: #333;
}

html {
    font-size: 16px;
}

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

/* Header */
header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Main */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 0 5rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* App Buttons */
.app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.app-button:hover:not(.disabled) {
    background-color: var(--primary-hover);
}

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

.app-button svg {
    flex-shrink: 0;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.button-text .small {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.button-text .large {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Features */
.features {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Waitlist */
.waitlist {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
}

.waitlist h2 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.waitlist > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.waitlist-form input:focus {
    border-color: var(--text-color);
}

.waitlist-form button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background-color: var(--primary-hover);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-message.success {
    color: #16a34a;
}

.form-message.error {
    color: #dc2626;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

footer p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-button {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

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

    .features h2,
    .waitlist h2 {
        font-size: 1.75rem;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form button {
        width: 100%;
    }

    main {
        padding: 0 1.25rem;
    }
}
