/* ==========================================================================
   KelolaSistem.com — Redesign 2026
   Modern SaaS design system · fluid & fully responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  /* Palette */
  --primary: #0b6bcb;
  --primary-strong: #095aa9;
  --primary-dark: #0a3d91;
  --primary-ink: #0c1f38;
  --primary-light: #e6f1fc;
  --primary-mid: #7db9e8;
  --sky: #38bdf8;

  --accent: #f5a524;
  --accent-dark: #b45309;
  --accent-light: #fdf0d3;

  --success: #16a34a;
  --success-light: #dcf5e7;
  --teal: #0d9488;

  --bg-body: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-warm: #faf8f3;

  --text-main: #0c1f38;
  --text-muted: #3d5a75;
  --text-dim: #4a5e73;
  --text-light: #93a7b9;

  --border-light: #e2ecf4;
  --border-soft: #cbdeef;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(12,31,56,.04), 0 10px 30px -12px rgba(12,31,56,.10);
  --shadow-hover: 0 2px 6px rgba(12,31,56,.06), 0 24px 48px -16px rgba(11,107,203,.20);
  --shadow-btn: 0 8px 20px -8px rgba(11,107,203,.45);
  --shadow-btn-hover: 0 14px 32px -8px rgba(11,107,203,.55);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2f8fe0, #0b6bcb);
  --grad-accent: linear-gradient(135deg, #fbbf24, #f59e0b);
  --grad-teal: linear-gradient(135deg, #2dd4bf, #0d9488);
  --grad-purple: linear-gradient(135deg, #a78bfa, #7c3aed);
  --grad-rainbow: linear-gradient(90deg, #2f8fe0, #2dd4bf, #f5a524, #f472b6);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;

  --nav-h: 76px;
  --transition: all .3s cubic-bezier(.2,.7,.3,1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

::selection { background: rgba(11,107,203,.18); color: var(--primary-ink); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #b9cede; border-radius: 8px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-mid); }

img, video, iframe, embed, object { max-width: 100%; height: auto; }
img { display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: var(--primary); }

:focus-visible { outline: 3px solid rgba(11,107,203,.4); outline-offset: 2px; border-radius: 4px; }

/* Subtle page grid backdrop */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(12,31,56,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,31,56,.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ===== Layout ===== */
.container {
  width: min(1240px, 100% - clamp(32px, 6vw, 80px));
  margin-inline: auto;
}
@media (min-width: 1600px) { .container { width: min(1360px, 100% - 96px); } }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ===== Section titles ===== */
.section-title { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.5rem); margin-bottom: 12px; }
.section-title p {
  color: var(--text-muted);
  font-size: clamp(.95rem, .9rem + .3vw, 1.08rem);
  max-width: 620px;
  margin: 0 auto;
}

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: var(--radius-full);
  font-size: .8rem; font-weight: 800; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .6px;
  background: #fff; border: 1.5px solid var(--border-soft); color: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(12,31,56,.04);
}
.badge i { color: var(--primary); }
.badge-primary { background: var(--primary-light); border-color: var(--primary-mid); color: var(--primary-dark); }
.badge-accent { background: var(--accent-light); border-color: var(--accent); color: var(--accent-dark); }
.badge-accent i { color: var(--accent-dark); }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(22,163,74,.45);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); }
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ===== Gradient text ===== */
.text-gradient {
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gradient-accent {
  background: linear-gradient(120deg, #fbbf24, #d97706);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gradient-purple {
  background: var(--grad-purple);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 14px;
  font-family: var(--font-main); font-size: .95rem; font-weight: 700;
  letter-spacing: .1px;
  cursor: pointer; transition: var(--transition); text-decoration: none;
  border: none; outline: none; white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn-hover); filter: brightness(1.06); }
.btn-accent { background: var(--grad-accent); color: #fff; text-shadow: 0 1px 2px rgba(120,53,4,.35); box-shadow: 0 8px 20px -8px rgba(245,165,36,.55); font-weight: 800; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(245,165,36,.6); filter: brightness(1.04); }
.btn-wa { background: linear-gradient(135deg, #25d366, #16a34a); color: #fff; box-shadow: 0 8px 20px -8px rgba(22,163,74,.5); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(22,163,74,.55); filter: brightness(1.05); }
.btn-outline { background: #fff; border: 1.5px solid var(--border-soft); color: var(--text-main); box-shadow: 0 2px 8px rgba(12,31,56,.04); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline-accent { background: #fff; border: 1.5px solid var(--accent); color: var(--accent-dark); }
.btn-outline-accent:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(245,165,36,.4); }
.btn-sm { padding: 9px 18px; font-size: .85rem; min-height: 40px; border-radius: 12px; }
.btn-block { width: 100%; }

/* Compare cards (produk.php) */
.compare-note { font-size: .9rem; color: var(--text-muted); margin-top: auto; }
.service-card { display: flex; flex-direction: column; }
.service-card .btn-block { margin-top: 18px; }

/* Varian warna tombol layanan (dipilih dari admin) */
.btn-coral { background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; box-shadow: 0 8px 20px -8px rgba(225,29,72,.5); }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(225,29,72,.55); filter: brightness(1.05); }
.btn-teal { background: var(--grad-teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(13,148,136,.5); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(13,148,136,.55); filter: brightness(1.05); }
.btn-mint { background: linear-gradient(135deg, #34d399, #059669); color: #fff; box-shadow: 0 8px 20px -8px rgba(5,150,105,.5); }
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(5,150,105,.55); filter: brightness(1.05); }
.btn-coral, .btn-teal, .btn-mint { position: relative; overflow: hidden; }
.btn-coral::after, .btn-teal::after, .btn-mint::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
}
.btn-coral:hover::after, .btn-teal:hover::after, .btn-mint:hover::after { animation: btnShine .75s ease; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all .35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--border-light);
  box-shadow: 0 6px 30px -12px rgba(12,31,56,.12);
}
.navbar-container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 16px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 1.15rem; font-weight: 800;
  color: var(--text-main); flex-shrink: 0; line-height: 1;
  letter-spacing: -0.02em;
}
.logo-img-wrap { display: flex; align-items: center; justify-content: center; height: 34px; }
.brand-logo-img { height: 34px; width: auto; display: block; }
.logo-text { display: flex; align-items: center; }

/* Menu */
.nav-menu {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav-mobile-actions { display: none; }

.nav-link {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px; font-size: .92rem; font-weight: 600;
  color: var(--text-muted); text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
}
.nav-link i { font-size: .9rem; color: var(--primary); transition: var(--transition); }
.nav-link:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav-link:hover i { transform: scale(1.15); }
.nav-link.active {
  background: var(--grad-primary); color: #fff; font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(11,107,203,.5);
}
.nav-link.active i { color: #fff; }

/* Dropdown */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; z-index: 101;
}
.dropdown-trigger {
  display: flex; align-items: center; gap: 7px;
  cursor: pointer; padding: 9px 15px;
  font-size: .92rem; font-weight: 600; color: var(--text-muted);
  border-radius: 12px; transition: var(--transition);
  user-select: none;
}
.dropdown-trigger i:first-child { font-size: .9rem; color: var(--primary); transition: var(--transition); }
.dropdown-trigger:hover { background: var(--primary-light); color: var(--primary-dark); }
.dropdown-trigger:hover i:first-child { transform: scale(1.15); }
.dropdown-trigger .chevron {
  font-size: .62rem; color: var(--text-light); margin-left: 2px;
  transition: transform .35s ease;
}
.nav-item-dropdown:hover .dropdown-trigger .chevron,
.nav-item-dropdown.open .dropdown-trigger .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(12,31,56,.05), 0 28px 64px -16px rgba(12,31,56,.18);
  min-width: 300px; padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .28s cubic-bezier(.2,.7,.3,1);
  z-index: 100;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  border-radius: 3px 0 0 0;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 12px; border-radius: 12px;
  text-decoration: none; transition: background .2s ease;
  margin-bottom: 2px;
}
.dropdown-item:last-child { margin-bottom: 0; }
.dropdown-item:hover { background: var(--bg-soft); }
.dropdown-item .icon-box {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.dropdown-item:nth-child(1) .icon-box { background: #e3f0fc; color: #0b6bcb; }
.dropdown-item:nth-child(2) .icon-box { background: #dcf5e7; color: #16a34a; }
.dropdown-item:nth-child(3) .icon-box { background: #fdf0d3; color: #d97706; }
.dropdown-item:nth-child(4) .icon-box { background: #fce3ee; color: #db2777; }
.dropdown-item:nth-child(5) .icon-box { background: #ede9fe; color: #7c3aed; }
.dropdown-item:hover .icon-box { transform: scale(1.08) rotate(-4deg); }
.dropdown-item .item-text { flex: 1; min-width: 0; }
.dropdown-item .item-text strong {
  display: block; font-size: .92rem; font-weight: 700; color: var(--text-main);
}
.dropdown-item .item-text span { font-size: .78rem; color: var(--text-dim); line-height: 1.4; display: block; }
.dropdown-divider { height: 1px; background: var(--border-light); margin: 6px 4px; }

/* Nav action buttons */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger (mobile only) */
.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--border-soft);
  border-radius: 13px; color: var(--primary);
  font-size: 1.2rem; cursor: pointer;
  transition: var(--transition);
}
.mobile-toggle:hover { background: var(--primary-light); border-color: var(--primary-mid); }
.mobile-toggle.active { background: var(--grad-primary); border-color: transparent; color: #fff; }

/* ===== Mobile navigation ===== */
@media (max-width: 1100px) {
  .nav-link, .dropdown-trigger { padding: 9px 11px; font-size: .88rem; }
  .nav-actions .btn-sm { padding: 8px 14px; font-size: .8rem; }
}

@media (max-width: 880px) {
  :root { --nav-h: 66px; }
  .navbar { background: rgba(255,255,255,.96); border-bottom-color: var(--border-light); }
  .navbar-container { gap: 10px; }
  .logo { font-size: 1.05rem; min-width: 0; }
  .logo-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-actions .btn { display: none; }
  .mobile-toggle { display: inline-flex; flex-shrink: 0; }

  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.985);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 32px 64px -16px rgba(12,31,56,.25);
    padding: 14px clamp(16px, 5vw, 28px) 26px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto; overflow-x: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
    z-index: 999;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }

  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: ''; position: fixed; inset: 0; top: var(--nav-h);
    background: rgba(8,20,36,.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 990;
    animation: fadeIn .25s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .nav-menu > li { width: 100%; }
  .nav-link, .dropdown-trigger {
    width: 100%; padding: 13px 16px; font-size: .98rem;
    border-radius: 14px; justify-content: flex-start;
    min-height: 48px;
  }
  .nav-link i, .dropdown-trigger i:first-child { width: 22px; text-align: center; }
  .dropdown-trigger { justify-content: space-between; }
  .dropdown-trigger .chevron { margin-left: auto; }

  .nav-item-dropdown::after { display: none; }
  .nav-item-dropdown .dropdown-menu,
  .nav-item-dropdown:hover .dropdown-menu {
    position: static; transform: none;
    width: 100%; min-width: 0; max-width: 100%;
    margin: 2px 0 6px; padding: 2px 0 2px 14px;
    background: transparent; border: none;
    border-left: 2px solid var(--border-soft);
    border-radius: 0; box-shadow: none;
    display: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: none;
  }
  .dropdown-menu::before { display: none; }
  .nav-item-dropdown.open .dropdown-menu { display: block; }
  .dropdown-item { padding: 10px 12px; min-height: 48px; }
  .dropdown-item .icon-box { width: 38px; height: 38px; border-radius: 11px; font-size: .92rem; }
  .dropdown-item .item-text strong { font-size: .88rem; }
  .dropdown-item .item-text span { font-size: .76rem; }

  .nav-menu.open .nav-mobile-actions {
    display: flex; flex-direction: column; gap: 10px;
    width: 100%; padding-top: 14px;
  }
  .nav-mobile-actions .btn { width: 100%; }
  .mobile-divider { height: 1px; background: var(--border-light); margin-bottom: 4px; }
}

@media (max-width: 400px) {
  :root { --nav-h: 60px; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo-img-wrap, .brand-logo-img { height: 30px; }
  .mobile-toggle { width: 40px; height: 40px; border-radius: 11px; font-size: 1.1rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 8vh, 88px)) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 85% 8%, rgba(47,143,224,.13), transparent 65%),
    radial-gradient(ellipse 45% 40% at 8% 88%, rgba(245,165,36,.10), transparent 65%),
    radial-gradient(ellipse 40% 35% at 55% 100%, rgba(45,212,191,.08), transparent 70%),
    linear-gradient(165deg, #f2f8ff 0%, #fafbfc 55%, #fdf8ef 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.05rem, 1.3rem + 3.2vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: clamp(.98rem, .92rem + .3vw, 1.12rem);
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.stat-item h4 {
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item p { font-size: .85rem; color: var(--text-muted); margin: 2px 0 0; font-weight: 600; }

/* Terminal visual */
.hero-visual { width: 100%; min-width: 0; }
.terminal-window {
  background: #0c1b2e;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 8px 24px rgba(12,31,56,.12), 0 40px 90px -24px rgba(12,31,56,.45);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.terminal-window:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.terminal-header {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  background: rgba(255,255,255,.045);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.terminal-dots { display: flex; gap: 8px; }
.terminal-dots .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.terminal-title {
  font-size: .8rem; color: #7d9cbd; font-weight: 600; flex: 1;
  font-family: var(--font-mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.terminal-header .t-muted { color: #4d6d8f; font-size: .85rem; }
.terminal-body {
  padding: 20px 22px;
  min-height: 290px; max-height: 320px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: .8rem; line-height: 1.85;
  color: #c8dcf0;
}
.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-thumb { background: #24405e; border: none; }
.terminal-line { padding: 1px 0; overflow-wrap: anywhere; }
.t-prompt { color: #4ade80; font-weight: 600; }
.t-cmd { color: #e8f2fc; }
.t-success { color: #34d399 !important; font-weight: 600; }
.t-warning { color: #fbbf24; }
.t-info { color: #60a5fa; }
.t-taken { color: #f59e0b !important; font-weight: 600; }
.t-error { color: #ef4444 !important; font-weight: 600; }
.t-loading { color: #94a3b8 !important; font-weight: 600; }

/* ==========================================================================
   DOMAIN SECTION
   ========================================================================== */
.domain-section {
  padding: clamp(64px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse 40% 50% at 95% 10%, rgba(45,212,191,.09), transparent 65%),
    radial-gradient(ellipse 35% 45% at 5% 90%, rgba(245,165,36,.08), transparent 65%),
    linear-gradient(180deg, #f4f9fe 0%, #fbfaf7 100%);
  position: relative;
}
.domain-card { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }

.domain-search-box {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--border-light);
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.domain-search-box:focus-within {
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 4px rgba(11,107,203,.10), var(--shadow-hover);
}
.domain-form { display: flex; gap: 10px; }
.domain-input-wrapper {
  flex: 1; display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft);
  border-radius: 15px;
  padding: 4px 6px 4px 18px;
  position: relative;
  min-width: 0;
}
.domain-input-wrapper > i { color: var(--text-light); font-size: 1rem; flex-shrink: 0; }
.domain-input {
  flex: 1; border: none; outline: none;
  font-size: 1rem; background: transparent;
  padding: 12px 84px 12px 0;
  color: var(--text-main);
  font-family: var(--font-main); font-weight: 600;
  min-width: 0;
}
.domain-input::placeholder { color: var(--text-light); font-weight: 500; }
.domain-tld-picker {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: var(--grad-primary); color: #fff;
  padding: 8px 18px; border-radius: 11px;
  font-size: .85rem; font-weight: 800; white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(11,107,203,.5);
  z-index: 2;
}
#searchDomainBtn { padding: 14px 30px; border-radius: 15px; font-size: .98rem; }

/* TLD badges */
.tld-badges {
  display: flex; gap: 9px; flex-wrap: wrap; justify-content: center;
  margin-top: 24px;
}
.tld-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--radius-full);
  background: #fff; border: 1.5px solid var(--border-light);
  font-size: .83rem; font-weight: 700;
  transition: var(--transition); cursor: default;
}
.tld-item::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.tld-item:nth-child(5n+1)::before { background: #2f8fe0; }
.tld-item:nth-child(5n+2)::before { background: #2dd4bf; }
.tld-item:nth-child(5n+3)::before { background: #f5a524; }
.tld-item:nth-child(5n+4)::before { background: #f472b6; }
.tld-item:nth-child(5n+5)::before { background: #a78bfa; }
.tld-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-mid);
  box-shadow: 0 10px 24px -10px rgba(11,107,203,.25);
}
.tld-name { color: var(--text-main); }
.tld-price { color: var(--primary); font-weight: 800; }

/* Result card */
.domain-result {
  display: none;
  margin-top: 24px; padding: 22px 26px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  align-items: center; gap: 18px; flex-wrap: wrap;
}
.domain-result.active { display: flex; animation: domainPop .45s cubic-bezier(.2,.9,.3,1.15); }
@keyframes domainPop {
  0% { opacity: 0; transform: scale(.96) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.domain-result-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-teal);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.45rem;
  box-shadow: 0 8px 20px -6px rgba(13,148,136,.5);
}
.domain-result-info { flex: 1; min-width: 180px; }
.domain-result-info h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 2px; overflow-wrap: anywhere; }
.domain-result-info p { font-size: .92rem; }
.domain-available { color: var(--success); font-weight: 700; }
.domain-result-action { display: flex; align-items: center; gap: 14px; }
.domain-result-price {
  font-size: 1.45rem; font-weight: 800; white-space: nowrap;
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Rekomendasi alternatif saat domain terdaftar */
.domain-suggestions {
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(245,158,11,.09), rgba(245,158,11,.03));
  border: 1px solid rgba(245,158,11,.28);
  border-radius: 14px;
  box-sizing: border-box;
}
.domain-suggestions-title {
  font-size: .92rem; font-weight: 700; color: #b45309;
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.domain-suggestions-title i { color: #f59e0b; }
.domain-suggestions-list { display: flex; flex-direction: column; gap: 8px; }
.suggestion-item {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 12px; background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.07); border-radius: 10px;
}
.suggestion-name { font-weight: 700; color: #0f172a; cursor: pointer; overflow-wrap: anywhere; min-width: 0; }
.suggestion-name:hover { color: var(--primary); text-decoration: underline; }
.suggestion-meta { font-size: .82rem; color: #64748b; margin-left: auto; padding-left: 6px; }
.suggestion-actions { display: flex; gap: 6px; margin-left: auto; }
.suggestion-item .suggestion-meta { margin-left: 0; }
.btn-xs { padding: 4px 10px; font-size: .78rem; border-radius: 8px; }
@media (max-width: 640px) {
  .suggestion-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .suggestion-actions { margin-left: 0; width: 100%; }
  .suggestion-actions .btn-xs { flex: 1; text-align: center; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-section { padding: clamp(64px, 9vw, 110px) 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.glass-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 34px);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-mid);
  transform: translateY(-5px);
}
.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-rainbow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.service-card:hover::before { transform: scaleX(1); }
/* Aksen warna per layanan: garis atas + centang fitur + tint hover mengikuti warna ikon */
.service-card[data-accent="coral"]:hover::before { background: linear-gradient(90deg, #fb7185, #e11d48); }
.service-card[data-accent="teal"]:hover::before,
.service-card[data-accent="mint"]:hover::before { background: var(--grad-teal); }
.service-card[data-accent="gold"]:hover::before { background: var(--grad-accent); }
.service-card[data-accent="blue"]:hover::before { background: var(--grad-primary); }
.service-card[data-accent="coral"] .service-features li i { color: #e11d48; background: #ffe4e6; }
.service-card[data-accent="teal"] .service-features li i,
.service-card[data-accent="mint"] .service-features li i { color: var(--teal); background: #d9f7f1; }
.service-card[data-accent="gold"] .service-features li i { color: var(--accent-dark); background: var(--accent-light); }
.service-card[data-accent="coral"]:hover { border-color: #fda4af; }
.service-card[data-accent="teal"]:hover,
.service-card[data-accent="mint"]:hover { border-color: #5eead4; }
.service-card[data-accent="gold"]:hover { border-color: #fcd34d; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 20px;
  transition: var(--transition); color: #fff;
}
.service-icon.blue { background: var(--grad-primary); box-shadow: 0 10px 22px -8px rgba(11,107,203,.5); }
.service-icon.teal { background: var(--grad-teal); box-shadow: 0 10px 22px -8px rgba(13,148,136,.5); }
.service-icon.gold { background: var(--grad-accent); box-shadow: 0 10px 22px -8px rgba(245,165,36,.5); }
.service-icon.coral { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 10px 22px -8px rgba(225,29,72,.5); }
.service-icon.mint { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 10px 22px -8px rgba(5,150,105,.5); }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-5deg); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; font-weight: 800; }
.service-card p { font-size: .93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; flex: 1; }
.service-features { list-style: none; margin-bottom: 22px; }
.service-features li {
  padding: 6px 0; font-size: .89rem; color: var(--text-main);
  display: flex; align-items: flex-start; gap: 10px; font-weight: 500;
}
.service-features li i {
  color: var(--success); font-size: .8rem; margin-top: 4px; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-light);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ==========================================================================
   VPS CALCULATOR
   ========================================================================== */
.calc-section {
  padding: clamp(64px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse 40% 45% at 92% 5%, rgba(45,212,191,.10), transparent 65%),
    radial-gradient(ellipse 35% 40% at 5% 95%, rgba(245,165,36,.09), transparent 65%),
    linear-gradient(150deg, #eef6fd 0%, #f7fafc 50%, #fdf9f0 100%);
  position: relative;
  overflow: hidden;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
  position: relative; z-index: 1;
}
.calc-controls { display: flex; flex-direction: column; gap: 16px; }

.slider-group {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.slider-group:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-mid);
  transform: translateY(-2px);
}
.slider-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.slider-header label {
  font-size: .92rem; font-weight: 700; color: var(--text-main);
  display: flex; align-items: center; gap: 9px;
}
.slider-header label i { font-size: 1rem; }
.slider-val {
  font-weight: 800; font-size: .98rem;
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

/* Range slider */
input[type="range"] {
  width: 100%; height: 8px;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(90deg, #cbdeef, #a8cbe8);
  border-radius: 6px; outline: none;
  transition: background .3s;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff;
  border: 7px solid var(--primary);
  box-shadow: 0 4px 14px rgba(11,107,203,.4);
  cursor: grab;
  transition: transform .2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff;
  border: 7px solid var(--primary);
  box-shadow: 0 4px 14px rgba(11,107,203,.4);
  cursor: grab;
}
input[type="range"]::-moz-range-track {
  height: 8px; background: linear-gradient(90deg, #cbdeef, #a8cbe8); border-radius: 6px;
}

.calc-controls .form-group label {
  font-size: .92rem; font-weight: 700;
  display: flex; align-items: center; gap: 9px; margin-bottom: 9px;
}
.calc-controls .form-control {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  color: var(--text-main);
  font-weight: 600; font-size: .95rem;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.calc-controls .form-control:hover { border-color: var(--primary-mid); }
.calc-controls .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,107,203,.10);
}
.calc-controls select.form-control::-ms-expand { display: none; }

/* Summary card */
.calc-summary-card {
  text-align: center;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 34px);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.calc-summary-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad-rainbow);
}
.calc-summary-card:hover { box-shadow: var(--shadow-hover); }
.calc-summary-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.price-display {
  margin: 16px 0 24px;
  padding: 18px 16px;
  background: var(--bg-soft);
  border-radius: 16px;
  border: 2px dashed var(--border-soft);
}
.price-val {
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.7rem);
  font-weight: 800;
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.02em;
}
.price-period { font-size: .85rem; color: var(--text-dim); font-weight: 600; margin-top: 4px; }

.spec-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}
.spec-item {
  background: var(--bg-soft);
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.spec-item:hover { border-color: var(--primary-mid); transform: translateY(-2px); }
.spec-item span {
  display: block; font-size: .68rem; color: var(--text-dim);
  font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 3px;
}
.spec-item strong { font-size: .95rem; color: var(--text-main); font-weight: 800; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-section {
  padding: clamp(64px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse 40% 40% at 95% 90%, rgba(245,165,36,.07), transparent 65%),
    linear-gradient(180deg, #fbfbfd 0%, #f2f8fd 100%);
  position: relative;
}
.pricing-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 42px;
  padding: 6px;
  background: #e8f0f8;
  border-radius: 16px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
}
.tab-btn {
  padding: 12px 26px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--primary-dark); }
.tab-btn.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(11,107,203,.5);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 26px;
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
}
.pricing-card {
  display: flex; flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: clamp(26px, 3vw, 34px);
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.pricing-card:hover::before { transform: scaleX(1); }
.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-mid);
  transform: translateY(-6px);
}
.pricing-card.featured {
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 2px var(--primary-mid), 0 28px 64px -16px rgba(11,107,203,.28);
}
.pricing-card.featured::before { transform: scaleX(1); background: var(--grad-rainbow); }
@media (min-width: 1025px) {
  .pricing-card.featured { transform: translateY(-10px); }
  .pricing-card.featured:hover { transform: translateY(-14px); }
}
.badge-pop {
  position: absolute; top: 18px; right: 18px;
  background: var(--grad-accent);
  color: #422006;
  padding: 6px 15px; border-radius: var(--radius-full);
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px;
  box-shadow: 0 6px 16px -6px rgba(245,165,36,.55);
  z-index: 2;
}
.pricing-header h3 { font-size: 1.15rem; margin-bottom: 6px; font-weight: 800; }
.pricing-header p { font-size: .88rem !important; color: var(--text-dim) !important; margin-bottom: 16px; }
.pricing-price {
  font-size: clamp(1.85rem, 1.5rem + 1.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 22px;
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.02em;
}
.pricing-price span {
  font-size: .88rem; color: var(--text-muted); font-weight: 500;
  -webkit-text-fill-color: var(--text-muted);
  letter-spacing: 0;
}
.pricing-card .service-features { flex: 1; margin-bottom: 24px; list-style: none; }
.pricing-card .service-features li {
  padding: 7px 0; font-size: .89rem; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 10px; font-weight: 500;
}
.pricing-card .service-features li i {
  color: var(--success); font-size: .8rem; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-light);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(8,20,36,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.modal.active { display: flex; animation: modalFade .3s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  width: min(480px, 100%);
  margin: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 40px 100px -20px rgba(8,20,36,.4);
  animation: modalSlide .4s cubic-bezier(.2,.9,.3,1.1);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
@keyframes modalSlide {
  0% { opacity: 0; transform: translateY(28px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  background: linear-gradient(135deg, #eef6fd, #fdf8ef);
  padding: 28px 28px 22px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #16a34a);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.7rem; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(22,163,74,.55);
}
.modal-header h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 6px; }
.modal-header p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.modal-content form { padding: 24px 28px 28px; }
.modal-field { margin-bottom: 18px; }
.modal-field label {
  display: flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 700; color: var(--text-main);
  margin-bottom: 7px;
}
.modal-field label i { color: var(--primary); font-size: .85rem; width: 16px; }
.modal-field .form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  color: var(--text-main);
  font-weight: 600; font-size: .95rem;
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.modal-field .form-control:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,107,203,.10);
}
/* CAPTCHA anti-bot */
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-img {
  flex-shrink: 0;
  width: 140px; height: 46px;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  object-fit: cover;
  background: #f6f8fc;
  transition: opacity .15s ease;
}
.captcha-img.loading { opacity: .4; }
.captcha-row .form-control { min-width: 0; flex: 1; }
.captcha-row .form-control.has-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220,38,38,.10);
}
.captcha-refresh-btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.captcha-refresh-btn:hover { border-color: var(--primary); color: var(--primary); background: #fff; transform: rotate(180deg); }
.captcha-hint { font-size: .78rem; color: var(--text-dim); margin: 7px 0 0 2px; }
.captcha-hint.has-error { color: #dc2626; font-weight: 600; }
@media (max-width: 480px) {
  .captcha-img { width: 120px; }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border-light);
  color: var(--text-dim);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.modal-close:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(90deg); }

@media (max-height: 700px) {
  .modal-header { padding: 18px 20px 14px; }
  .modal-header h3 { font-size: 1.2rem; }
  .modal-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 10px; }
  .modal-content form { padding: 16px 20px 20px; }
  .modal-field { margin-bottom: 12px; }
  .modal-field .form-control { padding: 10px 14px; }
}

/* ==========================================================================
   ARTIKEL (home section)
   ========================================================================== */
.artikel-home-section {
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(180deg, #f4f9fe 0%, #ffffff 60%, #fdf9f2 100%);
}
.artikel-home-section .artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.artikel-home-section .artikel-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.artikel-home-section .artikel-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-mid);
  transform: translateY(-5px);
}
.artikel-home-section .artikel-thumb {
  aspect-ratio: 16 / 9;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,.35);
  overflow: hidden; position: relative;
}
.artikel-home-section .artikel-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.artikel-home-section .artikel-card:hover .artikel-thumb img { transform: scale(1.06); }
.artikel-home-section .artikel-body {
  padding: 22px; flex: 1; display: flex; flex-direction: column;
}
.artikel-home-section .artikel-date {
  font-size: .8rem; color: var(--text-dim); margin-bottom: 9px; font-weight: 600;
}
.artikel-home-section .artikel-date i { color: var(--primary); margin-right: 4px; }
.artikel-home-section .artikel-body h3 {
  font-size: 1.08rem; margin-bottom: 9px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.artikel-home-section .artikel-body p {
  color: var(--text-muted); font-size: .9rem; line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.artikel-home-section .artikel-empty {
  grid-column: 1 / -1; text-align: center;
  padding: 64px 20px; color: var(--text-dim);
}
.artikel-home-section .artikel-empty i { font-size: 3rem; margin-bottom: 16px; display: block; color: var(--primary-mid); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(47,143,224,.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 100%, rgba(45,212,191,.08), transparent 60%),
    linear-gradient(160deg, #0a1929 0%, #0d2540 55%, #0a1c33 100%);
  padding: clamp(56px, 8vw, 88px) 0 0;
  color: #9db4c8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 60px);
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo .logo-text { color: #fff; }
.footer-brand .logo .text-gradient {
  background: linear-gradient(120deg, #4db2ff, #38bdf8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand p { color: #8ba3bb; margin-top: 18px; max-width: 320px; font-size: .93rem; line-height: 1.75; }
.footer-col h4 {
  color: #fff; font-size: 1rem; font-weight: 800;
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 34px; height: 3px; border-radius: 3px;
  background: var(--grad-rainbow);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 2px; }
.footer-links a {
  color: #9db4c8; text-decoration: none;
  font-size: .92rem;
  padding: 6px 0;
  display: inline-flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.footer-links a i { color: #5f7d99; width: 16px; text-align: center; transition: var(--transition); font-size: .85rem; }
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-links a:hover i { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap;
}
.footer-bottom p { color: #7c96ad; font-size: .88rem; margin: 0; }
.footer-bottom a { color: #7c96ad; text-decoration: none; font-size: .88rem; transition: color .25s; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ==========================================================================
   RESPONSIVE — STRUCTURAL BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { gap: 36px; }
}

@media (max-width: 1024px) {
  .hero { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-content h1 { margin-inline: auto; max-width: 640px; }
  .hero-content p { max-width: 560px; margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .terminal-window { transform: none; }

  .calc-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .calc-summary-card { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
}

@media (max-width: 640px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .hero-stats { gap: 18px; }
  .stat-item { flex: 1; min-width: 90px; text-align: center; }

  .terminal-body { min-height: 230px; max-height: 260px; font-size: .72rem; padding: 16px; }
  .terminal-title { font-size: .68rem; }

  .domain-form { flex-direction: column; }
  .domain-input-wrapper { padding: 4px 6px 4px 16px; }
  .domain-input { padding: 12px 76px 12px 0; font-size: .95rem; }
  .domain-tld-picker { padding: 7px 13px; font-size: .78rem; }
  #searchDomainBtn { width: 100%; }
  .domain-result { flex-direction: column; text-align: center; padding: 22px 20px; }
  .domain-result-info { min-width: 0; }
  .domain-result-action { flex-direction: column; width: 100%; }
  .domain-result-action .btn { width: 100%; }

  .pricing-tabs { display: flex; width: 100%; }
  .tab-btn { flex: 1; padding: 12px 10px; font-size: .85rem; text-align: center; }

  .badge { font-size: .72rem; padding: 6px 14px; letter-spacing: .4px; }
  .btn { font-size: .9rem; padding: 12px 22px; }
  .btn-sm { padding: 9px 16px; font-size: .82rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 28px); }
  .badge { font-size: .68rem; padding: 5px 12px; }
  .tld-item { padding: 5px 12px; font-size: .76rem; }
  .spec-summary { gap: 8px; }
  .spec-item { padding: 11px 12px; }
  .spec-item strong { font-size: .85rem; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   PAGE HERO (halaman dalam)
   ========================================================================== */
.page-hero {
  padding: calc(var(--nav-h) + clamp(44px, 7vh, 76px)) 0 clamp(44px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 55% at 88% 0%, rgba(47,143,224,.12), transparent 65%),
    radial-gradient(ellipse 40% 50% at 8% 100%, rgba(245,165,36,.09), transparent 65%),
    linear-gradient(165deg, #f2f8ff 0%, #fafbfc 55%, #fdf8ef 100%);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3rem);
  margin-bottom: 14px;
  max-width: 760px; margin-inline: auto;
}
.page-hero p {
  color: var(--text-muted);
  font-size: clamp(.95rem, .9rem + .3vw, 1.08rem);
  max-width: 620px; margin: 0 auto;
}
.page-hero-nav {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
}
.page-hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-full);
  background: #fff; border: 1.5px solid var(--border-soft);
  color: var(--text-main); text-decoration: none;
  font-size: .88rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(12,31,56,.04);
}
.page-hero-chip i { color: var(--primary); }
.page-hero-chip:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   PROCESS STEPS (home)
   ========================================================================== */
.process-section {
  padding: clamp(64px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse 40% 45% at 5% 5%, rgba(45,212,191,.08), transparent 65%),
    radial-gradient(ellipse 35% 40% at 95% 95%, rgba(47,143,224,.08), transparent 65%),
    linear-gradient(180deg, #f7fafd 0%, #fdf9f2 100%);
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
  counter-reset: step;
}
.step-card { position: relative; overflow: hidden; }
.step-num {
  position: absolute; top: 14px; right: 20px;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--primary-ink); opacity: .07;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.step-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ==========================================================================
   PRODUK BANNER (home)
   ========================================================================== */
.produk-banner-section { padding: 0 0 clamp(64px, 9vw, 110px); background: linear-gradient(180deg, #fdf9f2 0%, #f4f9fe 100%); }
.produk-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 48px); flex-wrap: wrap;
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(245,165,36,.16), transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(56,189,248,.18), transparent 60%),
    linear-gradient(135deg, #0c1f38 0%, #123a63 60%, #0d2540 100%);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
  box-shadow: 0 32px 72px -20px rgba(12,31,56,.45);
  position: relative; overflow: hidden;
}
.produk-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad-rainbow);
}
.produk-banner-text { flex: 1; min-width: min(100%, 420px); position: relative; z-index: 1; }
.produk-banner-text .badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fbd38d; }
.produk-banner-text .badge i { color: #fbd38d; }
.produk-banner-text h2 {
  color: #fff; font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.1rem);
  margin-bottom: 12px;
}
.produk-banner-text h2 .text-gradient {
  background: linear-gradient(120deg, #4db2ff, #38bdf8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.produk-banner-text p { color: #a8bfd4; font-size: .98rem; max-width: 520px; margin-bottom: 22px; }
.produk-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.produk-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  color: #dce9f5; text-decoration: none;
  font-size: .85rem; font-weight: 700;
  transition: var(--transition);
}
.produk-chip i { color: var(--sky); }
.produk-chip:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.produk-banner-action { position: relative; z-index: 1; flex-shrink: 0; }

/* ==========================================================================
   DEDICATED SECTION (produk)
   ========================================================================== */
.dedicated-section {
  padding: clamp(64px, 9vw, 110px) 0;
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f8fd 100%);
}

/* ==========================================================================
   CTA CARD (home & produk)
   ========================================================================== */
.cta-home-section { padding: clamp(64px, 9vw, 110px) 0; background: #fff; }
.cta-home-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 48px); flex-wrap: wrap;
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(45,212,191,.14), transparent 60%),
    radial-gradient(ellipse 45% 70% at 0% 100%, rgba(47,143,224,.14), transparent 60%),
    linear-gradient(135deg, #0c1f38 0%, #123a63 60%, #0d2540 100%);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
  box-shadow: 0 32px 72px -20px rgba(12,31,56,.45);
}
.cta-home-text { flex: 1; min-width: min(100%, 400px); }
.cta-home-text h2 {
  color: #fff; font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.1rem);
  margin-bottom: 10px;
}
.cta-home-text p { color: #a8bfd4; font-size: .98rem; margin: 0; max-width: 520px; }
.cta-home-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-home-actions .btn-outline {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff;
}
.cta-home-actions .btn-outline:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); color: #fff; }

@media (max-width: 640px) {
  .produk-banner, .cta-home-card { flex-direction: column; text-align: center; }
  .produk-banner-text p { margin-inline: auto; }
  .produk-chips, .cta-home-actions { justify-content: center; }
  .cta-home-actions .btn, .produk-banner-action .btn { width: 100%; }
  .cta-home-actions { width: 100%; }
  .produk-banner-action { width: 100%; }
}

/* ==========================================================================
   HOMEPAGE POLISH — dekor hero, floating cards, marquee & micro-interaction
   ========================================================================== */

/* --- Hero entrance --- */
.hero-content > * { animation: heroRise .7s cubic-bezier(.2,.7,.3,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }
.hero-content > *:nth-child(5) { animation-delay: .32s; }
.hero-visual { animation: heroRise .8s cubic-bezier(.2,.7,.3,1) .18s both; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* --- Hero aurora blobs --- */
.hero-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform, translate; }
.hero-blob-1 {
  width: 440px; height: 440px; top: -140px; right: -90px;
  background: radial-gradient(circle, rgba(47,143,224,.32), transparent 70%);
  animation: blobDrift 15s ease-in-out infinite;
}
.hero-blob-2 {
  width: 380px; height: 380px; bottom: -120px; left: -110px;
  background: radial-gradient(circle, rgba(245,165,36,.26), transparent 70%);
  animation: blobDrift 19s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 300px; height: 300px; top: 42%; left: 40%;
  background: radial-gradient(circle, rgba(45,212,191,.20), transparent 70%);
  animation: blobDrift 22s ease-in-out infinite 2.5s;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(34px, -26px) scale(1.07); }
  66% { transform: translate(-26px, 20px) scale(.95); }
}

/* --- Floating cards di sekitar terminal --- */
.hero-visual-wrap { position: relative; transition: transform .3s ease-out; will-change: transform; }
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(226,236,244,.95);
  border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 12px 32px -12px rgba(12,31,56,.3);
  animation: fcFloat 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .82rem; line-height: 1.3; color: var(--text-main); white-space: nowrap; }
.float-card span { display: block; font-size: .68rem; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.float-card-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .88rem;
}
.fc-green { background: linear-gradient(135deg, #34d399, #059669); }
.fc-blue { background: var(--grad-primary); }
.fc-amber { background: var(--grad-accent); }
.float-card-1 { top: 7%; left: -26px; }
.float-card-2 { bottom: 16%; right: -22px; animation-delay: 1.8s; }
.float-card-3 { bottom: -20px; left: 16%; animation-delay: 3.2s; }
@keyframes fcFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Trust marquee --- */
.trust-marquee {
  position: relative; overflow: hidden;
  padding: 16px 0; background: #fff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-marquee::before, .trust-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.trust-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.trust-marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 34s linear infinite; }
.trust-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 46px; padding-right: 46px; }
.marquee-item {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .95rem; color: var(--text-dim); white-space: nowrap;
  transition: color .25s ease;
}
.marquee-item:hover { color: var(--primary); }
.marquee-item i { font-size: 1.15rem; color: var(--primary-mid); }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* --- Stats band (counter strip) --- */
.stats-band {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 64px) 0;
  background:
    radial-gradient(ellipse 45% 60% at 90% 10%, rgba(47,143,224,.09), transparent 65%),
    radial-gradient(ellipse 40% 55% at 5% 95%, rgba(245,165,36,.08), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stats-band-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.stats-band-item { text-align: center; }
.stats-band-item h3 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; line-height: 1.15;
  background: linear-gradient(120deg, #2f8fe0, #0a3d91);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-band-item p { color: var(--text-muted); font-size: .92rem; font-weight: 600; margin: 4px 0 0; }
@media (min-width: 641px) {
  .stats-band-item + .stats-band-item { border-left: 1px solid var(--border-light); }
}
@media (max-width: 640px) {
  .stats-band-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
}

/* --- Button shine sweep --- */
.btn-primary, .btn-accent, .btn-wa { position: relative; overflow: hidden; }
.btn-primary::after, .btn-accent::after, .btn-wa::after {
  content: ""; position: absolute; top: 0; left: -90%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-primary:hover::after, .btn-accent:hover::after, .btn-wa:hover::after { animation: btnShine .75s ease; }
@keyframes btnShine { to { left: 135%; } }

/* --- Shimmer pada gradient text heading hero --- */
.hero-content h1 .text-gradient {
  background-image: linear-gradient(120deg, #2f8fe0, #0a3d91, #2f8fe0);
  background-size: 200% auto;
  animation: gradShift 7s linear infinite;
}
.hero-content h1 .text-gradient-purple {
  background-image: linear-gradient(120deg, #a78bfa, #7c3aed, #a78bfa);
  background-size: 200% auto;
  animation: gradShift 7s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1200; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--grad-rainbow);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-primary); color: #fff; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-btn);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-btn-hover); }

/* --- Responsif untuk elemen baru --- */
@media (max-width: 1100px) {
  .float-card-1 { left: -8px; }
  .float-card-2 { right: -8px; }
}
@media (max-width: 640px) {
  .float-card { padding: 8px 11px; border-radius: 12px; gap: 8px; }
  .float-card-icon { width: 28px; height: 28px; font-size: .75rem; border-radius: 8px; }
  .float-card strong { font-size: .74rem; }
  .float-card span { font-size: .62rem; }
  .float-card-3 { display: none; }
  .hero-blob { filter: blur(50px); }
  .marquee-group { gap: 30px; padding-right: 30px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ==========================================================================
   PAGE HERO POLISH — semua halaman dalam (produk, artikel, faq, portfolio,
   artikel-detail, tentang)
   ========================================================================== */
.page-hero, .about-hero, .artikel-hero, .faq-hero, .portfolio-hero, .artikel-detail-hero {
  isolation: isolate;
}
.page-hero::before, .about-hero::before, .artikel-hero::before,
.faq-hero::before, .portfolio-hero::before, .artikel-detail-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 380px; height: 380px; top: -140px; right: -80px;
  border-radius: 50%; filter: blur(70px);
  background: radial-gradient(circle, rgba(47,143,224,.26), transparent 70%);
  animation: blobDrift 16s ease-in-out infinite;
}
.page-hero::after, .about-hero::after, .artikel-hero::after,
.faq-hero::after, .portfolio-hero::after, .artikel-detail-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 320px; height: 320px; bottom: -120px; left: -80px;
  border-radius: 50%; filter: blur(70px);
  background: radial-gradient(circle, rgba(245,165,36,.20), transparent 70%);
  animation: blobDrift 20s ease-in-out infinite reverse;
}

/* Entrance animation konten hero halaman dalam */
.page-hero .container > *, .about-hero .container > *, .artikel-hero .container > *,
.faq-hero .container > *, .portfolio-hero .container > *, .artikel-detail-hero .container > * {
  animation: heroRise .7s cubic-bezier(.2,.7,.3,1) both;
}
.page-hero .container > *:nth-child(2), .about-hero .container > *:nth-child(2),
.artikel-hero .container > *:nth-child(2), .faq-hero .container > *:nth-child(2),
.portfolio-hero .container > *:nth-child(2), .artikel-detail-hero .container > *:nth-child(2) {
  animation-delay: .08s;
}
.page-hero .container > *:nth-child(3), .about-hero .container > *:nth-child(3),
.artikel-hero .container > *:nth-child(3), .faq-hero .container > *:nth-child(3),
.portfolio-hero .container > *:nth-child(3), .artikel-detail-hero .container > *:nth-child(3) {
  animation-delay: .16s;
}
.page-hero .container > *:nth-child(4), .about-hero .container > *:nth-child(4),
.artikel-hero .container > *:nth-child(4), .faq-hero .container > *:nth-child(4),
.portfolio-hero .container > *:nth-child(4), .artikel-detail-hero .container > *:nth-child(4) {
  animation-delay: .24s;
}

/* --- 404 playful float --- */
.error-code { animation: fcFloat 5s ease-in-out infinite; }

/* ==========================================================================
   TABEL HARGA DOMAIN (domain.php)
   ========================================================================== */
.domain-price-section { padding: clamp(56px, 8vw, 96px) 0; background: var(--bg-soft); }

.price-table-card { max-width: 1100px; margin: 0 auto; padding: 0; overflow: visible; }

.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 22px; }

.price-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .95rem; }
.price-table thead th {
  text-align: left; padding: 18px 24px;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  color: var(--text-dim); background: #f8fafd;
  border-bottom: 1.5px solid var(--border-light);
  white-space: nowrap;
}
.price-table thead th.th-right { text-align: center; }
.price-table thead th:last-child { text-align: center; }
.price-table tbody td {
  padding: 18px 24px; border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background .2s ease; }
.price-table tbody tr:hover { background: var(--primary-light); }

.pt-tld-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.pt-tld {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 1.05rem; color: var(--primary-dark); line-height: 1.3;
}
.pt-badge {
  display: inline-block; padding: 3px 10px;
  font-size: .66rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  border-radius: var(--radius-full); line-height: 1.4;
}
.pt-badge-pop { background: var(--accent-light); color: var(--accent-dark); border: 1px solid var(--accent); }
.pt-badge-local { background: var(--success-light); color: #15803d; border: 1px solid #86efac; }

.pt-price-cell { text-align: center; white-space: nowrap; }
.pt-price { font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.pt-desc { color: var(--text-muted); font-size: .88rem; }
.pt-action-cell { text-align: center; white-space: nowrap; }

.price-table-notes {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 18px 24px; background: #f8fafd; border-top: 1.5px solid var(--border-light);
}
.pt-note { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.pt-note i { color: var(--success); }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .price-table thead th, .price-table tbody td { padding: 14px 16px; }
}
