/* Website ICEBRO (icebro.id) — warna & huruf sama dengan app (mobile/src/lib/theme.ts). */
:root {
  --navy: #062a5e;
  --navy-logo: #052b5e;
  --sky: #44aeea;
  --ice: #dae8ef;
  --bg: #f9f9f9;
  --white: #ffffff;
  --body: #3c4854;
  --muted: #5e7488;
  --link: #0a3b7a;
  --border: #e4ebf1;
  --orange: #f7a14e;
  --orange-ink: #3a2405;
  --wa: #128c4b;
  --radius: 18px;
  --maxw: 1080px;
  --display: 'Archivo', system-ui, sans-serif;
  --text: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.site-header .brand img { height: 40px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.site-header nav a { color: var(--body); text-decoration: none; }
.site-header nav a:hover { color: var(--navy); }
.site-header nav .nav-link { display: none; }
@media (min-width: 720px) { .site-header nav .nav-link { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  font-family: var(--text); font-weight: 700; font-size: 15px;
  text-decoration: none; transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: #3aa3df; }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0a3b7a; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 11px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-logo); color: var(--ice);
  padding: 48px 0 72px;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::after { right: -140px; top: -140px; width: 460px; height: 460px; background: rgba(68, 174, 234, 0.16); }
.hero::before { left: -160px; bottom: -220px; width: 420px; height: 420px; background: rgba(218, 232, 239, 0.06); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero .logo { width: min(260px, 62%); height: auto; margin: 0 0 14px -8px; }
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 800; color: var(--white);
  font-size: clamp(30px, 5.6vw, 50px); line-height: 1.08; letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero p.lead { margin: 16px 0 0; font-size: 17px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.1); color: var(--white);
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }

/* kartu foto di hero — bentuknya mengikuti kartu produk di app */
.hero-card {
  position: relative; margin: 0; justify-self: center; width: 100%; max-width: 480px;
  background: #eef3f7; border-radius: 64px 20px 20px 20px;
  padding: 44px 0 0; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 10, 30, 0.55);
}
.hero-card-eyebrow {
  position: absolute; top: 16px; right: 24px; margin: 0;
  font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--navy);
}
.hero-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-card figcaption { display: grid; gap: 4px; padding: 18px 24px 22px; padding-right: 150px; }
.hero-card-kicker {
  font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.hero-card-title {
  font-family: var(--display); font-weight: 800; color: var(--navy);
  font-size: clamp(20px, 5vw, 24px); line-height: 1.12; letter-spacing: -0.02em;
}
.price-tag {
  position: absolute; right: 18px; bottom: 18px;
  display: grid; justify-items: center; gap: 2px;
  background: var(--navy); color: var(--white);
  padding: 14px 20px 12px; border-radius: 40px 40px 16px 16px;
  box-shadow: 0 12px 24px -10px rgba(6, 42, 94, 0.6);
}
.price-tag-k { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.price-tag-v { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; line-height: 1.15; }
@media (min-width: 880px) {
  .hero { padding: 72px 0 112px; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-card { justify-self: end; transform: rotate(1.2deg); }
}

/* ---------- keunggulan (menempel di bawah hero) ---------- */
.perks-wrap { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.perks {
  list-style: none; margin: 0; padding: 8px;
  display: grid; gap: 2px; grid-template-columns: 1fr;
  background: var(--white); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(6, 42, 94, 0.45);
}
.perks li { display: flex; min-width: 0; }
.perks li, .perk-halal { gap: 12px; align-items: center; padding: 12px; border-radius: 16px; }
.perks svg {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px;
  background: var(--ice); fill: none; stroke: var(--navy); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.perks strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.3; }
.perks span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.perk-halal { display: flex; flex: 1; margin: -12px; text-decoration: none; transition: background .15s ease; }
.perk-halal:hover { background: #f4f0f7; }
.perk-halal img { flex: none; width: 72px; height: auto; }
@media (min-width: 560px) { .perks { grid-template-columns: 1fr 1fr; gap: 4px; } }
@media (min-width: 880px) { .perks { grid-template-columns: repeat(4, 1fr); } }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-label {
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
}
h2 {
  margin: 0 0 22px; font-family: var(--display); font-weight: 800; color: var(--navy);
  font-size: clamp(24px, 3.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em;
}

.products { display: grid; gap: 20px; }
@media (min-width: 700px) { .products { grid-template-columns: 1fr 1fr; gap: 24px; } }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(6, 42, 94, 0.5); }
.product-photo { position: relative; background: #eef3f7; }
.product-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.product-weight {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: .02em;
}
.product-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.product h3 { margin: 0; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: clamp(20px, 2.6vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.product p { margin: 6px 0 18px; font-size: 15px; color: var(--muted); line-height: 1.55; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 24px; }
.price small { font-family: var(--text); font-weight: 600; font-size: 13px; color: var(--muted); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  background: var(--white); border: 1px solid var(--border); color: var(--navy);
}

.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 10px; margin-bottom: 10px;
  background: var(--ice); color: var(--navy); font-family: var(--display); font-weight: 800;
}
.step h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.step p { margin: 0; font-size: 14.5px; }

.info { display: grid; gap: 14px; }
@media (min-width: 760px) { .info { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.info-card h3 { margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.info-card p { margin: 0; font-size: 14.5px; }
.info-card.points { background: #fff6ec; border-color: #f8dcbd; }
.info-card.points h3 { color: var(--orange-ink); }

.cta {
  background: var(--navy-logo); color: var(--ice); border-radius: 24px;
  padding: 32px 24px; text-align: center;
}
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { margin: 0 auto 20px; max-width: 32em; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- document pages (privasi, bantuan, hapus akun) ---------- */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 {
  margin: 0 0 6px; font-family: var(--display); font-weight: 800; color: var(--navy);
  font-size: clamp(26px, 4.4vw, 36px); line-height: 1.15; letter-spacing: -0.02em;
}
.doc .meta { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc h3 { font-size: 16px; color: var(--navy); margin: 20px 0 6px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { font-size: 12.5px; color: var(--muted); font-weight: 700; background: #f1f5f9; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.table-scroll table { margin: 0; }
.note {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--sky);
  border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: 14.5px;
}
.contact-grid { display: grid; gap: 12px; margin: 16px 0; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.contact .k { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.contact .v { font-size: 16px; font-weight: 700; color: var(--navy); word-break: break-word; }
.contact .v a { color: inherit; text-decoration: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 36px 0; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.5fr 0.8fr 1fr; } }
.site-footer > .wrap > div > img { height: 44px; width: auto; margin-bottom: 10px; }
.site-footer .company { font-weight: 800; color: var(--navy); }
.site-footer p { margin: 2px 0; }
.site-footer .links { display: flex; flex-direction: column; gap: 6px; }
.site-footer .links a { color: var(--body); text-decoration: none; font-weight: 600; }
.site-footer .links a:hover { color: var(--navy); }
.site-footer .copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); padding-top: 16px; }

.follow-title {
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px !important;
}
.socials { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--navy); color: var(--white); transition: background .15s ease, transform .12s ease;
}
.social:hover { background: #0a3b7a; transform: translateY(-1px); }
.social svg { width: 22px; height: 22px; }
.social svg.ig { fill: none; stroke: currentColor; stroke-width: 1.9; }
.social svg.ig .dot { fill: currentColor; stroke: none; }
.social svg.tt { fill: currentColor; width: 20px; height: 20px; }
.social-handle { font-weight: 700; color: var(--navy); font-size: 14px; }
.halal {
  display: inline-block; margin-top: 16px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--white); transition: box-shadow .15s ease;
}
.halal:hover { box-shadow: 0 8px 20px -12px rgba(99, 38, 114, 0.6); }
.halal img { display: block; width: 168px; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .social, .btn { transition: none; }
  .product:hover { transform: none; }
  .hero-card { transform: none !important; }
}
