/*
  gekoo.id landing. Tokens follow the Claude Design reference
  (landing/reference/Gekoo-Landing.html): Outfit, terracotta on deep brown
  and cream, the same brand language as the product.
*/

:root {
  --accent: #b84a2b;
  --accent-deep: #8f3517;
  --brown: #2b1d12;
  --brown-soft: #39281a;
  --cream: #f4ebd9;
  --cream-bright: #fcf9f1;
  --sand: #f7dfae;
  --ink: #1f2430;
  --secondary: #545b6e;
  --muted: #7a8194;
  --border: #ebe0c9;
  --radius: 18px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--cream-bright);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--sand); color: var(--accent-deep); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(43, 29, 18, 0.92);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand img { width: 26px; height: 26px; }
.brand .tld { color: var(--accent); }
.brand-cream, .brand-cream .tld { color: var(--cream); }
.brand-cream .tld { opacity: 0.85; }
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:hover { color: #fff; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% 10%, rgba(184, 74, 43, 0.35), transparent 60%),
    linear-gradient(180deg, #3a2617 0%, var(--brown) 70%);
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 29, 18, 0.35) 0%, rgba(43, 29, 18, 0.82) 85%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 24px 110px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero .kicker { color: var(--sand); }
.hero h1 {
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
}
.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------- testimonial */

.quote {
  position: relative;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(184, 74, 43, 0.28), transparent 55%),
    linear-gradient(180deg, var(--brown-soft), var(--brown));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.quote-inner {
  position: relative;
  z-index: 1;
  padding: 90px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.quote .kicker { color: var(--sand); }
.quote blockquote {
  margin-top: 20px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
}

/* -------------------------------------------------------------- marquee */

.marquee {
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid rgba(244, 235, 217, 0.14);
  border-bottom: 1px solid rgba(244, 235, 217, 0.14);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.marquee-track span::after { content: "·"; margin-left: 34px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ------------------------------------------------------------- sections */

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .kicker { color: var(--accent); }
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 14px 0 16px;
}
.section-head p { color: var(--secondary); font-size: 17px; }

/* products */

.produk { background: var(--cream); }
.produk-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.produk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.produk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(43, 29, 18, 0.12);
}
.produk-shot {
  background: var(--brown);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.produk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.produk-shot-split { display: grid; grid-template-rows: 1fr 1fr; }
.produk-shot-split img { height: 100%; }
.produk-body { padding: 24px 26px 28px; }
.produk-body .num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.produk-body h3 { font-size: 22px; font-weight: 800; margin: 10px 0 8px; letter-spacing: -0.01em; }
.produk-body p { color: var(--secondary); font-size: 15px; }

/* how it works */

.cara { background: var(--brown); color: #fff; }
.cara .section-head .kicker { color: var(--sand); }
.cara .section-head p { color: rgba(255, 255, 255, 0.75); }
.cara-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.cara-step {
  background: var(--brown-soft);
  border: 1px solid rgba(244, 235, 217, 0.12);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
}
.cara-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 18px;
}
.cara-step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.cara-step p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; }

.stats {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--sand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

/* pricing */

.harga { background: var(--cream-bright); }
.harga-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.harga-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.harga-card.pop {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 44px rgba(184, 74, 43, 0.16);
}
.pop-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  border-radius: 999px;
  padding: 6px 14px;
}
.harga-card h3 { font-size: 20px; font-weight: 800; }
.harga-card .price {
  margin: 14px 0 4px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.harga-card .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-note { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.harga-card ul { list-style: none; margin: 14px 0 26px; flex: 1; }
.harga-card li {
  padding: 9px 0 9px 28px;
  border-top: 1px dashed var(--border);
  font-size: 15px;
  color: var(--secondary);
  position: relative;
}
.harga-card li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--accent);
  font-weight: 800;
}

/* cta band */

.cta {
  position: relative;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 1;
  padding: 92px 24px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.cta p { font-size: 17px; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; }
.cta-mark {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 340px;
  opacity: 0.16;
  filter: brightness(4);
}

/* footer */

.footer { background: var(--brown); color: rgba(255, 255, 255, 0.8); }
.footer-inner { padding: 64px 24px 28px; }
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding-bottom: 44px;
}
.footer .tag { margin-top: 12px; font-weight: 700; color: var(--sand); }
.footer .desc { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.6); max-width: 30ch; }
.footer h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; font-size: 14.5px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(244, 235, 217, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* legal pages */

.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--secondary); font-size: 15.5px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }

/* Reveal on scroll, FAIL-VISIBLE by construction.

   Static CSS never hides anything: the resting style of every section is
   fully visible, and entering the viewport merely PLAYS this animation
   forward to that resting style, from a partial fade and a small rise.
   Fill mode stays the default (none), so a script that never runs, an
   observer that misfires, or an animation cut mid-flight all land on the
   same page, intact. The reference bundle and two earlier attempts here hid
   content first and revealed it second; this is that order inverted. */

@keyframes reveal-rise {
  from { opacity: 0.3; transform: translateY(16px); }
}

.reveal-play { animation: reveal-rise 0.65s cubic-bezier(0.2, 0.7, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  .reveal-play { animation: none; }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
  .produk-grid, .harga-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .cara-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 72px 0; }
  .cara-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
