/* app/assets/stylesheets/landing.css */

/* Basic reset-ish */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
    background-color: #f3f4f6;
}

.landing {
    min-height: 100vh;
}


/* Hero */

.hero {
    background: radial-gradient(circle at top left, #e0f2fe, #f3f4f6);
    padding: 3rem 1.5rem 3.5rem;
}

.hero-inner {
    max-width: 880px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 640px;
}

.hero-title {
    font-size: clamp(2.3rem, 3vw, 3rem);
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #374151;
}

.hero-bullets {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 1.5rem;
    color: #374151;
}

.signup-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid #e5e7eb;
    max-width: 480px;
}

.signup-title {
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
}

.signup-text {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.trust-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Forms */

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
}

.signup-form input[type="email"],
.signup-form input[type="text"],
.signup-form select {
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
    outline: none;
    background-color: #ffffff;
}

.signup-form input[type="email"]:focus,
.signup-form input[type="text"]:focus,
.signup-form select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
    background-color: #f9fafb;
}

.form-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.primary-button {
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.3rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.4);
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.45);
    filter: brightness(1.02);
}

.primary-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
}

/* Inline CTA form */

.section-cta .signup-form-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.form-field-inline {
    flex: 1 1 240px;
}

.section-cta .signup-form-inline input[type="email"] {
    width: 100%;
}

/* Sections */

.section {
    padding: 2.75rem 1.5rem;
    background-color: #f9fafb;
}

.section:nth-of-type(even) {
    background-color: #f3f4f6;
}

.section-inner {
    max-width: 880px;
    margin: 0 auto;
}

.section-muted {
    background-color: #eef2ff;
}

.section-cta {
    text-align: center;
    background: radial-gradient(circle at top, #dbeafe, #eff6ff);
}

.section-title {
    font-size: 1.4rem;
    margin: 0 0 1rem;
}

.section-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    max-width: 640px;
    margin: 0 auto 1.25rem;
}

/* Cards */

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

.card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.card p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
}

/* Steps */

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background-color: #1d4ed8;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.step h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.step p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
}

/* List */

.bullet-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
    color: #374151;
}

.bullet-list li+li {
    margin-top: 0.35rem;
}

/* Responsive tweaks */

@media (max-width: 640px) {
    .hero {
        padding-top: 2.25rem;
        padding-bottom: 2.75rem;
    }

    .signup-card {
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
    }
}
