/*
 * Landing page Ocean Space Member Club (resources/views/landing.blade.php).
 * Tanpa framework dan tanpa JavaScript; font Plus Jakarta Sans (OFL) di-host sendiri.
 */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans/PlusJakartaSans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #18181b;
  --ink-2: #232327;
  --ink-3: #2f2f35;
  --ink-line: #3a3a40;
  --deep: #0e0e10;
  --ground: #f7f7f5;
  --surface: #ffffff;
  --line: #e7e5e4;
  --text: #3f3f46;
  --muted: #67676f;
  --gold: #c8a464;
  --gold-pale: #e6cf9c;
  --gold-soft: #f4eedf;
  --gold-line: #e4d6b8;
  --gold-text: #7a5f2a;
  --on-dark: #b9b9c1;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1160px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold-pale); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico--line { stroke-width: 1.9; }

/* ------------------------------------------------------------------ Tombol */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: 700 14px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn--gold { background: var(--gold); border-color: #b08f50; color: #2e2412; }
.btn--gold:hover { background: #d3b177; transform: translateY(-1px); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  height: 60px;
  padding: 0 22px 0 12px;
  border: 1.5px solid #4a4a52;
  border-radius: 15px;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.store:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 28px rgba(200, 164, 100, 0.22); }
.store__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(200, 164, 100, 0.14); color: var(--gold); }
.store__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.store small { display: block; color: var(--on-dark); font-size: 11px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2; }
.store strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.store.is-soon { border-style: dashed; border-color: #5a5a62; cursor: default; }
.store.is-soon .store__ico { color: #8d8d96; background: rgba(255, 255, 255, 0.06); }
.store.is-soon strong { color: #e4e4e8; }

/* ------------------------------------------------------------------ Navigasi */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(24, 24, 27, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; font-weight: 600; }
.nav__links a { color: var(--on-dark); text-decoration: none; transition: color 0.15s ease; }
.nav__links a:hover { color: #fff; }

/* ------------------------------------------------------------------ Hero */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -12%;
  width: 78%;
  height: 130%;
  background: radial-gradient(closest-side, rgba(200, 164, 100, 0.3), rgba(200, 164, 100, 0.09) 55%, transparent 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; }
.hero h1 { margin: 16px 0 20px; font-size: clamp(2.5rem, 4.9vw, 4.2rem); font-weight: 800; letter-spacing: -0.038em; line-height: 1.04; text-wrap: balance; }
.hero h1 em { color: var(--gold); font-style: normal; }
.lead { max-width: 33em; color: var(--on-dark); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; }
.hero .stores { margin-top: 32px; }
.hero__note { margin-top: 14px; color: #8d8d96; font-size: 13px; font-weight: 600; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.stat dt { color: #8d8d96; font-size: 13px; font-weight: 600; }
.stat dd { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }

.hero__visual { position: relative; display: flex; align-items: flex-start; justify-content: center; min-height: 640px; padding-top: 8px; }
.hero__brands { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 22px; color: #8d8d96; font-size: 13px; font-weight: 600; text-align: center; }
.hero__brands span { color: var(--gold-pale); }
.hero__brands i { margin-inline: 10px; color: var(--gold); font-style: normal; }

/* ------------------------------------------------------------------ Ponsel */

.phone {
  --w: 290px;
  position: relative;
  width: var(--w);
  aspect-ratio: 1290 / 2796;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.168);
  background: linear-gradient(155deg, #43434b 0%, #1b1b1e 45%, #0c0c0e 100%);
  box-shadow: inset 0 0 0 1.5px #5a5a63, 0 48px 90px -24px rgba(0, 0, 0, 0.7), 0 18px 36px rgba(0, 0, 0, 0.35);
}
.phone__screen { width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.136); background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--front { z-index: 2; }
.phone--back { --w: 252px; position: absolute; z-index: 1; top: 74px; right: 0; transform: rotate(7deg); transform-origin: 50% 100%; }

.float {
  --r: 0deg;
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transform: rotate(var(--r));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}
.float svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; }
.float small { display: block; font-size: 11px; font-weight: 600; opacity: 0.78; }
.float--points { --r: -5deg; left: 2%; bottom: 17%; background: var(--gold); color: #2e2412; }
.float--points svg { background: #2e2412; stroke: #fff; }
.float--level { --r: 4deg; right: 1%; bottom: 7%; background: var(--ink-2); border: 1px solid var(--ink-line); color: #fff; }
.float--level svg { background: rgba(200, 164, 100, 0.16); stroke: var(--gold); }

/* ------------------------------------------------------------------ Bagian umum */

.section { padding: 104px 0; }
.section--white { background: var(--surface); }
.section--dark { background: var(--ink); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.section--dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(200, 164, 100, 0.2), transparent 100%);
}
.head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.head .eyebrow { display: block; margin-bottom: 14px; color: var(--gold-text); }
.section--dark .head .eyebrow { color: var(--gold); }
.head h2, .cta h2 { color: var(--ink); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.032em; line-height: 1.1; text-wrap: balance; }
.head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.section--dark .head h2 { color: #fff; }
.section--dark .head p { color: var(--on-dark); }

/* ------------------------------------------------------------------ Fitur */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(24, 24, 27, 0.16); }
.feature__ico { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 18px; background: var(--gold-soft); }
.feature__ico svg { width: 40px; height: 40px; }
.feature h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.018em; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ------------------------------------------------------------------ Galeri */

.gallery { display: flex; justify-content: center; gap: 30px; }
.shot { flex: none; width: 232px; text-align: center; }
.shot .phone { --w: 232px; margin-inline: auto; }
.shot figcaption { margin-top: 26px; }
.shot strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.shot span { display: block; margin-top: 6px; color: var(--on-dark); font-size: 0.92rem; line-height: 1.55; }
.shot:nth-child(odd) .phone { transform: translateY(26px); }

/* ------------------------------------------------------------------ Cara kerja */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--ground); counter-increment: step; }
.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 20px;
  color: #a07a35; /* emas yang lebih pekat: kontras ≥ 3:1 untuk angka besar di latar terang */
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.step h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.step p { color: var(--muted); }
.step__ico { position: absolute; top: 26px; right: 26px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: var(--gold-soft); }
.step__ico svg { width: 38px; height: 38px; }

/* ------------------------------------------------------------------ Level */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 4px; overflow: hidden; padding: 28px; border-radius: 26px; color: #fff; }
.tier--silver { background: #6f747d; }
.tier--gold { background: #8e6b2c; }
.tier--platinum { background: #3e424c; }
.tier__mark { position: absolute; right: -44px; bottom: -52px; width: 210px; height: 210px; opacity: 0.1; }
.tier__brand { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 13px; font-weight: 700; }
.tier__brand svg { width: 20px; height: 20px; }
.tier h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: 0.2em; line-height: 1.2; }
.tier__req { margin-bottom: 18px; font-size: 0.92rem; font-weight: 500; }
.tier ul { display: grid; gap: 8px; margin-bottom: 22px; font-size: 0.96rem; font-weight: 600; }
.tier li { display: flex; gap: 9px; align-items: center; }
.tier li svg { flex: none; width: 17px; height: 17px; stroke: var(--gold-pale); }
.tier__eg { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.9rem; }
.tier__eg strong { color: var(--gold-pale); font-size: 1.1rem; }
.note { max-width: 640px; margin: 36px auto 0; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* ------------------------------------------------------------------ Brand */

.brandcats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.brandcat { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--ground); }
.brandcat h3 { margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.chip i, .chip img { flex: none; width: 32px; height: 32px; border-radius: 50%; }
.chip i { display: grid; place-items: center; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: 0.02em; }
.chip img { object-fit: contain; padding: 3px; background: #fff; border: 1px solid var(--line); }

/* ------------------------------------------------------------------ Aman */

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust article { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.trust__ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; background: var(--ink); }
.trust__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.12rem; font-weight: 800; letter-spacing: -0.015em; }
.trust p { color: var(--muted); font-size: 0.97rem; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 36px; font-size: 0.95rem; font-weight: 700; }
.links a { color: var(--gold-text); }

/* ------------------------------------------------------------------ FAQ */

.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.qa { border: 1px solid var(--line); border-radius: 18px; background: var(--ground); transition: background-color 0.15s ease; }
.qa[open] { background: var(--surface); box-shadow: 0 14px 34px -22px rgba(24, 24, 27, 0.3); }
.qa summary { position: relative; display: block; padding: 20px 60px 20px 24px; color: var(--ink); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after, .qa summary::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--gold-text);
  transition: transform 0.2s ease;
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa p { padding: 0 24px 22px; color: var(--muted); }

/* ------------------------------------------------------------------ CTA akhir */

.cta { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; background: var(--ink); color: #fff; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(200, 164, 100, 0.26), transparent 100%); }
.cta__box { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.cta h2 { margin: 14px 0 16px; color: #fff; }
.cta p.cta__lead { max-width: 30em; margin-bottom: 30px; color: var(--on-dark); font-size: 1.1rem; }
.cta__art {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 420px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 68%, transparent);
  mask-image: linear-gradient(#000 68%, transparent);
}
.cta__art .phone { --w: 280px; margin-top: 12px; }

/* ------------------------------------------------------------------ Footer */

.footer { padding: 64px 0 36px; background: var(--deep); color: #8d8d96; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer__grid--3 { grid-template-columns: 1.7fr 1fr 1fr; }
.footer .logo { margin-bottom: 16px; }
.footer p { max-width: 28em; line-height: 1.6; }
.footer h4 { margin: 0 0 16px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.footer li + li { margin-top: 10px; }
.footer a { text-decoration: none; transition: color 0.15s ease; }
.footer a:hover { color: var(--gold-pale); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 26px; }

/* ------------------------------------------------------------------ Gerak halus */

@media (prefers-reduced-motion: no-preference) {
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-9px) rotate(var(--r)); } }
  .float { animation: bob 5.5s ease-in-out infinite; }
  .float--level { animation-delay: -2.4s; }

  @supports (animation-timeline: view()) {
    @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
    .feature, .step, .tier, .brandcat, .trust article, .shot, .qa {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}

/* ------------------------------------------------------------------ Responsif */

@media (max-width: 1060px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; }
  .hero__copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero .stores, .stats { justify-content: center; }
  .hero__visual { min-height: 600px; }
  .features, .steps, .tiers, .trust { grid-template-columns: repeat(2, 1fr); }
  .cta__box { grid-template-columns: 1fr; text-align: center; }
  .cta .stores { justify-content: center; }
  .cta p.cta__lead { margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .section { padding: 76px 0; }
  .gallery { justify-content: flex-start; gap: 22px; margin-inline: calc(50% - 50vw); padding: 0 20px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; width: 220px; }
  .shot .phone { --w: 220px; }
  .shot:nth-child(odd) .phone { transform: none; }
  .brandcats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--maxw)); }
  .features, .steps, .tiers, .trust { grid-template-columns: 1fr; }
  .head { margin-bottom: 40px; }
  .hero__visual { min-height: 540px; }
  .phone { --w: 252px; }
  .phone--back { --w: 214px; top: 70px; right: -6px; }
  .float { font-size: 13px; }
  .float--points { left: -2%; bottom: 14%; }
  .float--level { right: -2%; bottom: 5%; }
  .store { flex: 1 1 100%; justify-content: center; min-width: 0; }
  .stat dd { font-size: 24px; }
  .section { padding: 64px 0; }
  .feature { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 22px; border-radius: 20px; }
  .feature__ico { grid-row: span 2; width: 56px; height: 56px; margin-bottom: 0; }
  .feature h3 { margin-bottom: 4px; }
  .step { padding: 26px 22px 24px; border-radius: 20px; }
  .step::before { margin-bottom: 14px; font-size: 2.6rem; }
  .step__ico { top: 20px; right: 20px; width: 50px; height: 50px; }
  .tier { padding: 24px; border-radius: 22px; }
  .brandcat, .trust article { padding: 22px; border-radius: 20px; }
  .cta { padding: 72px 0; }
  .cta__art { height: 360px; }
  .cta__art .phone { --w: 240px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
