﻿/* ============================================================
   SpaceCredit Marketing Site — Brand Theme
   Palette: Teal #01312D • Mint #0BE082 • Surfaces #FFFFFF / #F4F7F6
   ============================================================ */

:root {
    --sc-teal: #01312D;
    --sc-teal-700: #06403B;
    --sc-teal-50: #E8F4EE;
    --sc-mint: #0BE082;
    --sc-mint-600: #06B868;
    --sc-mint-50: #D7F3E2;
    --sc-ink: #0E1A18;
    --sc-muted: #5A6E6A;
    --sc-line: #E5ECEA;
    --sc-bg: #FBFDFC;
    --sc-card: #FFFFFF;
    --sc-blue-50: #E1ECFA;
    --sc-radius-sm: 10px;
    --sc-radius: 18px;
    --sc-radius-lg: 28px;
    --sc-shadow-sm: 0 4px 14px rgba(1, 49, 45, 0.06);
    --sc-shadow: 0 18px 45px rgba(1, 49, 45, 0.10);
    --sc-shadow-lg: 0 30px 80px rgba(1, 49, 45, 0.16);
    --sc-container: 1200px;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--sc-ink);
    background: var(--sc-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
    font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sc-teal); text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--sc-mint-600); }

h1, h2, h3, h4, h5, h6 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; color: var(--sc-teal); margin: 0 0 .5em; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--sc-muted); }

.container { max-width: var(--sc-container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--sc-teal); color: #FFFFFF; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-mint { background: linear-gradient(135deg, var(--sc-teal-50), #FFFFFF); }

.text-center { text-align: center; }
.muted { color: var(--sc-muted); }
.eyebrow { display: inline-block; padding: 6px 14px; background: var(--sc-teal-50); color: var(--sc-teal); border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.section-dark .eyebrow { background: rgba(11, 224, 130, .18); color: var(--sc-mint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap; }
.btn-primary { background: var(--sc-mint); color: var(--sc-teal); border-color: var(--sc-mint); }
.btn-primary:hover { background: var(--sc-mint-600); border-color: var(--sc-mint-600); color: #FFFFFF; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,224,130,.35); }
.btn-dark { background: var(--sc-teal); color: #FFFFFF; border-color: var(--sc-teal); }
.btn-dark:hover { background: #003330; color: var(--sc-mint); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--sc-teal); border-color: var(--sc-line); }
.btn-ghost:hover { border-color: var(--sc-teal); color: var(--sc-teal); }
.section-dark .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,.25); }
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }

/* ============================================================ NAV ============================================================ */
.nav { position: sticky; top: 0; background: rgba(251,253,252,0.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(229,236,234,0.5); z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--sc-container); margin: 0 auto; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; color: var(--sc-teal); font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: var(--sc-teal); font-weight: 500; font-size: .94rem; }
.nav-links a:hover, .nav-links a.active { color: var(--sc-mint-600); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--sc-teal); }

@media (max-width: 960px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #FFFFFF; padding: 16px 24px; gap: 14px; border-bottom: 1px solid var(--sc-line); }
}

/* ============================================================ HERO ============================================================ */
.hero { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero::before { width: 480px; height: 480px; background: radial-gradient(circle, rgba(11,224,130,.32), transparent 70%); top: -120px; left: -120px; }
.hero::after { width: 520px; height: 520px; background: radial-gradient(circle, rgba(1,49,45,.18), transparent 70%); bottom: -180px; right: -160px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--sc-mint-600), var(--sc-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.12rem; color: var(--sc-muted); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stores { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-stores img { height: 48px; width: auto; transition: transform .18s ease; }
.hero-stores a:hover img { transform: translateY(-2px); }
.hero-trust { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; font-size: .85rem; color: var(--sc-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; color: var(--sc-mint-600); font-weight: 800; }
.hero-illu { position: relative; }
.hero-illu img { width: 100%; max-width: 560px; margin-left: auto; }

@media (max-width: 900px) {
    .hero { padding: 56px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-illu img { margin: 0 auto; }
}

/* ============================================================ TRUST STRIP ============================================================ */
.strip { padding: 28px 0; border-top: 1px solid var(--sc-line); border-bottom: 1px solid var(--sc-line); background: #FFFFFF; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.strip-grid .stat { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--sc-teal); margin-bottom: 4px; }
.strip-grid .label { font-size: .82rem; color: var(--sc-muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 700px) { .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ============================================================ SECTION HEADER ============================================================ */
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head p { font-size: 1.05rem; }

/* ============================================================ FEATURES GRID ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--sc-card); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--sc-shadow); border-color: rgba(11,224,130,.4); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sc-teal-50); color: var(--sc-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px; }
.feature h3 { color: var(--sc-teal); margin-bottom: 8px; }
.feature p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ============================================================ HOW IT WORKS ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 28px; background: var(--sc-card); border-radius: var(--sc-radius); border: 1px solid var(--sc-line); }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--sc-mint); color: var(--sc-teal); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .94rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================ SHOWCASE ============================================================ */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase.reverse .showcase-media { order: -1; }
.showcase ul { padding: 0; margin: 0 0 24px; list-style: none; }
.showcase li { padding: 10px 0 10px 32px; position: relative; color: var(--sc-ink); font-size: .98rem; }
.showcase li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--sc-mint-50); }
.showcase li::after { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--sc-mint-600); font-weight: 800; font-size: 12px; }
.showcase-media { display: flex; align-items: center; justify-content: center; min-height: 480px; }
.phone { width: 100%; max-width: 320px; filter: drop-shadow(0 30px 60px rgba(1,49,45,.18)); }
@media (max-width: 900px) {
    .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 32px; }
    .showcase.reverse .showcase-media { order: 0; }
    .showcase-media { min-height: auto; }
}

/* ============================================================ APP SECTION (3 phones) ============================================================ */
.phones-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; max-width: 1080px; margin: 0 auto; }
.phones-row .phone { width: 100%; }
.phones-row .phone:nth-child(2) { transform: translateY(-32px); }
@media (max-width: 800px) {
    .phones-row { grid-template-columns: 1fr; }
    .phones-row .phone { max-width: 320px; margin: 0 auto; }
    .phones-row .phone:nth-child(2) { transform: none; }
}

/* ============================================================ TESTIMONIALS ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--sc-card); border-radius: var(--sc-radius); padding: 28px; border: 1px solid var(--sc-line); }
.quote .stars { color: var(--sc-mint-600); font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; font-size: 1rem; color: var(--sc-ink); line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sc-teal-50); color: var(--sc-teal); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.quote .who div { font-size: .85rem; color: var(--sc-muted); }
.quote .who strong { display: block; color: var(--sc-teal); font-size: .92rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================ FAQ ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--sc-card); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); margin-bottom: 12px; padding: 20px 24px; }
.faq details[open] { border-color: var(--sc-mint); box-shadow: var(--sc-shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--sc-teal); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sc-mint-600); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; }

/* ============================================================ FINAL CTA ============================================================ */
.cta-band { padding: 88px 0; background: linear-gradient(135deg, var(--sc-teal), #053C36); color: #FFFFFF; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% -100px, rgba(11,224,130,.25), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #FFFFFF; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.cta-band .hero-stores { justify-content: center; margin-top: 18px; }
.cta-band .btn-ghost { color: #FFFFFF; border-color: rgba(255,255,255,.25); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ============================================================ FOOTER ============================================================ */
.footer { background: #061B19; color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer h4 { color: #FFFFFF; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer a:hover { color: var(--sc-mint); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-weight: 800; font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.15rem; margin-bottom: 14px; }
.footer-brand img { height: 32px; filter: brightness(1.1); }
.footer-about p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0 0 18px; max-width: 320px; }
.footer-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-stores img { height: 38px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { color: rgba(255,255,255,.55); }
.footer-bottom .socials a:hover { color: var(--sc-mint); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================ SUB-PAGES ============================================================ */
.page-head { padding: 80px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 280px at 50% -50px, rgba(11,224,130,.18), transparent 70%); pointer-events: none; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); position: relative; }
.page-head p { max-width: 620px; margin: 12px auto 0; font-size: 1.05rem; position: relative; }

.article { max-width: 820px; margin: 0 auto; padding: 24px 24px 80px; }
.article h2 { font-size: 1.35rem; margin-top: 36px; }
.article h3 { font-size: 1.1rem; margin-top: 24px; }
.article p, .article li { color: var(--sc-ink); }
.article ul { padding-left: 22px; }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier { background: var(--sc-card); border: 1px solid var(--sc-line); border-radius: var(--sc-radius-lg); padding: 32px; }
.tier.popular { border-color: var(--sc-mint); box-shadow: var(--sc-shadow); transform: translateY(-6px); position: relative; }
.tier.popular::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--sc-mint); color: var(--sc-teal); padding: 4px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tier h3 { font-size: 1.1rem; margin-bottom: 4px; }
.tier .price { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--sc-teal); margin: 12px 0 4px; }
.tier .price small { font-size: .9rem; font-weight: 500; color: var(--sc-muted); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.tier li { padding: 8px 0 8px 24px; position: relative; font-size: .92rem; color: var(--sc-ink); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--sc-mint-600); font-weight: 800; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier.popular { transform: none; } }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin: 0 auto; }
.contact-card { background: var(--sc-card); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 28px; margin-bottom: 16px; }
.contact-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.contact-card p { margin: 0; font-size: .95rem; }
.contact-card a { color: var(--sc-teal); font-weight: 600; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; color: var(--sc-teal); margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--sc-line); font-family: inherit; font-size: .95rem; background: #FFFFFF; transition: border-color .15s ease, box-shadow .15s ease; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--sc-mint); box-shadow: 0 0 0 4px rgba(11,224,130,.18); }
.form-row textarea { min-height: 120px; resize: vertical; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Cookie banner */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 720px; margin: 0 auto; background: var(--sc-teal); color: #FFFFFF; padding: 16px 20px; border-radius: 16px; box-shadow: var(--sc-shadow-lg); display: none; gap: 16px; align-items: center; z-index: 200; flex-wrap: wrap; }
.cookie.show { display: flex; }
.cookie p { margin: 0; color: rgba(255,255,255,.85); font-size: .88rem; flex: 1 1 280px; }
.cookie .btn { padding: 10px 18px; font-size: .85rem; }

/* Floating download success */
.flash { background: var(--sc-mint-50); border: 1px solid var(--sc-mint); color: var(--sc-teal); padding: 14px 18px; border-radius: 14px; margin-bottom: 24px; }
