/* ============================================================
   ALTITUDESOLUTION — Shared section components
   Used across Home / Produk / Modul / Vendor pages.
   ============================================================ */

/* ── Inner page hero (deep gradient) ────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--grad-deep);
  color: #fff;
  padding: 150px 0 88px;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { justify-content: center; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.page-hero .crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); margin-bottom: 20px; text-wrap: balance; }
.page-hero h1 .grad-word { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto; line-height: 1.7; }
.page-hero .orb { z-index: 1; }

.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-chip {
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9); backdrop-filter: blur(6px);
}

/* ── Grids ──────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.mt-56 { margin-top: 56px; }
.mt-40 { margin-top: 40px; }

/* ── Icon tile ──────────────────────────────────────── */
.itile {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(140deg, rgba(56,189,248,.14), rgba(37,99,235,.14));
  border: 1px solid rgba(37,99,235,.16);
  color: var(--blue-600);
  position: relative;
}
.itile svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.itile.solid { background: var(--grad); border: none; color: #fff; box-shadow: var(--sh-blue); }
.itile.sm { width: 44px; height: 44px; border-radius: 12px; }
.itile.sm svg { width: 22px; height: 22px; }

/* ── Feature / benefit card ─────────────────────────── */
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 28px;
  box-shadow: var(--sh-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.feature::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(37,99,235,.25); }
.feature:hover::after { transform: scaleX(1); }
.feature h3 { font-size: 18px; margin: 20px 0 9px; }
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ── Module card ────────────────────────────────────── */
.mod-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 22px;
  text-decoration: none; color: inherit; display: block;
  box-shadow: var(--sh-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
}
.mod-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(37,99,235,.3); }
.mod-card h3 { font-size: 16px; margin: 18px 0 7px; }
.mod-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.mod-card .arrow { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--blue-600); }

/* ── Product card ───────────────────────────────────── */
.prod {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; box-shadow: var(--sh-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(37,99,235,.3); }
.prod-top { padding: 28px 26px 22px; position: relative; border-bottom: 1px solid var(--line); }
.prod-logo {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  font-family: 'Sora'; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 16px;
  box-shadow: var(--sh);
}
.prod-top h3 { font-size: 18px; margin-bottom: 10px; }
.prod-body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.prod-body p { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.prod-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--blue-600); }
.prod:hover .prod-link { gap: 10px; }

/* ── FAQ ────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--sh); border-color: rgba(37,99,235,.25); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 22px 26px; font-family: 'Sora'; font-size: 16px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq-ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(37,99,235,.1); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-ic svg { width: 14px; height: 14px; stroke: var(--blue-600); stroke-width: 2.4; fill: none; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--grad); }
.faq-item.open .faq-ic svg { stroke: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ── CTA band (deep) ────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; background: var(--grad-deep); color: #fff; text-align: center; padding: 96px 0; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(110% 110% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(110% 110% at 50% 50%, #000 20%, transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; text-wrap: balance; }
.cta-band p { font-size: clamp(16px, 1.7vw, 18px); color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .orb { z-index: 1; }

/* ── Link box ───────────────────────────────────────── */
.linkbox {
  margin-top: 36px; padding: 24px 26px; border-radius: var(--r);
  background: linear-gradient(120deg, rgba(56,189,248,.08), rgba(37,99,235,.08));
  border: 1px solid rgba(37,99,235,.16);
}
.linkbox h4 { font-size: 14px; margin-bottom: 14px; color: var(--navy); }
.linkbox .links { display: flex; flex-wrap: wrap; gap: 10px; }
.linkbox .links a {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: 13.5px; font-weight: 700; color: var(--blue-700);
  background: var(--surface); border: 1px solid var(--line-2); padding: 8px 16px; border-radius: var(--r-pill);
  transition: .2s;
}
.linkbox .links a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ── Comparison table ───────────────────────────────── */
.table-wrap { margin-top: 44px; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--sh); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.cmp thead th { background: var(--navy); color: #fff; font-family: 'Sora'; font-weight: 600; padding: 18px 22px; text-align: left; font-size: 13.5px; }
table.cmp tbody td { padding: 15px 22px; color: var(--muted); border-top: 1px solid var(--line); vertical-align: middle; }
table.cmp tbody tr:nth-child(even) td { background: var(--bg); }
table.cmp tbody tr:hover td { background: rgba(37,99,235,.05); }
table.cmp td:first-child { font-weight: 700; color: var(--navy); }
.ck { color: var(--green); font-weight: 800; }
.cx { color: var(--muted-2); }
.cp { color: var(--gold); }

/* ── Stat strip ─────────────────────────────────────── */
.stat-strip { display: flex; flex-wrap: wrap; gap: 28px; }
.stat { flex: 1; min-width: 140px; }
.stat .n { font-family: 'Sora'; font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; font-weight: 500; }
.stat-strip.on-dark .n { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-strip.on-dark .l { color: rgba(255,255,255,.65); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 128px 0 72px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
