:root {
  --ink: #0c1f1a;
  --ink-soft: #3d524c;
  --muted: #6b7f78;
  --paper: #f4faf7;
  --paper-2: #e8f5ef;
  --line: rgba(12, 31, 26, 0.08);
  --brand: #0a7a5c;
  --brand-deep: #065f48;
  --brand-2: #12b886;
  --brand-bright: #12b886;
  --grad: linear-gradient(145deg, #12b886 0%, #0a7a5c 45%, #065f48 100%);
  --accent: #e8a317;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(6, 95, 72, 0.12);
  --shadow-sm: 0 8px 24px rgba(12, 31, 26, 0.08);
  --radius: 20px;
  --nav-h: 72px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container-pad: 1.15rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1240px, calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(18, 184, 134, 0.2);
}

h1, h2, h3, .brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  max-width: 20ch;
  margin-bottom: 0.75rem;
}
.section-lead { color: var(--ink-soft); font-size: 1.0625rem; max-width: 48ch; }
.section-head { margin-bottom: 2.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.975rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, box-shadow 0.35s var(--ease), filter 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(10, 122, 92, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--white); border-color: rgba(10, 122, 92, 0.25); }
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(232, 163, 23, 0.3);
}
.btn-accent:hover { filter: brightness(1.05); }
.btn-block { width: 100%; }
.btn-google {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-google:hover { border-color: #ea4335; }
.btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.brand-logo {
  width: 46px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: transparent;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(10, 122, 92, 0.28));
}
.brand-logo svg { display: block; width: 34px; height: 40px; }
.brand-mark { font-size: 1.4rem; color: var(--ink); letter-spacing: -0.04em; }

/* NAV */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-nav.is-scrolled {
  background: rgba(244, 250, 247, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1240px, calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 0.55rem; }
.nav-mobile-daftar {
  display: none;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-mobile-daftar:hover { color: var(--brand); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { content: ""; position: absolute; top: 6px; left: 0; }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 2.25rem) 0 3.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(18, 184, 134, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(26, 155, 181, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 45% at 70% 85%, rgba(232, 163, 23, 0.12), transparent 50%),
    linear-gradient(180deg, #eef8f3 0%, var(--paper) 50%, #dff3ea 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a7a5c' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(10, 122, 92, 0.12);
  animation: orbitPulse 8s ease-in-out infinite;
}
.hero-orbit.o1 { width: min(70vw, 640px); height: min(70vw, 640px); right: -8%; top: 8%; }
.hero-orbit.o2 { width: min(50vw, 420px); height: min(50vw, 420px); right: 8%; top: 22%; animation-delay: -2s; }
@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.04); opacity: 1; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 650;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.hero-copy {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brand-deep);
}
.hero-stat span { font-size: 0.875rem; color: var(--muted); }

.hero-visual { position: relative; min-height: 400px; }
.device {
  position: relative;
  background: var(--grad);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.device::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 65%);
  pointer-events: none;
}
.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.device-label { font-size: 0.75rem; opacity: 0.8; font-weight: 600; }
.device-screen {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 1rem;
}
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.metric { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 0.75rem; }
.metric small { display: block; font-size: 0.7rem; opacity: 0.75; margin-bottom: 0.25rem; }
.metric b { font-family: var(--font-display); font-size: 1.05rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-bottom: 1rem; }
.chart-bars span {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.25));
  animation: growBar 1.4s var(--ease) both;
}
.chart-bars span:nth-child(1) { height: 42%; animation-delay: .1s; }
.chart-bars span:nth-child(2) { height: 68%; animation-delay: .2s; }
.chart-bars span:nth-child(3) { height: 55%; animation-delay: .3s; }
.chart-bars span:nth-child(4) { height: 88%; animation-delay: .4s; }
.chart-bars span:nth-child(5) { height: 72%; animation-delay: .5s; }
.chart-bars span:nth-child(6) { height: 95%; animation-delay: .6s; }
@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}
.device-list { display: grid; gap: 0.55rem; }
.device-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; padding: 0.55rem 0.65rem;
  border-radius: 10px; background: rgba(255,255,255,0.1);
}
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem; font-weight: 600;
  animation: floatY 5.5s ease-in-out infinite;
}
.float-chip i {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--brand);
}
.float-chip.c1 { left: -12px; top: 18%; animation-delay: -1s; }
.float-chip.c2 { right: -8px; bottom: 18%; animation-delay: -2.5s; }

.section { padding: 5rem 0; position: relative; }
.section.alt { background: linear-gradient(180deg, #eaf7f1 0%, var(--paper) 100%); }
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.alert-banner {
  margin: calc(var(--nav-h) + 0.75rem) auto 0;
  width: min(1240px, calc(100% - (var(--container-pad) * 2)));
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: #e8f8ef;
  color: #146c43;
  border: 1px solid #b7ebc9;
  font-size: 0.95rem;
}
.alert-banner.error { background: #fdecea; color: #a12622; border-color: #f5c2c0; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cat-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s ease;
}
.cat-item:hover, .cat-item.is-open {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(10, 122, 92, 0.22);
}
.cat-head {
  display: flex; align-items: flex-start; gap: 0.9rem;
  width: 100%; text-align: left; color: inherit;
}
.cat-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--paper-2), #d4efe4);
  color: var(--brand-deep); font-size: 1.45rem;
}
.cat-head h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.cat-head p { font-size: 0.9rem; color: var(--muted); }
.cat-body { display: block; }
.cat-body-inner { overflow: visible; }
.cat-body ul { padding: 1rem 0 0.15rem 3.9rem; display: grid; gap: 0.45rem; }
.cat-body li { position: relative; padding-left: 1.15rem; font-size: 0.925rem; color: var(--ink-soft); }
.cat-body li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}

/* Features */
.feature-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.feat {
  grid-column: span 4;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feat.wide { grid-column: span 6; }
.feat.accented { background: var(--grad); color: #fff; border: 0; }
.feat.accented .feat-icon { background: rgba(255,255,255,0.16); color: #fff; }
.feat.accented p { color: rgba(255,255,255,0.88); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--brand-deep);
  font-size: 1.25rem; margin-bottom: 1rem;
}
.feat h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.feat p { font-size: 0.95rem; color: var(--ink-soft); }

/* Affiliate / CTA panels (.affiliate-panel = alias for older CSS on VPS) */
.panel-grad,
.affiliate-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: var(--grad);
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  box-shadow: var(--shadow);
}
.panel-grad h2,
.affiliate-panel h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); max-width: 16ch; margin-bottom: 0.85rem; }
.panel-grad p,
.affiliate-panel p { color: rgba(255,255,255,0.9); max-width: 46ch; margin-bottom: 1.35rem; }
.commission {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
}
.commission .rate {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1; color: var(--accent);
}
.role-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.25rem; }
.role-pills span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.8rem; border-radius: 999px;
  background: rgba(255,255,255,0.14); font-size: 0.85rem; font-weight: 550;
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.testi-stars { color: #f5b301; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testi p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.15rem; }
.testi-user { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; font-weight: 700;
  background: var(--grad); font-family: var(--font-display);
}
.testi-meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.testi-user strong,
.testi-meta strong { display: block; font-size: 0.95rem; }
.testi-user span,
.testi-meta span { display: block; font-size: 0.8rem; color: var(--muted); }

/* Plugins / how / final */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.plugin-card, .how-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.plugin-card h3 { display: flex; align-items: center; gap: 0.65rem; font-size: 1.1rem; margin-bottom: 0.5rem; }
.plugin-card h3 i {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: #e7f8ff; color: #1a9bb5;
}
.plugin-card > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.plugin-card ul { display: grid; gap: 0.5rem; }
.plugin-card li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.925rem; color: var(--ink-soft);
  padding: 0.55rem 0.7rem; border-radius: 10px; background: var(--paper);
}
.plugin-card li i { color: var(--brand); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.how-num { font-family: var(--font-display); font-size: 2rem; color: var(--brand); margin-bottom: 0.65rem; }
.how-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.how-card p { color: var(--ink-soft); font-size: 0.95rem; }

.final-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: 28px;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(18, 184, 134, 0.18), transparent 60%), var(--white);
  border: 1px solid var(--line);
}
.final-cta .brand-big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}
.final-cta p { color: var(--ink-soft); max-width: 42ch; margin: 0 auto 1.5rem; }
.final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

.site-footer { padding: 2.5rem 0 2rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--brand); }
.footer-copy { color: var(--muted); font-size: 0.875rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 120; }
.wa-float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}
.wa-float-btn:hover { transform: scale(1.06); }
.wa-menu {
  position: absolute;
  right: 0; bottom: calc(100% + 0.75rem);
  width: min(280px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: none;
}
.wa-menu.is-open { display: block; animation: fadeUp 0.25s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.wa-menu-title {
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.35rem 0.5rem 0.65rem;
}
.wa-menu a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 0.7rem; border-radius: 12px;
  transition: background 0.2s ease;
}
.wa-menu a:hover { background: var(--paper-2); }
.wa-menu a i {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: #e8f8ef; color: #25d366; font-size: 1.25rem;
}
.wa-menu-meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.wa-menu a strong,
.wa-menu-meta strong { display: block; font-size: 0.92rem; color: var(--ink); }
.wa-menu-meta span { display: block; font-size: 0.78rem; color: var(--muted); }

/* Auth pages */
.auth-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem var(--container-pad);
  background:
    radial-gradient(ellipse 60% 50% at 10% 10%, rgba(18, 184, 134, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(10, 122, 92, 0.12), transparent 50%),
    var(--paper);
}
.auth-card {
  width: min(440px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.auth-card .brand { margin-bottom: 1.5rem; justify-content: center; width: 100%; }
.auth-card h1 {
  text-align: center;
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}
.auth-card .auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}
.form-control, .form-select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(10, 122, 92, 0.45);
  box-shadow: 0 0 0 4px rgba(10, 122, 92, 0.12);
  background: #fff;
}
.input-wrap { position: relative; }
.form-control.has-toggle { padding-right: 2.85rem; }
.password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.35rem;
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 5;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, transform 0.15s ease;
}
.password-toggle:hover { color: var(--brand-deep); }
.password-toggle:focus-visible {
  outline: 2px solid rgba(10, 122, 92, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none !important;
  width: 0;
  height: 0;
}
.input-row { display: grid; grid-template-columns: 110px 1fr; gap: 0.55rem; }
.subdomain-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.4rem;
}
.subdomain-suffix {
  font-weight: 650;
  color: var(--brand-deep);
  white-space: nowrap;
  font-size: 0.95rem;
}
.form-error {
  background: #fdecea;
  color: #a12622;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.form-error ul { margin: 0; padding-left: 1rem; list-style: disc; }
.auth-divider {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.15rem 0; color: var(--muted); font-size: 0.82rem;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.auth-links {
  margin-top: 1.15rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.55rem;
}
.auth-links a { color: var(--brand-deep); font-weight: 650; }
.otp-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.otp-hint code {
  background: var(--paper-2);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  color: var(--brand-deep);
}

/* Submit button loading & disabled state */
.btn.is-loading,
.btn:disabled {
  pointer-events: none;
  opacity: 0.8;
  cursor: not-allowed;
  transform: none !important;
}
.btn.is-loading {
  cursor: wait;
}
.btn.is-loading .btn-spinner {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: auth-btn-spin 0.7s linear infinite;
  flex-shrink: 0;
  margin-right: 0.45rem;
  vertical-align: middle;
}
.btn.is-loading > i.bx,
.btn.is-loading > i.fas {
  display: none !important;
}
.btn-ghost.is-loading .btn-spinner,
.btn-google.is-loading .btn-spinner {
  border-color: rgba(12, 31, 26, 0.2);
  border-top-color: var(--brand-deep, #065f48);
}
@keyframes auth-btn-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: auto; max-width: 520px; margin-inline: auto; width: 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .feat, .feat.wide { grid-column: span 6; }
  .panel-grad, .affiliate-panel { grid-template-columns: 1fr; }
  .how-grid, .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --container-pad: 1rem; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.is-open {
    height: auto;
    min-height: var(--nav-h);
    align-items: flex-start;
    background: rgba(244, 250, 247, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line);
  }
  .site-nav.is-open .nav-inner {
    flex-wrap: wrap;
    align-content: flex-start;
    padding-bottom: 1rem;
  }
  .site-nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: static;
    flex-basis: 100%;
    order: 3;
    width: 100%;
    background: transparent;
    padding: 0.75rem 0 0.5rem;
    gap: 0.85rem;
    border-bottom: none;
  }
  .site-nav.is-open .nav-links a {
    text-align: left;
    width: auto;
  }
  .site-nav.is-open .nav-links a[href="#daftar-toko"] { display: none; }
  .site-nav.is-open .nav-cta {
    position: static;
    flex-basis: 100%;
    order: 4;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem 0.85rem;
    padding: 0;
  }
  .site-nav.is-open .nav-cta .nav-mobile-daftar { display: inline-flex; }
  .site-nav.is-open .nav-cta .btn-ghost { display: inline-flex; }
  .feat, .feat.wide { grid-column: span 12; }
  .metric-row { grid-template-columns: 1fr; }
  .cat-body ul { padding-left: 0.25rem; }
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); min-height: auto; }
  .input-row { grid-template-columns: minmax(72px, 90px) 1fr; gap: 0.45rem; }
}
@media (min-width: 1200px) {
  :root { --container-pad: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
