* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy-deep: #1a3a5c;
    --navy-mid: #4a8bc2;
    --sky-blue: #87CEEB;
    --scarlet: #C41E3A;
    --scarlet-glow: rgba(196, 30, 58, 0.35);
    --white: #ffffff;
    --frosted-bg: rgba(10, 20, 40, 0.45);
    --frosted-border: rgba(255, 255, 255, 0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--navy-deep);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── SKY GRADIENT PAGE ─────────────────────────────────────── */

.sky-page {
    min-height: 100vh;
    background: linear-gradient(
        to bottom,
        #0d2238 0%,
        #1a3a5c 18%,
        #2d5f8a 38%,
        #4a8bc2 62%,
        #6baed6 80%,
        #87CEEB 100%
    );
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Stars */
.stars {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 35%;
    pointer-events: none;
    z-index: 1;
}
.star {
    position: absolute;
    width: 2px; height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0;
}
@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.9; transform: scale(1.2); }
}

/* Scarlet H */
.scarlet-h-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 2;
    pointer-events: none;
}
.scarlet-h {
    font-family: Georgia, serif;
    font-size: clamp(280px, 55vw, 520px);
    font-weight: bold;
    color: var(--scarlet);
    line-height: 1;
    text-shadow:
        0 0 80px var(--scarlet-glow),
        0 0 160px rgba(196, 30, 58, 0.2),
        0 4px 40px rgba(0, 0, 0, 0.3);
    animation: hFadeIn 2.5s ease forwards;
    opacity: 0;
    user-select: none;
}
@keyframes hFadeIn {
    0% { opacity: 0; transform: scale(0.97); }
    100% { opacity: 1; transform: scale(1); }
}

/* Clouds */
.clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
.cloud {
    position: absolute;
    filter: blur(var(--blur, 6px));
    opacity: var(--opacity, 0.88);
    animation: drift var(--speed, 60s) linear infinite;
    animation-delay: var(--delay, 0s);
}
.cloud svg ellipse { fill: white; }

@keyframes drift {
    from { transform: translateX(var(--start, -200px)); }
    to   { transform: translateX(calc(100vw + 300px)); }
}

/* Brand name top */
.sky-brand {
    position: relative;
    z-index: 10;
    margin-top: 52px;
    font-family: Georgia, serif;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
    animation: fadeUp 1s ease 0.3s both;
}

/* Sky content center */
.sky-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: auto;
    margin-bottom: 0;
    padding: 0 24px;
    animation: fadeUp 1s ease 0.8s both;
}

.sky-headline {
    font-family: Georgia, serif;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: normal;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    margin-bottom: 14px;
}

.sky-sub {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    line-height: 1.65;
    margin-bottom: 10px;
}

.sky-for {
    font-size: clamp(0.68rem, 1.2vw, 0.8rem);
    color: rgba(255, 255, 255, 0.48);
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Frosted proof strip */
.proof-strip {
    display: inline-block;
    background: rgba(10, 20, 40, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 22px;
    font-size: clamp(0.62rem, 1.1vw, 0.75rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 680px;
    text-align: center;
}

/* Ghost buttons */
.btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.btn-ghost {
    font-family: Georgia, serif;
    font-size: clamp(0.78rem, 1.3vw, 0.88rem);
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 11px 26px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    display: inline-block;
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.95);
}

/* No-data notice */
.no-data {
    position: fixed;
    bottom: 12px;
    right: 16px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.28);
    font-family: Georgia, serif;
    z-index: 999;
    pointer-events: none;
}

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

/* ─── PILOT / PRICING PAGES (shared dark base) ────────────────── */

.page-wrap {
    min-height: 100vh;
    padding: 0 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pricing page uses night.png as background */
.pricing-page {
    background: url('night.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
}
.pricing-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 8, 20, 0.55) 0%,
        rgba(4, 8, 20, 0.18) 30%,
        rgba(4, 8, 20, 0.08) 55%,
        rgba(4, 8, 20, 0.35) 100%
    );
    z-index: 0;
}
.pricing-page > * { position: relative; z-index: 1; }

.pilot-page {
    background: linear-gradient(to bottom, #0d2238, #1a3a5c);
}

/* Back link */
.back-link {
    align-self: flex-start;
    margin-top: 40px;
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}
.back-link:hover { color: rgba(255, 255, 255, 0.85); }

/* Small H */
.h-small {
    font-family: Georgia, serif;
    font-size: 48px;
    color: var(--scarlet);
    opacity: 0.7;
    line-height: 1;
    margin-top: 40px;
    margin-bottom: 18px;
}

/* Page heading */
.page-heading {
    font-family: Georgia, serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: normal;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 16px;
}

.page-sub {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 36px;
}

/* Frosted chip */
.frosted-chip {
    background: var(--frosted-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--frosted-border);
    border-radius: 8px;
    padding: 14px 22px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.65;
    max-width: 560px;
    text-align: center;
    margin-bottom: 32px;
}

/* Steps card */
.steps-card {
    background: var(--frosted-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--frosted-border);
    border-radius: 12px;
    padding: 32px 36px;
    max-width: 580px;
    width: 100%;
    margin-bottom: 28px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}
.step:last-child { margin-bottom: 0; }

.step-num {
    font-family: Georgia, serif;
    font-size: 1.3rem;
    color: var(--scarlet);
    font-weight: bold;
    min-width: 24px;
    padding-top: 1px;
}

.step-content {}
.step-title {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 6px;
    font-weight: normal;
}
.step-body {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.7;
}

/* Proof bar */
.proof-bar {
    background: var(--frosted-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--frosted-border);
    border-radius: 6px;
    padding: 14px 22px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 560px;
    text-align: center;
    margin-bottom: 28px;
}

/* Price box */
.price-box {
    background: var(--frosted-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--frosted-border);
    border-radius: 12px;
    padding: 30px 36px;
    max-width: 580px;
    width: 100%;
    text-align: center;
    margin-bottom: 28px;
}

.price-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 10px;
}

.price-amount {
    font-family: Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: normal;
    margin-bottom: 8px;
}

.price-detail {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 6px;
    line-height: 1.5;
}

.price-result {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.72);
    font-style: italic;
    margin-top: 14px;
    line-height: 1.5;
}

/* ─── PRICING CARDS ─────────────────────────────────────────── */

.pricing-heading-block {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 36px;
}

.cards-row {
    display: flex;
    gap: 18px;
    max-width: 960px;
    width: 100%;
    align-items: stretch;
    margin-bottom: 28px;
}

.pricing-card {
    flex: 1;
    background: rgba(10, 20, 40, 0.52);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.pricing-card:hover { transform: translateY(-3px); }

.pricing-card.highlight {
    border-color: rgba(196, 30, 58, 0.4);
    background: rgba(30, 10, 20, 0.55);
}
.pricing-card.highlight:hover { border-color: rgba(196, 30, 58, 0.7); }

.card-tier {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 6px;
}

.card-name {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.card-brief {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-price {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: normal;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}
.card-features li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.9;
    padding-left: 16px;
    position: relative;
}
.card-features li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: rgba(255, 255, 255, 0.28);
}

.card-result {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    font-style: italic;
    line-height: 1.55;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Enterprise + footer lines */
.enterprise-line {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.6;
    max-width: 560px;
}
.enterprise-line a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.25);
}

.founder-line {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 24px;
}

/* ─── SHARED UTILITIES ──────────────────────────────────────── */

.btn-group-center {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.founder-credit {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
    line-height: 1.8;
    margin-top: 24px;
    max-width: 500px;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */

@media (max-width: 720px) {
    .cards-row {
        flex-direction: column;
    }
    .steps-card, .price-box { padding: 24px 20px; }
    .btn-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .sky-brand { margin-top: 36px; }
    .proof-strip { padding: 10px 14px; }
}
