/* ===========================
   CSS Variables — Minimalist
   =========================== */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-900: #111827;

    --accent: #0a0a0a;
    --accent-hover: #1f1f1f;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --announce-h: 36px;
    --navbar-h: 64px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.10);
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    scroll-padding-top: calc(var(--announce-h) + var(--navbar-h) + 12px);
}

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Announcement Bar
   =========================== */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--announce-h);
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    z-index: 1001;
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.announcement-bar a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255,255,255,0.4);
    transition: text-decoration-color 0.2s;
}

.announcement-bar a:hover {
    text-decoration-color: var(--white);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: var(--announce-h);
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 1.125rem 0;
    z-index: 1000;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

/* Scrolled state — becomes white/frosted */
.navbar--scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--gray-200);
}

/* 3-column centered layout */
.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Nav links — white on transparent, dark on scrolled */
.nav-left a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-left a:hover {
    color: var(--white);
}

.navbar--scrolled .nav-left a {
    color: var(--gray-600);
}

.navbar--scrolled .nav-left a:hover {
    color: var(--black);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--white);
    transition: color 0.35s;
}

.navbar--scrolled .logo-text {
    color: var(--black);
}

/* Footer logo stays dark */
.footer-logo-text {
    color: var(--black) !important;
}

/* Outline nav button — white on transparent, dark on scrolled */
.btn-outline-nav {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-outline-nav:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.navbar--scrolled .btn-outline-nav {
    color: var(--black);
    border-color: var(--gray-200);
}

.navbar--scrolled .btn-outline-nav:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

/* ===========================
   Buttons
   =========================== */
.btn-primary {
    background: var(--black);
    color: var(--white);
    border: 1.5px solid var(--black);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-primary.light {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-primary.light:hover {
    background: var(--gray-100);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--gray-200);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    margin-top: 0; /* Full-bleed: transparent nav sits on top */
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 1;
}

/* ===========================
   Ambient Gradient Blobs
   =========================== */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2; /* Above overlay, below content */
}

/* Violet/indigo — top right */
.hero-blob--violet {
    width: 700px;
    height: 700px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle at center,
        rgba(108, 60, 220, 0.28) 0%,
        rgba(80, 30, 180, 0.12) 45%,
        transparent 70%
    );
    filter: blur(40px);
}

/* Warm amber/coral — bottom left */
.hero-blob--amber {
    width: 550px;
    height: 550px;
    bottom: -10%;
    left: -8%;
    background: radial-gradient(circle at center,
        rgba(230, 100, 40, 0.22) 0%,
        rgba(200, 70, 20, 0.10) 45%,
        transparent 70%
    );
    filter: blur(50px);
}

.hero-content {
    position: relative;
    z-index: 3; /* Above overlay and blobs */
    text-align: center;
    /* Push below announcement bar + navbar */
    padding-top: calc(var(--announce-h) + var(--navbar-h) + 4rem);
    padding-bottom: 6rem;
    max-width: 780px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

/* Italic serif second line — like Phia's brand name */
.hero-title em {
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.waitlist-form-hero {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 240px;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    transition: all 0.2s;
}

.email-input::placeholder {
    color: rgba(255,255,255,0.45);
}

.email-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.18);
}

.email-input.dark {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.email-input.dark::placeholder {
    color: rgba(255,255,255,0.4);
}

.early-access-text {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

/* ===========================
   Stats Section
   =========================== */
.stats {
    background: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
    margin: 0 auto;
}

.stats-grid.center {
    justify-content: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* ===========================
   Section Shared Styles
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.section-eyebrow.light {
    color: rgba(255,255,255,0.5);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* ===========================
   Value Proposition
   =========================== */
.value-prop {
    padding: 6rem 0;
    background: var(--white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5px;
    background: var(--gray-200);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    transition: background 0.2s;
}

.value-card:hover {
    background: var(--gray-50);
}

.value-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    border: 1px solid var(--gray-200);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.35;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
    padding: 6rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.steps {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    width: 2rem;
    padding-top: 0.2rem;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===========================
   Features
   =========================== */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-100);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-item {
    background: var(--white);
    padding: 2rem 2rem 2.25rem;
    transition: background 0.2s;
}

.feature-item:hover {
    background: var(--gray-50);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--gray-500);
}

.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===========================
   Waitlist CTA
   =========================== */
.waitlist-cta {
    padding: 7rem 0;
    background: linear-gradient(145deg, #0a0a0a 0%, #100620 55%, #1a0828 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle glow behind the CTA content */
.waitlist-cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(108, 60, 220, 0.12) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.waitlist-cta .container {
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.waitlist-form-cta {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.privacy-text {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* ===========================
   Hero CTA Button
   =========================== */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    margin-bottom: 1.25rem;
}

.btn-hero:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-hero.light {
    background: var(--white);
    color: var(--black);
}

/* ===========================
   Modal — Base
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease;
    padding: 1rem;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===========================
   Modal — Success (small)
   =========================== */
.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    position: relative;
    animation: slideUp 0.25s ease;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}

.close-modal {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    z-index: 10;
}

.close-modal:hover {
    color: var(--black);
}

.modal-body {
    padding: 3rem 2.5rem;
    text-align: center;
}

.modal-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.modal-body h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.modal-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.modal-email {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 0 !important;
}

.modal-email span {
    color: var(--black);
    font-weight: 600;
}

.modal-body .btn-primary {
    margin-top: 1.75rem;
    padding: 0.75rem 2.25rem;
}

/* ===========================
   Modal — Waitlist Form (large)
   =========================== */
.form-modal {
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.75rem 2rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.modal-header-sub {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.modal-header .close-modal {
    position: static;
    flex-shrink: 0;
    margin-left: 1rem;
}

.modal-form-body {
    overflow-y: auto;
    padding: 0;
    flex: 1;
}

/* Form Sections */
.form-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1.25rem;
}

.form-section-hint {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: -0.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Form Fields */
.form-row {
    margin-bottom: 1rem;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
    margin-bottom: 0;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.form-field.no-margin {
    margin-bottom: 0;
    flex: 1;
}

.form-field label {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--gray-600);
}

.form-field label.sub-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.875rem;
    color: var(--black);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray-400);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 2px rgba(10,10,10,0.08);
}

.form-field input.field-error {
    border-color: #dc2626;
}

.form-field textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}

/* Radio Toggle Group */
.toggle-group {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
}

.toggle-option input[type="radio"] {
    display: none;
}

.toggle-option span {
    display: inline-block;
    padding: 0.5rem 1.125rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all 0.15s;
    cursor: pointer;
    user-select: none;
}

.toggle-option input[type="radio"]:checked + span {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.toggle-option:hover span {
    border-color: var(--gray-400);
}

/* Date Range */
.date-range-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.date-range-separator {
    color: var(--gray-400);
    font-size: 1rem;
    padding-bottom: 0.625rem;
    flex-shrink: 0;
}

/* Required star */
.req {
    color: var(--black);
    font-size: 0.75rem;
}

/* Form Footer */
.form-footer {
    padding: 1.25rem 2rem 1.75rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
}

.btn-submit {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    width: 100%;
    justify-content: center;
}

.privacy-text.dark {
    color: var(--gray-400);
    font-size: 0.78rem;
}

/* Field error message */
.field-error-msg {
    font-size: 0.775rem;
    color: #dc2626;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 3.5rem 0 2rem;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
}

.footer-center .logo {
    margin-bottom: 0.5rem;
}

.footer-logo-text {
    color: var(--black) !important;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-nav a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0 1rem;
    transition: color 0.2s;
    border-right: 1px solid var(--gray-200);
}

.footer-nav a:last-child {
    border-right: none;
}

.footer-nav a:hover {
    color: var(--black);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.75rem;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-links a {
    color: var(--gray-400);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--black);
}

/* ===========================
   Animations (scroll)
   =========================== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    /* Keep 3-stat grid in a single row — it fits */
    .stats-grid.stats-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .announcement-bar {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    /* Hide text nav links on mobile; keep logo + button */
    .nav-left {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .step {
        gap: 1.25rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Form modal responsive */
    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .form-modal {
        max-width: 100%;
        max-height: 92vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .form-row.two-col {
        grid-template-columns: 1fr;
    }

    .date-range-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .date-range-separator {
        display: none;
    }

    .modal-header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .form-section {
        padding: 1.25rem;
    }

    .form-footer {
        padding: 1rem 1.25rem 1.5rem;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }
}
