/* ============================================================
   Ikan Frozen Juara — Stylesheet
   Palet: laut segar (biru–cyan) + putih bersih
   ============================================================ */

:root {
  --deep:   #0a3d62;   /* biru laut dalam */
  --sea:    #0e79b2;   /* biru laut */
  --cyan:   #17c3d6;   /* cyan segar */
  --foam:   #eaf7fb;   /* buih/putih kebiruan */
  --ink:    #0c2431;   /* teks gelap */
  --muted:  #5a7184;   /* teks abu */
  --line:   #e2ecf2;   /* garis halus */
  --white:  #ffffff;
  --accent: #ff8a3d;   /* aksen oranye hangat (CTA sekunder) */
  --wa:     #25d366;   /* hijau whatsapp */
  --wa-dark:#1da851;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 61, 98, 0.08);
  --shadow-hover: 0 18px 44px rgba(10, 61, 98, 0.16);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --maxw: 1160px;
  --font: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Accessibility: visible focus ---------- */
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; }
.wa-float:focus-visible { outline-offset: 5px; }

/* ---------- Scroll reveal (progressive: visible by default, hidden only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }

/* ---------- Reduced motion: respect user preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .wa-float { animation: none !important; }
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sea); background: var(--foam);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand span { font-family: var(--font-display); }
h2.title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-weight: 700; font-size: .98rem; padding: 13px 22px; border-radius: 999px;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,.34); }
.btn-primary { background: var(--sea); color: #fff; box-shadow: 0 8px 20px rgba(14,121,178,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14,121,178,.34); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; color: var(--deep); }
.brand .logo { width: 40px; height: 40px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--cyan); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; color: var(--ink); font-size: .95rem; }
.nav-links a:hover { color: var(--sea); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1100px 500px at 85% -10%, rgba(23,195,214,.18), transparent 60%),
  linear-gradient(180deg, var(--foam) 0%, #ffffff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero h1 .hl { color: var(--sea); }
.hero p { font-size: 1.12rem; color: var(--muted); margin-bottom: 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-badges div { font-size: .86rem; color: var(--deep); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-badges .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(23,195,214,.2); }
.hero-art { position: relative; }
.hero-art .card-float {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; border: 1px solid var(--line);
}
.hero-art .fish-hero { width: 100%; border-radius: var(--radius-sm); }
.snow { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Wave divider (hero -> trust) ---------- */
.wave { display: block; line-height: 0; background: var(--deep); }
.wave svg { display: block; width: 100%; height: 60px; }
.wave svg path { fill: #ffffff; }
.hero { padding-bottom: 0; }

/* ---------- Trust bar ---------- */
.trust { background: var(--deep); color: #cfe8f3; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust .item { display: flex; gap: 14px; align-items: flex-start; }
.trust .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(23,195,214,.16); display: grid; place-items: center; }
.trust .ic svg { width: 24px; height: 24px; stroke: var(--cyan); }
.trust b { color: #fff; display: block; font-size: 1rem; }
.trust span { font-size: .85rem; color: #9fc4d8; }

/* ---------- Catalog ---------- */
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { position: relative; }
.search input {
  font-family: inherit; font-size: .95rem; padding: 11px 16px 11px 42px; border: 1px solid var(--line);
  border-radius: 999px; width: 240px; background: var(--foam); color: var(--ink); outline: none; transition: .2s;
}
.search input:focus { border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(14,121,178,.1); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: inherit; font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .18s;
}
.chip:hover { border-color: var(--cyan); color: var(--sea); }
.chip.active { background: var(--sea); border-color: var(--sea); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card .thumb { position: relative; aspect-ratio: 4/3; background: var(--foam); }
.card .thumb svg { width: 100%; height: 100%; }
.card .badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em;
}
.card .weight {
  position: absolute; top: 12px; right: 12px; background: rgba(10,61,98,.9); color: #fff;
  font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.12rem; }
.card .desc { font-size: .88rem; color: var(--muted); flex: 1; }
.card .price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.card .price { font-size: 1.25rem; font-weight: 800; color: var(--deep); }
.card .price.ask { font-size: 1rem; color: var(--sea); }
.card .per { font-size: .8rem; color: var(--muted); }
.card .btn-wa { margin-top: 10px; padding: 11px 16px; font-size: .92rem; }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 50px 0; }

/* ---------- Steps / Cara Order ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { text-align: center; padding: 28px 22px; background: var(--foam); border-radius: var(--radius); position: relative; }
.step .num { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.15rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------- Why us ---------- */
.why { background: var(--foam); }
.why .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.why-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--foam); display: grid; place-items: center; margin-bottom: 12px; }
.why-card .ic svg { width: 24px; height: 24px; stroke: var(--sea); }
.why-card b { display: block; margin-bottom: 4px; }
.why-card span { font-size: .88rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--deep), var(--sea)); color: #fff; border-radius: 24px; padding: 48px; text-align: center; margin: 0 20px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: #cfe8f3; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9c2d1; padding: 56px 0 28px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p { font-size: .9rem; line-height: 1.8; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { display: block; font-size: .92rem; padding: 4px 0; color: #a9c2d1; }
.footer a:hover { color: var(--cyan); }
.footer .fcontact { display: flex; align-items: center; gap: 9px; font-size: .92rem; padding: 4px 0; color: #a9c2d1; }
.footer .fcontact svg { width: 17px; height: 17px; flex: none; stroke: var(--cyan); }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Floating WA ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.4);
  transition: transform .2s; animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.45);} 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; }
  .why .wrap { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 52px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .catalog-head { flex-direction: column; align-items: stretch; }
  .search input { width: 100%; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}
