@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;700&display=swap");

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --card: #161616;
    --card-soft: #131313;
    --border: #222222;
    --border-strong: rgba(255, 255, 255, 0.08);
    --green: #00f5a0;
    --green-dim: #00c87e;
    --white: #f4f4f0;
    --muted: #8d8d85;
    --danger: #ff7a70;
    --heading: "Syne", sans-serif;
    --body: "DM Sans", sans-serif;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

[hidden] {
    display: none !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.45;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.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;
}

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

#main-nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-nav {
    height: 36px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a,
.footer-links a {
    text-decoration: none;
    font-family: var(--heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 244, 240, 0.7);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--green);
}

.nav-cta,
.btn-primary,
.submit-button {
    appearance: none;
    border: 0;
    background: var(--green);
    color: var(--black);
    padding: 14px 28px;
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover,
.btn-primary:hover,
.submit-button:hover,
.submit-button:focus-visible {
    background: var(--green-dim);
    transform: translateY(-1px);
}

.btn-ghost {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: var(--white);
    padding: 14px 28px;
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-1px);
}

#hero {
    min-height: clamp(620px, 82vh, 800px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.hero-bg,
.hero-scanlines,
.hero-glow {
    position: absolute;
    inset: 0;
}

.hero-bg {
    z-index: 0;
}

.hero-bg--form img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
    position: absolute;
    inset: 0;
    opacity: 1;
    filter: grayscale(18%) contrast(1.02) brightness(0.55);
    transform: scale(1.015);
    display: block;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 8, 6, 0.24) 28%, rgba(0, 0, 0, 0.74) 70%, rgba(0, 0, 0, 0.94) 100%),
        linear-gradient(110deg, rgba(0, 245, 160, 0.1) 0%, transparent 54%);
}

.hero-scanlines {
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.08) 3px,
        rgba(0, 0, 0, 0.08) 4px
    );
}

.hero-glow {
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 45% at 15% 95%, rgba(0, 245, 160, 0.16) 0%, transparent 70%);
}

.hero-line {
    position: absolute;
    bottom: 194px;
    left: 0;
    width: 38%;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 245, 160, 0.5) 0%, transparent 100%);
    z-index: 2;
}

.hero-watermark {
    position: absolute;
    top: 48%;
    right: 44px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-family: var(--heading);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(0, 245, 160, 0.25);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 80px 56px;
    max-width: 700px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 245, 160, 0.18);
    border-radius: 2px;
    background: rgba(0, 245, 160, 0.07);
    color: var(--green);
    font-family: var(--heading);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    display: block;
    animation: pulse 2s infinite;
}

.hero-title,
.section-title,
.progress-card h2,
.section-card h2,
.submit-card h2,
.success-card h1 {
    font-family: var(--heading);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-title {
    font-size: clamp(42px, 5.8vw, 76px);
    margin-bottom: 22px;
    color: var(--white);
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.6);
}

.hero-title em {
    font-style: normal;
    color: var(--green);
}

.hero-subtitle,
.section-lead,
.intro-card p,
.progress-card p,
.section-description,
.helper-text,
.submit-card p,
.success-card p,
.question-figure__caption,
.progress-text {
    color: var(--muted);
}

.hero-subtitle {
    max-width: 500px;
    margin: 0 0 34px;
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-scroll {
    position: absolute;
    right: 64px;
    bottom: 26px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.45;
}

.hero-scroll span {
    font-family: var(--heading);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    writing-mode: vertical-rl;
}

.hero-scroll::after {
    content: "";
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--green) 0%, transparent 100%);
    animation: scrollDrop 2s ease-in-out infinite;
}

.marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    background: var(--dark);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
}

.marquee-track span {
    padding: 0 40px;
    font-family: var(--heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.marquee-track .accent {
    color: var(--green);
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0 100px;
    position: relative;
    z-index: 2;
}

.page-shell--narrow {
    width: min(840px, calc(100% - 36px));
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.page-shell--success {
    padding-top: 72px;
}

section {
    padding: 0;
}

.section-label {
    display: inline-block;
    margin: 0 0 16px;
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
}

.section-title {
    font-size: clamp(34px, 3.8vw, 52px);
    max-width: 14ch;
    margin-bottom: 20px;
}

.section-lead {
    max-width: 640px;
    font-size: 17px;
    line-height: 1.8;
}

#como-funciona,
.form-intro {
    margin-bottom: 56px;
}

.intro-grid {
    margin-top: 58px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
}

.intro-card,
.progress-card,
.section-card,
.submit-card,
.success-card {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.intro-card,
.section-card,
.progress-card,
.submit-card {
    padding: 34px 30px;
}

.intro-card {
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.intro-card::before,
.section-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.intro-card:hover,
.section-card:hover,
.question-card:hover,
.question-card:focus-within {
    border-color: rgba(0, 245, 160, 0.25);
    transform: translateY(-2px);
}

.intro-card:hover::before,
.section-card:hover::before {
    transform: scaleX(1);
}

.intro-index,
.section-index {
    font-family: var(--heading);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.intro-index {
    font-size: 48px;
    color: rgba(0, 245, 160, 0.14);
    margin-bottom: 18px;
}

.intro-card h3 {
    margin: 0 0 12px;
    font-family: var(--heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.intro-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
}

.form-shell {
    display: block;
}

.progress-card {
    margin-bottom: 24px;
    background:
        linear-gradient(135deg, rgba(0, 245, 160, 0.05), transparent 46%),
        var(--card);
}

.progress-card h2,
.section-card h2,
.submit-card h2,
.success-card h1 {
    font-size: clamp(28px, 3vw, 44px);
    margin-bottom: 12px;
}

.progress-copy p:last-child,
.submit-card p:last-child {
    margin-bottom: 0;
}

.progress-meter {
    width: 100%;
    height: 10px;
    margin-top: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--green), #30f8bc);
    box-shadow: 0 0 18px rgba(0, 245, 160, 0.36);
    transition: width 0.35s ease;
}

.progress-text {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 500;
}

.section-card {
    position: relative;
    margin-bottom: 18px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.eyebrow {
    margin: 0 0 8px;
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 244, 240, 0.56);
}

.section-index {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(0, 245, 160, 0.18);
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 14px;
    background: rgba(0, 245, 160, 0.04);
    flex-shrink: 0;
}

.section-description {
    margin: 16px 0 0;
    max-width: 58ch;
}

.question-grid {
    margin-top: 26px;
    display: grid;
    gap: 14px;
}

.question-card {
    background: var(--card-soft);
    border: 1px solid var(--border-strong);
    padding: 18px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.question-card.is-hidden {
    display: none;
}

.question-label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--white);
}

.required-mark {
    color: var(--green);
}

.helper-text,
.question-figure__caption {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
}

.text-input,
.text-area {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font: inherit;
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.text-input,
.choice-pill span,
.submit-button,
.btn-primary,
.btn-ghost,
.question-figure,
.contact-block,
.contact-icon {
    border-radius: 2px;
}

.text-area {
    min-height: 120px;
    resize: vertical;
}

.text-input::placeholder,
.text-area::placeholder {
    color: rgba(244, 244, 240, 0.36);
}

.text-input:focus,
.text-area:focus {
    border-color: rgba(0, 245, 160, 0.32);
    box-shadow: 0 0 0 4px rgba(0, 245, 160, 0.08);
    transform: translateY(-1px);
}

.text-input[type="date"] {
    color-scheme: dark;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.option-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.choice-pill {
    position: relative;
    display: block;
    cursor: pointer;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.choice-pill span {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-pill input:focus + span,
.choice-pill:hover span {
    border-color: rgba(0, 245, 160, 0.24);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.choice-pill input:checked + span {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.95), rgba(0, 200, 126, 0.92));
    border-color: transparent;
    color: var(--black);
}

.choice-pill--checkbox input:checked + span {
    background: rgba(0, 245, 160, 0.1);
    border-color: rgba(0, 245, 160, 0.24);
    color: var(--green);
}

.range-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.range-input {
    width: 100%;
    accent-color: var(--green);
}

.range-output {
    min-width: 56px;
    padding: 10px 14px;
    text-align: center;
    background: rgba(0, 245, 160, 0.08);
    color: var(--white);
    font-family: var(--heading);
    font-weight: 700;
}

.question-figure {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.question-figure--light {
    background: #f2f2ec;
    border-color: rgba(255, 255, 255, 0.14);
}

.question-figure__image {
    display: block;
    width: 100%;
    height: auto;
}

[data-question="urine_color"] .option-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

[data-question="stool_shape"] .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-question="urine_color"] .choice-pill span,
[data-question="stool_shape"] .choice-pill span {
    min-height: 60px;
}

.submit-card {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(0, 245, 160, 0.05), transparent 52%),
        var(--card);
}

.submit-card p {
    margin: 0;
}

.submit-button {
    flex-shrink: 0;
}

.submit-button--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.success-card {
    width: 100%;
    padding: 44px;
    text-align: left;
}

.success-logo {
    width: min(260px, 72vw);
    margin: 0 0 26px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.contact-block {
    margin: 28px 0 10px;
    padding: 20px;
    border: 1px solid rgba(0, 245, 160, 0.16);
    background:
        linear-gradient(135deg, rgba(0, 245, 160, 0.05), transparent 50%),
        rgba(255, 255, 255, 0.02);
}

.contact-title {
    margin: 0 0 14px;
    font-family: var(--heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
}

.contact-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-icon {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(0, 245, 160, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: var(--green);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.contact-icon:hover {
    border-color: rgba(0, 245, 160, 0.32);
    background: rgba(0, 245, 160, 0.08);
    transform: translateY(-1px);
}

.contact-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.contact-links a {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-links a:hover {
    color: var(--white);
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-bg--plans img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
    position: absolute;
    inset: 0;
    opacity: 1;
    filter: grayscale(22%) contrast(1.04) brightness(0.4);
    transform: scale(1.03);
    display: block;
}

.plans-intro,
.plans-journey {
    margin-bottom: 56px;
}

.plans-grid,
.journey-grid {
    display: grid;
    gap: 22px;
}

.plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.plan-card,
.journey-card,
.difference-card,
.plans-callout {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.plan-card,
.journey-card,
.difference-card {
    position: relative;
    overflow: hidden;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 32px 28px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card::before,
.journey-card::before,
.difference-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.plan-card:hover,
.journey-card:hover,
.difference-card:hover {
    border-color: rgba(0, 245, 160, 0.26);
    transform: translateY(-2px);
}

.plan-card:hover::before,
.journey-card:hover::before,
.difference-card:hover::before {
    transform: scaleX(1);
}

.plan-card--featured {
    border-color: rgba(0, 245, 160, 0.28);
    background:
        linear-gradient(180deg, rgba(0, 245, 160, 0.08), transparent 28%),
        var(--card);
}

.plan-card--premium {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
        var(--card);
}

.plan-card--coming-soon {
    background:
        linear-gradient(180deg, rgba(255, 122, 112, 0.08), transparent 24%),
        var(--card);
}

.plan-ribbon {
    position: absolute;
    top: 18px;
    right: -44px;
    padding: 8px 52px;
    background: rgba(255, 122, 112, 0.95);
    color: var(--black);
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: rotate(34deg);
    box-shadow: 0 18px 40px rgba(255, 122, 112, 0.18);
}

.plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.plan-header > div:first-child {
    flex: 1 1 240px;
    min-width: 0;
}

.plan-kicker,
.plan-badge,
.journey-step,
.difference-index {
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.plan-kicker,
.difference-index {
    color: var(--green);
}

.plan-badge {
    padding: 7px 12px;
    border: 1px solid rgba(0, 245, 160, 0.18);
    background: rgba(0, 245, 160, 0.08);
    color: var(--green);
    margin-left: auto;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
}

.plan-title,
.difference-card h3,
.journey-card h3 {
    margin: 10px 0 0;
    font-family: var(--heading);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.plan-title {
    font-size: clamp(26px, 3vw, 34px);
}

.plan-price {
    margin: 0;
    font-family: var(--heading);
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.05em;
    color: var(--white);
}

.plan-installments,
.plan-summary,
.journey-card p,
.difference-card p,
.plans-callout p {
    color: var(--muted);
}

.plan-installments {
    margin: 8px 0 0;
    font-size: 14px;
}

.plan-summary {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
}

.plan-list {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.65;
}

.plan-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(0, 245, 160, 0.08);
}

.plan-note {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-note p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.btn-disabled {
    appearance: none;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(244, 244, 240, 0.42);
    padding: 14px 28px;
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    cursor: not-allowed;
    pointer-events: none;
}

.differences-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.difference-card,
.journey-card {
    padding: 28px 24px;
}

.difference-card h3,
.journey-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.08;
}

.difference-card p,
.journey-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
}

.journey-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 38px;
}

.journey-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(0, 245, 160, 0.1);
    border: 1px solid rgba(0, 245, 160, 0.18);
    color: var(--green);
    letter-spacing: 0;
}

.plans-callout {
    margin-top: 28px;
    padding: 26px 28px;
    background:
        linear-gradient(135deg, rgba(0, 245, 160, 0.05), transparent 48%),
        rgba(255, 255, 255, 0.02);
}

.plans-callout p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
}

.hero--compact {
    min-height: clamp(480px, 70vh, 620px);
}

.hero-bg--payment img,
.hero-bg--schedule img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 1;
    display: block;
    transform: scale(1.02);
}

.hero-bg--payment img {
    object-position: 50% 28%;
    filter: grayscale(18%) contrast(1.02) brightness(0.42);
}

.hero-bg--schedule img {
    object-position: 50% 12%;
    filter: grayscale(14%) contrast(1.03) brightness(0.48);
}

.payment-intro {
    margin-bottom: 40px;
}

.payment-layout,
.schedule-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: start;
}

.payment-summary-card,
.payment-form-card,
.payment-status-card,
.schedule-summary-card,
.schedule-embed-card {
    background:
        linear-gradient(135deg, rgba(0, 245, 160, 0.04), transparent 54%),
        var(--card);
}

.payment-summary-card,
.payment-form-card,
.schedule-summary-card,
.schedule-embed-card {
    padding: 36px 32px;
}

.payment-plan-kicker {
    margin-bottom: 8px;
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
}

.payment-plan-price {
    margin: 14px 0 0;
    font-family: var(--heading);
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.payment-plan-installments,
.payment-plan-summary,
.payment-form-copy,
.schedule-note {
    color: var(--muted);
}

.payment-plan-installments {
    margin: 8px 0 0;
    font-size: 14px;
}

.payment-plan-summary,
.payment-form-copy,
.schedule-note {
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.8;
}

.payment-plan-list {
    margin-top: 26px;
}

.payment-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.payment-field {
    display: grid;
    gap: 8px;
}

.payment-field span {
    font-family: var(--heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-method-pill,
.payment-status-chip {
    border: 1px solid rgba(0, 245, 160, 0.18);
    background: rgba(0, 245, 160, 0.07);
}

.payment-method-pill {
    padding: 9px 14px;
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
}

.payment-feedback {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 122, 112, 0.24);
    background: rgba(255, 122, 112, 0.08);
    color: #ffd7d1;
    font-size: 14px;
    line-height: 1.7;
}

.payment-status-card {
    width: 100%;
    padding: 44px;
}

.payment-status-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
}

.payment-status-chip {
    padding: 16px;
}

.payment-status-chip span {
    display: block;
    margin-bottom: 8px;
    color: rgba(244, 244, 240, 0.62);
    font-family: var(--heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.payment-status-chip strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.payment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.payment-actions .btn-ghost,
.payment-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.schedule-layout {
    grid-template-columns: 1fr;
}

.schedule-embed {
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #ffffff;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.schedule-embed iframe {
    display: block;
    height: 860px;
}

.schedule-embed-card h2 {
    margin-bottom: 10px;
}

.schedule-embed-copy {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.schedule-summary-card {
    position: static;
}

.schedule-external-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

body[data-scheduling-page]::before {
    display: none;
}

body[data-scheduling-page] .hero-scanlines {
    opacity: 0.35;
}

footer {
    border-top: 1px solid var(--border);
    padding: 40px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--black);
}

footer img {
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

footer p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

@keyframes scrollDrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 0;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 960px) {
    #main-nav {
        padding: 18px 24px;
    }

    #hero {
        min-height: 72vh;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        padding: 0 24px 48px;
        max-width: 100%;
    }

    .hero-watermark,
    .hero-scroll {
        display: none;
    }

    .hero-line {
        width: 54%;
        bottom: 156px;
    }

    .hero-bg--form img {
        object-position: 50% 18%;
    }

    .hero-bg--plans img {
        object-position: 54% 26%;
    }

    .hero-bg--payment img {
        object-position: 54% 24%;
    }

    .hero-bg--schedule img {
        object-position: 50% 10%;
    }

    .page-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 72px;
    }

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

    .plans-grid,
    .differences-grid,
    .journey-grid {
        grid-template-columns: 1fr;
    }

    .payment-layout,
    .schedule-layout {
        grid-template-columns: 1fr;
    }

    .payment-status-summary {
        grid-template-columns: 1fr;
    }

    .submit-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .submit-button {
        width: 100%;
    }

    footer {
        padding: 40px 24px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .hero-title {
        font-size: clamp(38px, 12vw, 56px);
    }

    .hero-subtitle {
        max-width: 460px;
        margin-bottom: 28px;
    }

    .hero--compact {
        min-height: 440px;
    }

    .section-title,
    .progress-card h2,
    .section-card h2,
    .submit-card h2,
    .success-card h1 {
        font-size: clamp(28px, 10vw, 40px);
        max-width: none;
    }

    .option-grid,
    .option-grid--compact,
    [data-question="urine_color"] .option-grid,
    [data-question="stool_shape"] .option-grid {
        grid-template-columns: 1fr;
    }

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

    .success-card,
    .intro-card,
    .section-card,
    .progress-card,
    .submit-card,
    .plan-card,
    .journey-card,
    .difference-card,
    .plans-callout,
    .payment-summary-card,
    .payment-form-card,
    .payment-status-card,
    .schedule-summary-card,
    .schedule-embed-card {
        padding: 24px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 22px;
    }

    .plan-ribbon {
        right: -50px;
        padding: 8px 56px;
        font-size: 10px;
    }

    .payment-actions {
        flex-direction: column;
    }

    .payment-actions .btn-ghost,
    .payment-actions .btn-primary,
    .submit-button--link,
    .schedule-external-link {
        width: 100%;
    }

    .schedule-embed iframe {
        height: 700px;
    }
}
