/* NEXTACH website - one page. Colours from the NEXTACH logo (navy + copper) and the apps (teal + gold). */
:root {
  --navy: #1F3354; --navy2: #2B4672; --ink: #16243A;
  --copper: #B5532C; --copper2: #D9763F;
  --teal: #1F7A8C; --gold: #F5B521; --gold2: #FFD36B;
  --bg: #FBF8F1; --bg2: #F3EEE2; --card: #FFFFFF; --line: #E9E1CF; --muted: #5E6B7A;
  --wa: #25D366; --wa2: #1DA851;
  --r: 18px; --shadow: 0 18px 40px -18px rgba(31, 51, 84, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: Poppins, "Segoe UI", Arial, sans-serif; line-height: 1.2; margin: 0; color: var(--navy); }
a { color: var(--teal); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 18px; border-radius: 14px; }
.btn-gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(245, 181, 33, .8); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-main { background: linear-gradient(135deg, var(--navy2), var(--navy)); color: #fff; box-shadow: 0 10px 22px -12px rgba(31, 51, 84, .9); }
.btn-line { color: var(--navy); border-color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-wa { background: linear-gradient(135deg, var(--wa), var(--wa2)); color: #fff; box-shadow: 0 10px 22px -12px rgba(37, 211, 102, .9); }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(31, 51, 84, .92); backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: Poppins, sans-serif; font-weight: 800; letter-spacing: 2px; text-decoration: none; font-size: 19px; }
.logo img { width: 38px; height: 38px; background: #fff; border-radius: 10px; padding: 3px; }
.links { display: flex; align-items: center; gap: 22px; }
.links a:not(.btn) { color: #E4EAF3; text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:not(.btn):hover { color: var(--gold2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 34px;
  background: radial-gradient(1200px 500px at 85% -10%, #3A5A8C 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #162641 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.b1 { width: 380px; height: 380px; background: var(--copper); top: -120px; left: -120px; }
.b2 { width: 320px; height: 320px; background: var(--teal); bottom: -140px; right: 10%; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-block; background: rgba(245, 181, 33, .16); color: var(--gold2); border: 1px solid rgba(245, 181, 33, .4);
  padding: 5px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); margin: 16px 0 14px; font-weight: 800; }
.hl { background: linear-gradient(90deg, var(--gold2), var(--copper2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #D5DEEA; font-size: 18px; max-width: 560px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 26px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #C7D2E1; font-size: 14px; }
.facts b { color: #fff; font-family: Poppins, sans-serif; font-size: 18px; margin-right: 4px; }
.hero-art { position: relative; height: 380px; }
.frame { position: absolute; border-radius: 14px; overflow: hidden; border: 6px solid rgba(255,255,255,.95); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.f-back { width: 78%; right: 0; top: 0; transform: rotate(3deg); opacity: .9; }
.f-front { width: 82%; left: 0; bottom: 0; transform: rotate(-2deg); }
.chips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.chips a { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; text-decoration: none; font-weight: 600; padding: 6px 16px 6px 6px; border-radius: 40px; font-size: 14px; transition: background .15s; }
.chips a:hover { background: rgba(255,255,255,.2); }
.chips img { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; }

/* ---------- section heads ---------- */
.head { text-align: center; max-width: 680px; margin: 0 auto; }
.eyebrow { display: inline-block; color: var(--copper); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }
.head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 6px 0 10px; }
.head p { color: var(--muted); margin: 0; }
.accent { background: linear-gradient(90deg, var(--copper), var(--copper2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
main#products { padding-top: 70px; }

/* ---------- product sections ---------- */
.product { padding: 56px 0; }
.product.alt { background: var(--bg2); }
.p-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.product.alt .p-text { order: 2; }
.p-title { display: flex; align-items: center; gap: 14px; }
.p-title img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 16px; padding: 4px; box-shadow: var(--shadow); }
.p-title h3 { font-size: 28px; font-weight: 800; }
.plat { color: var(--copper); font-weight: 600; font-size: 14px; }
.new { font-style: normal; background: var(--gold); color: var(--ink); font-size: 12px; padding: 2px 9px; border-radius: 20px; vertical-align: middle; margin-left: 6px; font-family: Inter, sans-serif; }
.tagline { font-family: Poppins, sans-serif; font-weight: 600; color: var(--teal); font-size: 18px; margin: 16px 0 6px; }
.p-text > p { color: #3D4A5C; }
.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(31, 122, 140, .14); color: var(--teal); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.meta { color: var(--muted) !important; font-size: 13px; margin: 0 0 16px; }
.actions { display: flex; flex-wrap: nowrap; gap: 10px; }
.actions .btn { padding: 11px 16px; font-size: 14.5px; }
.browser { position: relative; background: #fff; border-radius: 14px; padding: 30px 8px 8px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.browser i { position: absolute; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: #F26B5B; }
.browser i:nth-child(1) { left: 14px; } .browser i:nth-child(2) { left: 30px; background: #F5B521; } .browser i:nth-child(3) { left: 46px; background: #3CC66A; }
.browser img { border-radius: 8px; }

/* PUNCH phone mock-up */
.phone { width: 270px; margin: 0 auto; background: #121A28; border-radius: 40px; padding: 12px; box-shadow: var(--shadow), inset 0 0 0 2px #2C3A52; }
.screen { background: #F7F4EC; border-radius: 30px; overflow: hidden; padding-bottom: 14px; }
.ph-top { display: flex; justify-content: space-between; background: var(--navy); color: #fff; padding: 16px 18px 12px; font-weight: 600; font-size: 14px; }
.ph-cam { position: relative; height: 210px; margin: 12px; border-radius: 18px; background: linear-gradient(160deg, #3B4E6B, #1C2A40); overflow: hidden; }
.ph-face { position: absolute; left: 50%; top: 50%; width: 110px; height: 140px; transform: translate(-50%, -50%); border: 3px solid var(--wa); border-radius: 50% / 45%; }
.ph-scan { position: absolute; left: 12%; right: 12%; height: 3px; background: var(--wa); box-shadow: 0 0 12px var(--wa); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 76%; } }
.ph-ok { margin: 0 12px 10px; background: var(--wa2); color: #fff; border-radius: 14px; padding: 10px 14px; }
.ph-ok b { display: block; font-size: 16px; } .ph-ok span { font-size: 12px; opacity: .9; }
.ph-row { display: flex; justify-content: space-between; margin: 6px 14px 0; background: #fff; border-radius: 10px; padding: 7px 12px; font-size: 13px; border: 1px solid var(--line); }
.ph-row b { color: var(--navy); }

/* ---------- steps ---------- */
.steps-band { padding: 72px 0; background: linear-gradient(160deg, var(--navy) 0%, #162641 100%); }
.steps-band .head h2 { color: #fff; } .steps-band .eyebrow { color: var(--gold2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 26px; color: #D5DEEA; }
.step h4 { color: #fff; font-size: 19px; margin: 14px 0 8px; }
.step p { margin: 0; font-size: 15px; } .step b { color: #fff; }
.num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--gold2), var(--copper2));
  color: var(--ink); font-family: Poppins, sans-serif; font-weight: 800; font-size: 20px; }

/* ---------- why ---------- */
.why { padding: 72px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ic { font-size: 30px; }
.why-card h4 { font-size: 17px; margin: 10px 0 6px; }
.why-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact { padding: 0 0 72px; }
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: #fff; border-radius: 26px; padding: 40px;
  background: radial-gradient(500px 240px at 90% 10%, rgba(255,211,107,.35), transparent 70%), linear-gradient(135deg, var(--copper) 0%, #8E3B1D 100%); box-shadow: var(--shadow); }
.contact h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.contact p { margin: 8px 0 0; color: #FCE9DD; }
.contact .lines a { color: #fff; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 22px 0 30px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.foot-in span { display: flex; align-items: center; gap: 8px; }
.foot-in img { width: 22px; height: 22px; }
.foot a { color: var(--muted); }
.sums { margin-top: 12px; }
.sums summary { cursor: pointer; }
.sums pre { overflow-x: auto; font-size: 12px; background: var(--bg2); padding: 10px; border-radius: 8px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); box-shadow: 0 10px 26px -6px rgba(37, 211, 102, .7); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); }

/* reveal on scroll (site.js adds .in) */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ph-scan { animation: none; top: 50%; } html { scroll-behavior: auto; } }

/* ---------- privacy page ---------- */
.doc { max-width: 820px; padding-top: 30px; padding-bottom: 50px; }
.doc h1 { font-size: 34px; } .doc h2 { font-size: 20px; margin-top: 28px; }
.doc li { margin: 4px 0; } .muted { color: var(--muted); font-size: 14px; }
code { background: var(--bg2); padding: 1px 6px; border-radius: 5px; font-size: 14px; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero-in, .p-in { grid-template-columns: 1fr; }
  .hero-art { height: 260px; }
  .product.alt .p-text { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .links a:not(.btn) { display: none; }
  .hero { padding-top: 40px; }
  .hero-art { height: 200px; }
  .ticks { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .actions { flex-wrap: wrap; }
  .actions .btn { flex: 1 1 100%; }
  .contact-in { padding: 28px 20px; }
  .contact-in .btn { width: 100%; }
}
