/* Cucocode — modern landing styles. Self-contained: system fonts, no external
   assets. Brand accent is the studio cyan; hero uses a vibrant cyan→indigo
   gradient with soft pink/yellow glows that echo the Tumble logo. */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --ink: #15181f;
  --ink-soft: #525d6b;
  --line: #e4e8ee;
  --brand: #12b9cc;
  --brand-bright: #3ee0f0;
  --brand-dark: #0a8a9c;
  --accent-pink: #ff8bc2;
  --accent-yellow: #ffd24d;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px rgba(16,24,40,.08);
  --shadow-lg: 0 20px 50px rgba(20,30,70,.18);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 800; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #042027; box-shadow: 0 6px 18px rgba(18,185,204,.32); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-white { background: #fff; color: #1a3aa0; box-shadow: 0 8px 22px rgba(10,20,60,.22); }
.btn-white:hover { background: #eef2ff; color: #1a3aa0; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-ghost-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }

/* coming-soon pill */
.soon {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: .92rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
}
.soon-dark {
  background: #eef7f9;
  border: 1px solid var(--line);
  color: var(--brand-dark);
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { color: var(--ink-soft); font-weight: 600; font-size: .98rem; }
.nav-links > a:hover { color: var(--ink); text-decoration: none; }
.nav-links .btn { color: #042027; }
.nav-cta { margin-left: 4px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 104px 0 112px;
  background:
    radial-gradient(820px 460px at 10% 118%, rgba(255,139,194,.42), transparent 60%),
    radial-gradient(680px 440px at 90% -12%, rgba(255,210,77,.40), transparent 56%),
    linear-gradient(135deg, #22d3ee 0%, #3b82f6 54%, #6366f1 100%);
}
.hero-inner { max-width: 800px; position: relative; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 750;
  margin: 0 0 16px;
}
.hero .eyebrow { color: rgba(255,255,255,.92); }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 820;
  margin: 0 0 18px;
}
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.94); margin: 0; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .eyebrow { color: var(--brand-dark); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 820; margin: 6px 0 18px; }
.section .lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 660px; }
.subhead { font-size: 1.3rem; font-weight: 750; margin: 48px 0 20px; }

/* ---------- product showcase ---------- */
.product {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 36px;
}
.product-logo { display: inline-block; }
.product-logo img { height: 56px; width: auto; display: block; }
.product-logo:hover { text-decoration: none; }
.product-tagline { color: var(--brand-dark); font-weight: 700; font-size: 1.1rem; margin: 14px 0 14px; }
.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border-radius: 20px;
  background: linear-gradient(160deg, #e9f7fb, #dbe9fe);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .14s ease;
}
.product-media:hover { transform: translateY(-4px); }
.product-media img { max-height: 460px; width: auto; max-width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); display: block; }

/* ---------- steps + features ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section-alt .step { background: #fff; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-bright), #6366f1);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h4, .feature h4 { font-size: 1.1rem; font-weight: 720; margin-bottom: 7px; }
.step p, .feature p { color: var(--ink-soft); margin: 0; font-size: .99rem; }

.feature {
  padding: 22px 24px;
  border-left: 3px solid var(--brand);
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow);
}

.store-list { list-style: none; padding: 0; margin: 18px 0 0; }
.store-list li { margin: 6px 0; color: var(--ink-soft); }

/* ---------- screenshot carousel ---------- */
.carousel { position: relative; margin-top: 32px; }
.car-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { height: 8px; }
.car-track::-webkit-scrollbar-track { background: transparent; }
.car-track::-webkit-scrollbar-thumb { background: #cfdae6; border-radius: 4px; }
.car-slide { flex: 0 0 auto; width: 246px; scroll-snap-align: center; margin: 0; }
.shot-frame {
  aspect-ratio: 9 / 20;
  background: linear-gradient(160deg, #e9f7fb, #dbe9fe);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.shot-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.car-slide figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.car-slide figcaption b { color: var(--brand-dark); }
.car-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease, color .15s ease;
}
.car-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.car-prev { left: -10px; }
.car-next { right: -10px; }
.car-slide .shot-frame { cursor: zoom-in; }

/* ---------- lightbox gallery ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 10, 20, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 460px);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.lb-cap {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  text-align: center;
  color: #cdd9e6;
  font-size: .98rem;
  font-weight: 600;
}
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lightbox img { max-width: 94vw; }
}

/* ---------- footer (Bumble-style, dark, multi-column) ---------- */
.site-footer {
  background: linear-gradient(160deg, #141528 0%, #1b1b3c 100%);
  color: #aab4d4;
  padding: 72px 0 40px;
  font-size: .95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 50px; width: auto; display: block; margin-bottom: 18px; }
.footer-brand p { margin: 0; color: #8b95bb; max-width: 280px; line-height: 1.6; }
.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6f7aa3;
  font-weight: 700;
  margin: 0 0 16px;
}
.footer-col a, .footer-col span {
  display: block;
  color: #d3dbf0;
  margin: 10px 0;
  font-weight: 500;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col span { color: #6f7aa3; }
.footer-bottom { padding-top: 28px; }
.footer-bottom p { margin: 0; color: #6f7aa3; font-size: .88rem; line-height: 1.6; }

/* ---------- legal / content pages ---------- */
.doc { padding: 60px 0 76px; }
.doc h1 { font-size: 2.2rem; font-weight: 820; margin-bottom: 6px; }
.doc h2 { font-size: 1.3rem; font-weight: 720; margin: 38px 0 10px; }
.doc .updated { color: var(--ink-soft); margin-top: 0; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: .35em 0; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; }
  .product-media { order: -1; max-width: 380px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-links { gap: 14px; }
  .nav-links > a:not(.btn) { display: none; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 60px 0; }
  .car-btn { display: none; }
  .car-slide { width: 210px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
