/* ============================================================
   NanoMate Philippines — shared styles
   ============================================================ */

:root {
  --purple: #7A48E8;
  --purple-deep: #5B2BC9;
  --purple-soft: #E8DEFC;
  --purple-tint: #F4EFFE;
  --aubergine: #1A0B2E;
  --aubergine-2: #2A1849;
  --gold: #FFC940;
  --gold-soft: #FFF4D1;
  --coral: #FF6B6B;
  --green: #1F8A5B;
  --green-soft: #D6F0E2;
  --ink: #15101F;
  --ink-2: #3A3148;
  --ink-3: #6E647D;
  --line: #ECE6F2;
  --cream: #FAF7F2;
  --cream-2: #F4EFE7;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(26, 11, 46, 0.04), 0 2px 8px rgba(26, 11, 46, 0.04);
  --shadow: 0 8px 24px rgba(26, 11, 46, 0.06), 0 2px 6px rgba(26, 11, 46, 0.04);
  --shadow-lg: 0 24px 60px rgba(26, 11, 46, 0.12), 0 6px 16px rgba(26, 11, 46, 0.06);
  --shadow-purple: 0 20px 50px rgba(122, 72, 232, 0.25);

  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; }
h4 { font-size: 19px; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-sm { padding: clamp(56px, 7vw, 96px) 0; }

/* eyebrow / kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 8px 14px;
  background: var(--purple-tint);
  border-radius: 999px;
  border: 1px solid var(--purple-soft);
}
.kicker.gold { color: #8A6500; background: var(--gold-soft); border-color: #F2D875; }
.kicker.green { color: #0C5C3A; background: var(--green-soft); border-color: #A8D9BF; }
.kicker .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 8px 22px rgba(122, 72, 232, 0.35);
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(122, 72, 232, 0.4); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--white); border-color: var(--ink); }
.btn-dark { background: var(--aubergine); color: white; }
.btn-dark:hover { background: black; }
.btn-whatsapp {
  background: #25D366; color: white;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1FB855; transform: translateY(-1px); }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(236, 230, 242, 0.6);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 32px; width: auto; flex-shrink: 0; max-width: none; }
.brand-name { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.brand-name .ph { color: var(--purple); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--purple-tint); color: var(--purple); }
.nav-links a.active { color: var(--purple); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ink-3);
  padding: 6px 10px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line);
}
.nav-flag .flag {
  width: 18px; height: 12px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(180deg, #0038A8 0 50%, #CE1126 50% 100%);
  position: relative; flex-shrink: 0;
}
.nav-flag .flag::after {
  content: "★"; position: absolute; left: 2px; top: -1px; color: #FCD116;
  font-size: 8px; line-height: 1;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  overflow: clip;
}
.nunu-stage { overflow: visible; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255, 201, 64, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(122, 72, 232, 0.10), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .nunu-stage { justify-self: center; }
}

.hero h1 .accent { color: var(--purple); }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--gold) 0 60%, transparent 60%);
  background-repeat: no-repeat;
  background-size: 100% 36%;
  background-position: 0 78%;
  padding: 0 2px;
}
.hero .sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-2);
  max-width: 580px;
  margin-top: 22px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 22px;
  color: var(--ink-3); font-size: 13.5px; font-weight: 500;
}
.hero-meta b { color: var(--ink); font-weight: 700; }

/* Nunu stage */
.nunu-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.nunu-disc {
  position: absolute; inset: 8% 8%;
  background: radial-gradient(circle at 30% 30%, #B894FF, var(--purple) 60%, var(--purple-deep) 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-purple);
}
.nunu-disc::before {
  content: ""; position: absolute; inset: -12%;
  background: radial-gradient(circle, transparent 58%, rgba(122, 72, 232, 0.15) 58.5%, transparent 62%);
  border-radius: 50%;
}
.nunu-img {
  position: absolute; bottom: 0; left: 50%;
  width: 78%; transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(26, 11, 46, 0.25));
  animation: nunu-float 4s ease-in-out infinite;
}
@keyframes nunu-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-14px); }
}

/* orbit chips */
.orbit { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow);
  animation: chip-float 6s ease-in-out infinite;
}
.chip .emoji { font-size: 16px; }
.chip .led {
  width: 8px; height: 8px; border-radius: 999px; background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.18);
}
.chip-1 { top: 6%; left: 2%; animation-delay: 0s; }
.chip-2 { top: 32%; right: 0%; animation-delay: -1.5s; }
.chip-3 { bottom: 20%; left: 0%; animation-delay: -3s; }
.chip-4 { bottom: 4%; right: 4%; animation-delay: -4.5s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   Logo strip / module strip
   ============================================================ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--cream);
}
.strip-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.strip-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-3);
}
.strip-items { display: flex; gap: 32px; flex-wrap: wrap; }
.strip-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink-2); font-size: 15px;
}

/* ============================================================
   Section heading
   ============================================================ */
.section-head { display: grid; gap: 16px; max-width: 780px; }
.section-head.center { margin: 0 auto; text-align: center; justify-items: center; }
.section-head .lead { color: var(--ink-2); font-size: clamp(17px, 1.4vw, 21px); }

/* ============================================================
   Product card (Suite)
   ============================================================ */
.suite-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 56px;
}
@media (max-width: 980px) { .suite-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .suite-grid { grid-template-columns: 1fr; } }

.suite-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 320px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.suite-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-soft); }
.suite-card.featured {
  background: linear-gradient(165deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: white; border: 0;
}
.suite-card.featured h3, .suite-card.featured p { color: white; }
.suite-card.featured .pill { background: rgba(255,255,255,0.18); color: white; }
.suite-card.dark {
  background: var(--aubergine);
  color: white; border: 0;
}
.suite-card.dark h3, .suite-card.dark p { color: white; }
.suite-card.dark .pill { background: rgba(255,255,255,0.1); color: white; }

.suite-emblem {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--purple-tint);
  color: var(--purple);
  font-family: "Bricolage Grotesque", serif;
  font-weight: 700; font-size: 26px;
  letter-spacing: -0.04em;
}
.suite-card.featured .suite-emblem, .suite-card.dark .suite-emblem { background: rgba(255,255,255,0.15); color: white; }

.suite-card h3 { font-size: 26px; }
.suite-card p { color: var(--ink-2); }
.suite-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pill {
  display: inline-block; padding: 5px 11px;
  background: var(--cream-2); color: var(--ink-2);
  border-radius: 999px; font-size: 12px; font-weight: 600;
}

.suite-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--purple); font-weight: 600; font-size: 14.5px;
  margin-top: 6px;
}
.suite-card.featured .suite-link, .suite-card.dark .suite-link { color: var(--gold); }

/* ============================================================
   Industry cards
   ============================================================ */
.industries {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px;
}
@media (max-width: 980px) { .industries { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }

.ind-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ink);
  cursor: pointer;
}
.ind-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, opacity .3s;
  opacity: 0.78;
}
.ind-card:hover img { transform: scale(1.05); opacity: 0.9; }
.ind-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 11, 46, 0.85) 100%);
}
.ind-meta {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  z-index: 2; color: white;
}
.ind-meta .tag {
  display: inline-block; padding: 4px 10px;
  background: rgba(255, 201, 64, 0.95); color: var(--aubergine);
  border-radius: 999px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ind-meta h4 { color: white; font-size: 22px; line-height: 1.15; font-family: "Bricolage Grotesque", serif; }
.ind-meta p { color: rgba(255,255,255,0.8); font-size: 13.5px; margin-top: 6px; }

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: 56px;
}
@media (max-width: 880px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stat .num {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--purple);
  line-height: 1;
}
.stat .num .sym { color: var(--ink-3); font-weight: 500; }
.stat .label { margin-top: 10px; color: var(--ink-2); font-size: 14px; font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--aubergine);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer h5 { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14.5px; transition: color .15s; }
.footer-links a:hover { color: white; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,0.7); margin-top: 16px; max-width: 380px; }
.footer-brand .brand-name { color: white; font-size: 24px; }
.footer-brand .brand-name .ph { color: var(--gold); }
.footer-bottom {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ============================================================
   Generic content cards (for sub-pages)
   ============================================================ */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--purple-tint); color: var(--purple);
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  margin-bottom: 16px;
  font-family: "Bricolage Grotesque", serif;
}
.feature h4 { margin-bottom: 6px; font-size: 18px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* sub-page hero */
.subhero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(255, 201, 64, 0.15), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(122, 72, 232, 0.1), transparent 70%);
}
.subhero h1 { font-size: clamp(40px, 5vw, 64px); margin-top: 18px; }
.subhero .lead { color: var(--ink-2); font-size: 19px; max-width: 680px; margin-top: 20px; }

/* split section */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-2);
}
.split-img img { width: 100%; display: block; }

/* checklist */
.checklist { display: grid; gap: 12px; margin-top: 24px; }
.checklist li {
  list-style: none; padding-left: 36px; position: relative;
  font-size: 16px; color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* CTA banner */
.cta-band {
  background: var(--aubergine);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
}
.cta-band::after {
  content: "";
  position: absolute; left: -80px; bottom: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.4;
}
.cta-band-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 880px) { .cta-band-inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 18px; margin-top: 16px; max-width: 540px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-self: end; }
@media (max-width: 880px) { .cta-band-actions { justify-self: start; } }

/* product preview frame */
.preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  border: 1px solid var(--line);
}
.preview img { width: 100%; display: block; }
.preview-chrome {
  padding: 10px 14px; background: #F5F1FA;
  display: flex; gap: 6px; border-bottom: 1px solid var(--line);
}
.preview-chrome span {
  width: 10px; height: 10px; border-radius: 999px; background: #DDD3EA;
}

/* utility */
.center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; } .mt-6 { margin-top: 60px; }
.muted { color: var(--ink-3); }
.gap-12 { gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.peso { font-feature-settings: "tnum"; }

/* dotted divider */
.dotted {
  border: 0; height: 1px;
  background-image: linear-gradient(to right, var(--line) 50%, transparent 0%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  margin: 32px 0;
}

/* badge for compliance */
.compliance-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.comp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: white; border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.comp-badge .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--green);
}

/* product-screens montage on home */
.screens-stack {
  position: relative;
  aspect-ratio: 16/11;
  margin-top: 80px;
}
.screen {
  position: absolute;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  transition: transform .4s ease;
}
.screen img { display: block; width: 100%; }
.screen-1 { width: 64%; top: 0; left: 0; z-index: 1; }
.screen-2 { width: 50%; top: 18%; right: 8%; z-index: 2; }
.screen-3 { width: 42%; bottom: 0; left: 26%; z-index: 3; }
@media (max-width: 720px) {
  .screen-1 { width: 80%; }
  .screen-2 { width: 60%; right: 0; }
  .screen-3 { width: 50%; left: 30%; }
}

/* small mobile/desktop helpers */
.hide-sm { display: revert; }
@media (max-width: 720px) { .hide-sm { display: none; } }
