* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    line-height: 1.6;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    max-width: 640px;
    width: 100%;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #f8fafc;
    font-weight: 500;
}

.privacy-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2.5rem auto;
    padding: 0.5rem 1rem;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    max-width: fit-content;
}

.privacy-pill svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #38bdf8;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.signup-form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #334155;
    background-color: #1e293b;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form input[type="email"]:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.signup-form input[type="email"]::placeholder {
    color: #64748b;
}

.simplelogin-link {
    display: inline-block;
    margin-top: 0.5rem;
    background: none;
    border: none;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.simplelogin-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.signup-form button[type="submit"] {
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #6366f1;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}

.signup-form button[type="submit"]:hover {
    background-color: #4f46e5;
}

.signup-form button[type="submit"]:active {
    transform: scale(0.98);
}

@media (min-width: 520px) {
    .signup-form {
        flex-direction: row;
    }
}

.footer-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.footer-note--tight {
    margin-top: 0.5rem;
}

.scroll-cue {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-cue svg {
    width: 20px;
    height: 20px;
    stroke: #64748b;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.signup-toast {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 520px;
    margin: 0 auto 1rem auto;
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 0.5rem;
    color: #bbf7d0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    opacity: 0;
    transform: translateY(6px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}

.signup-toast.visible {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    pointer-events: auto;
}

.signup-toast.error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.signup-toast.error svg {
    stroke: #f87171;
}

.signup-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.signup-toast svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: #4ade80;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* About section */
.about {
    padding: 5rem 2rem;
    background-color: #0b1220;
    border-top: 1px solid #1e293b;
}

.about-inner {
    max-width: 680px;
    margin: 0 auto;
}

.about h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #f8fafc;
}

.about p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.about p .highlight {
    color: #f8fafc;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 560px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: left;
}

.feature-card svg {
    width: 22px;
    height: 22px;
    stroke: #38bdf8;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0;
}
