/* ============================================
   GASTRO STATION — Landing Page Styles
   Aesthetic: Editorial warmth + industrial clarity
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Core palette — navy + terra cotta (logo-matched) */
    --navy: #0f1d3a;
    --navy-mid: #1e2d4d;
    --slate: #3d4f6e;
    --warm-gray: #7a8a9e;
    --light-gray: #e8e6e1;
    --cream: #f5f3ee;
    --off-white: #faf9f6;
    --white: #ffffff;

    /* Accent — terra cotta from logo */
    --terra-cotta: #c86d4f;
    --terra-cotta-dark: #a85a3f;
    --terra-cotta-light: #d9896e;
    --terra-cotta-glow: rgba(200, 109, 79, 0.15);
    --terra-cotta-subtle: rgba(200, 109, 79, 0.08);

    /* Functional */
    --green: #2d8a56;
    --green-bg: rgba(45, 138, 86, 0.1);
    --amber: #d4920a;
    --amber-bg: rgba(212, 146, 10, 0.1);
    --red: #c23a3a;
    --red-bg: rgba(194, 58, 58, 0.1);

    /* Backgrounds */
    --bg-primary: var(--off-white);
    --bg-section: var(--cream);
    --bg-dark: var(--navy);
    --bg-card: var(--white);

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 7rem 0;
    --container-width: 1180px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--navy);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.hide-mobile { display: inline; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Paintbrush underline — used on "first" in problem section */
.text-brush-first {
    position: relative;
    white-space: nowrap;
    color: var(--terra-cotta);
}

.text-brush-first::after {
    content: '';
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: -7px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M3,9 C20,5.5 55,5 85,6.5 C100,7.5 112,8 118,9.5 C116,12 108,13 95,12 C72,11 38,11.5 12,11 C7,10.5 3,10.5 3,9 Z' fill='%23c86d4f' opacity='0.88'/%3E%3Cpath d='M108,7.5 C113,7 117,8 119,9.5' stroke='%23c86d4f' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.45'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
}

h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--terra-cotta);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(200, 109, 79, 0.3);
}

.btn-primary:hover {
    background: var(--terra-cotta-dark);
    box-shadow: 0 4px 20px rgba(200, 109, 79, 0.4);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-ghost:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 29, 58, 0.06);
    transition: all 0.3s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(15, 29, 58, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 0.75rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 340px;
}

.nav-logo-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 44px;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--navy);
}

.nav-link.nav-cta {
    background: var(--terra-cotta);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link.nav-cta:hover {
    background: var(--terra-cotta-dark);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex: 0 0 auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--off-white);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 99;
    border-bottom: 1px solid rgba(15, 29, 58, 0.08);
    box-shadow: 0 8px 30px rgba(15, 29, 58, 0.1);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link.nav-cta {
    background: var(--terra-cotta);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 0.5rem;
}

/* --- Hero Section --- */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, var(--terra-cotta-subtle) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 29, 58, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* Subtle grain overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--terra-cotta-glow);
    border: 1px solid rgba(200, 109, 79, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--terra-cotta-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--terra-cotta);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-headline {
    font-size: clamp(2.75rem, 6vw, 4rem);
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.hero-headline em {
    color: var(--terra-cotta);
    font-style: italic;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.82rem;
    color: var(--warm-gray);
    font-weight: 500;
}

/* Hero dashboard mockup */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    box-shadow:
        0 1px 3px rgba(15, 29, 58, 0.04),
        0 8px 40px rgba(15, 29, 58, 0.08);
    overflow: hidden;
    animation: card-float 0.8s var(--ease-out) both;
}

.hero-card-main {
    animation-delay: 0.2s;
}

@keyframes card-float {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: var(--cream);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid rgba(15, 29, 58, 0.06);
}

.card-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-status-good {
    background: var(--green);
}

.card-items {
    padding: 0.5rem 0;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(15, 29, 58, 0.04);
}

.card-item:last-child {
    border-bottom: none;
}

.item-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-bg);
    color: var(--green);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.item-check.warning-icon {
    background: var(--amber-bg);
    color: var(--amber);
}

.item-label {
    flex: 1;
    font-weight: 500;
    color: var(--navy);
}

.item-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.item-current {
    background: var(--green-bg);
    color: var(--green);
}

.item-expiring {
    background: var(--amber-bg);
    color: var(--amber);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--cream);
    font-size: 0.78rem;
    border-top: 1px solid rgba(15, 29, 58, 0.06);
}

.card-score {
    font-weight: 600;
    color: var(--green);
}

.card-action {
    font-weight: 600;
    color: var(--terra-cotta);
}

.hero-card-alert {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    animation-delay: 0.6s;
    max-width: 300px;
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content {
    display: flex;
    flex-direction: column;
    font-size: 0.78rem;
    line-height: 1.4;
}

.alert-content strong {
    color: var(--navy);
}

.alert-content span {
    color: var(--warm-gray);
}

/* --- Sections --- */
.section {
    padding: var(--section-padding);
}

.section-intro {
    max-width: 640px;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terra-cotta);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--navy);
}

.accent {
    color: var(--terra-cotta);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.75;
}

/* --- Problem Section --- */
.problem-section {
    background: var(--bg-section);
}

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

.problem-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.06);
}

.problem-number {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--terra-cotta);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.problem-card h3 {
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.7;
}

/* --- Comply Features --- */
.comply-section {
    background: var(--bg-primary);
}

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

.feature-card {
    padding: 2.25rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(15, 29, 58, 0.06);
    transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
    border-color: rgba(200, 109, 79, 0.15);
    box-shadow: 0 4px 24px rgba(15, 29, 58, 0.06);
}

.feature-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--navy);
    color: var(--off-white);
    border: none;
}

.feature-card-large:hover {
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(15, 29, 58, 0.2);
}

.feature-card-large h3 {
    color: var(--white);
}

.feature-card-large p {
    color: var(--white);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--terra-cotta);
}

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

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.7;
}

.feature-card.feature-card-large p {
    color: rgba(255, 255, 255, 0.85);
}

.feature-card-large .feature-icon {
    color: var(--terra-cotta-light);
}

.feature-list {
    list-style: none;
    padding: 0;
    /* margin-top: 1.5rem; */
}

.feature-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.625rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--terra-cotta);
    border-radius: 50%;
}

/* --- Pricing Teaser --- */
.pricing-teaser {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pricing-card {
    text-align: center;
    padding: 2.5rem 3rem;
    background: var(--cream);
    border-radius: 16px;
    border: 1px solid rgba(15, 29, 58, 0.06);
    max-width: 500px;
    width: 100%;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 0.5rem;
}

.pricing-dollar {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
}

.pricing-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--navy);
}

.pricing-period {
    font-size: 0.95rem;
    color: var(--warm-gray);
    font-weight: 500;
    margin-left: 0.25rem;
}

.pricing-desc {
    font-size: 1rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

.pricing-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--warm-gray);
    font-weight: 500;
    flex-wrap: wrap;
}

.pricing-details span {
    overflow-wrap: anywhere;
}

.pricing-divider {
    color: var(--light-gray);
}

/* --- Platform Section --- */
.platform-section {
    background: var(--bg-dark);
    color: var(--off-white);
}

.platform-section .section-label {
    color: var(--terra-cotta-light);
}

.platform-section .section-title {
    color: var(--white);
}

.platform-section .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

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

.module-card {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.module-active {
    border-color: var(--terra-cotta);
    background: rgba(200, 109, 79, 0.08);
}

.module-active:hover {
    background: rgba(200, 109, 79, 0.12);
    border-color: var(--terra-cotta);
}

.module-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.module-active .module-status {
    color: var(--terra-cotta-light);
}

.module-status:has(+ .module-icon + h3 + p) {
    /* fallback — overridden below for Coming Soon */
}

.module-future .module-status {
    color: rgba(255, 255, 255, 0.4);
}

/* "Coming Soon" badge — amber to sit between Planned and active */
.module-future .module-status[data-status="coming-soon"] {
    color: var(--amber);
}

.module-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.module-active .module-icon {
    color: var(--terra-cotta-light);
}

.module-icon svg {
    width: 100%;
    height: 100%;
}

.module-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.module-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.module-active p {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Context / Stats --- */
.context-section {
    padding: 5rem 0;
    background: var(--cream);
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--slate);
    font-weight: 500;
}

.stat-cite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--warm-gray);
    color: var(--warm-gray);
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    vertical-align: middle;
    transition: border-color 0.2s, color 0.2s;
}

.stat-cite:hover {
    border-color: var(--terra-cotta);
    color: var(--terra-cotta);
}

.stat-cite-icon {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    pointer-events: none;
}

.stat-cite-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    width: 240px;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(15, 29, 58, 0.2);
    text-align: left;
    pointer-events: none;
    z-index: 100;
}

.stat-cite-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--navy);
}

.stat-cite:hover .stat-cite-tooltip,
.stat-cite:focus .stat-cite-tooltip {
    display: block;
}

/* --- Signup Section --- */
.signup-section {
    background: var(--bg-primary);
    padding: 7rem 0 8rem;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.signup-content .section-title {
    margin-bottom: 1rem;
}

.signup-benefits {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signup-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--slate);
    font-weight: 500;
}

.signup-benefit span {
    color: var(--green);
    font-weight: 700;
}

/* Form Styles */
.signup-form-wrapper {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(15, 29, 58, 0.08);
    box-shadow: 0 4px 24px rgba(15, 29, 58, 0.06);
    padding: 2.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
}

.required {
    color: var(--terra-cotta);
}

.optional {
    color: var(--warm-gray);
    font-weight: 400;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1.5px solid var(--light-gray);
    border-radius: 8px;
    background: var(--off-white);
    color: var(--navy);
    transition: all 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

select {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a4a6a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--terra-cotta);
    box-shadow: 0 0 0 3px var(--terra-cotta-glow);
    background: var(--white);
}

input::placeholder {
    color: var(--warm-gray);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.25rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.25);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero > .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 480px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 0;
    }

    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-logo { max-width: calc(100% - 56px); }
    .nav-logo-img { max-height: 36px; }

    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }

    .hide-mobile { display: none; }

    .hero-card-alert {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }

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

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

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

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .signup-form-wrapper {
        padding: 1.5rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-details {
        flex-direction: column;
        gap: 0.25rem;
    }

    .pricing-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
}
