/* ============================================
   MedismartPlus — Light Theme Design System
   ============================================ */
:root {
  /* Light surfaces */
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f1f6fb;
  --surface-3: #e8f2fb;

  /* Text */
  --fg: #0f1a2e;
  --fg-soft: #243049;
  --muted: #5b6577;

  /* Brand (BLUE THEME) */
  --primary: #2d5b98;
  --primary-glow: #3aa0e6;
  --primary-soft: #e6f2fb;
  --primary-foreground: #ffffff;

  /* Accent */
  --gold: #d99b1c;
  --gold-soft: #fdf3d8;
  --danger: #dc2626;

  /* Borders */
  --border: rgba(15, 26, 46, 0.08);
  --border-strong: rgba(15, 26, 46, 0.16);

  /* Radius */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Shadows (disesuaikan ke biru) */
  --shadow-sm: 0 2px 8px -2px rgba(15, 26, 46, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 26, 46, 0.10);
  --shadow-glow: 0 24px 60px -24px rgba(58, 160, 230, 0.45);
  --shadow-elegant: 0 30px 80px -30px rgba(15, 26, 46, 0.18);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-gold: linear-gradient(135deg, #f0c040, #d99b1c);

  /* ✅ FIXED BACKGROUND (BLUE MATCH) */
  --gradient-bg:
    radial-gradient(70% 70% at 85% -10%, rgba(149, 209, 255, 0.18), transparent 60%),
    radial-gradient(60% 60% at -10% 110%, rgba(58, 160, 230, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);

  /* Fonts */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-sans: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  background-image: var(--gradient-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: var(--fg); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2.big { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 0.875rem; }
.small-caps { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 600; }
.accent-text { color: var(--primary); }
.accent-text-red { color: #F44336 }
.link { color: var(--primary); text-decoration: underline; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--primary-foreground);
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  text-align: center;
  justify-content: center;
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -20px rgba(10, 163, 119, 0.55); }
.btn-ghost {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--fg);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary); color: var(--primary); }

/* ============== BADGES & CHIPS ============== */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid;
  margin-bottom: 18px;
}
.badge-primary { color: var(--primary); border-color: rgb(56 148 216); background: var(--primary-soft); }
.badge-gold { color: var(--gold); border-color: rgba(217, 155, 28, 0.3); background: var(--gold-soft); }

.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
}
.chip-primary {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgba(10, 163, 119, 0.25);
}

/* ============== NAVBAR ============== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  transition: padding 0.3s;
}
.navbar.scrolled { padding: 8px 0; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: all 0.3s;
}
.navbar.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 10px; }
/*.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-weight: 800;
  border-radius: 10px;
  box-shadow: var(--shadow-glow);
}*/
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  overflow: hidden;
  background: transparent; /* optional biar clean */
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.accent { color: var(--primary); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--fg);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .icon-close { display: none; }
.menu-btn.open .icon-menu { display: none; }
.menu-btn.open .icon-close { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 8px 24px 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--surface-2); }

/* ============== HERO ============== */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

/* Primary blue glow */
.orb-1 {
  top: -160px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: rgba(149, 209, 255, 0.25);
}

/* Soft gold accent (biar hidup) */
.orb-2 {
  bottom: -160px;
  left: 40px;
  width: 400px;
  height: 400px;
  background: rgba(149, 209, 255, 0.25);
}

/* Secondary blue */
.orb-3 {
  top: -80px;
  right: 0;
  width: 380px;
  height: 380px;
  background: rgba(149, 209, 255, 0.18);
}

/* subtle gold */
.orb-4 {
  bottom: 0;
  left: 0;
  width: 380px;
  height: 380px;
  background: rgba(240, 192, 64, 0.08);
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; position: relative; z-index: 1;
}
.display { margin-top: 24px; }
.lead { margin-top: 24px; color: var(--fg-soft); font-size: 1.1rem; max-width: 560px; }
.lead strong { color: var(--fg); font-weight: 600; }

.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { margin-top: 40px; display: flex; align-items: center; gap: 20px; font-size: 0.75rem; color: var(--muted); }
.hero-stats .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.hero-stats .sep { width: 1px; height: 32px; background: var(--border-strong); }

/* Dashboard mockup */
.dashboard-wrap { position: relative; }
.floating-badge {
  position: absolute; top: -16px; left: -16px; z-index: 2;
  background: var(--gradient-gold);
  color: #2a1d00;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700; font-size: 0.75rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.dashboard {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
}
.dash-head { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; opacity: 0.85; }
.dot.yellow { background: #f0c040; opacity: 0.85; }
.dot.green { background: var(--primary); opacity: 0.85; }
.dash-title { margin-left: auto; font-size: 0.75rem; color: var(--muted); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.stat-v {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-l { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

.bars {
  margin-top: 20px; height: 96px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 12px;
  display: flex; align-items: flex-end; gap: 6px;
}
.bar {
  flex: 1; min-height: 0;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  height: 0;
}

/* ============== SECTIONS ============== */
.section { padding: 20px 0; position: relative; }
.section-promo { overflow: hidden; }
.section-head { max-width: 640px; margin: 0 auto 20px; text-align: center; }
.section-head .badge { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 20px; }

.grid-pricing { display: grid; gap: 16px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns:repeat(4, 1fr); }
.grid-5 { grid-template-columns:repeat(5, 1fr); }
.grid-6 { grid-template-columns:repeat(6, 1fr); }
.align-center { align-items: center; }

.gap-sm { gap: 16px; }

/* ============== LOGOS ============== */
.logos { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.5); }
.logo-row { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.875rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.logo-pill:hover { color: var(--primary); border-color: rgb(10 85 163 / 40%); }

/* ============== FEATURE CARDS ============== */
.feature {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.feature:hover { transform: translateY(-4px); border-color: rgb(56 149 218); box-shadow: var(--shadow-md); }
.feature.highlight {
  border-color: rgb(50 159 239);
  background: linear-gradient(135deg, var(--primary-soft), #ffffff);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { font-size: 0.9rem; color: var(--muted); }
.feature .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ============== PROMO ============== */
.benefit-list { margin: 32px 0; display: flex; flex-direction: column; gap: 12px; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.alert-gold {
  background: var(--gold-soft);
  border-color: rgba(217, 155, 28, 0.35);
  color: #7a5a10;
  text-align: center;
  margin-top: 32px;
}

.price-card { display: flex; flex-direction: column; gap: 16px; }
.price-hero {
  text-align: center;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-soft), #ffffff);
  border: 1px solid rgb(56 149 218);
  box-shadow: var(--shadow-md);
}
.price {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.strike { font-size: 0.75rem; color: var(--muted); text-decoration: line-through; margin-top: 4px; }

.slot-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--gold-soft);
  border: 1px solid rgba(217, 155, 28, 0.3);
}
.slot-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--gold); }

.terms-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.terms-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.terms-card li { font-size: 0.875rem; color: var(--muted); }

/* ============== PRICING ============== */
.plan {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  height: 100%;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.popular {
  border-color: rgb(52 160 238);
  background: linear-gradient(135deg, var(--primary-soft), #ffffff);
  box-shadow: var(--shadow-glow);
}
.plan-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #2a1d00;
  padding: 4px 16px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800;
}
.plan-name { margin: 8px 0; }
.plan-desc {
  font-size: 0.875rem;
  color: var(--muted);
  min-height: 90px;
}
.plan-price-block {
  margin: 24px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.plan-price {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 25px);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* FIX WRAP TEXT */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}
.plan-save {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--gold-soft);
  color: #7a5a10;
  font-size: 0.75rem; font-weight: 600;
}
.plan-features { display: flex; flex-direction: column; gap: 10px; font-size: 0.875rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; }
.plan-features .ok { color: var(--primary); flex-shrink: 0; }
.plan-features .no { color: rgba(91, 101, 119, 0.5); flex-shrink: 0; }
.plan-features .no + span { color: rgba(91, 101, 119, 0.6); text-decoration: line-through; }
.plan .btn { margin-top: 24px; }

/* ============== FORM ============== */
.perk {
  display: flex; gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.perk-icon { font-size: 1.5rem; flex-shrink: 0; }
.perk b { display: block; margin-bottom: 4px; }
.perk p { font-size: 0.8rem; color: var(--muted); }

.form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-elegant);
}
.form-card h3 { margin-bottom: 6px; }

#trialForm { 
  margin-top: 24px; 
  display: flex; 
  flex-direction: column; gap: 16px; 
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-elegant);
  height: 100%;
}

#trialForm label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--fg-soft); }
#trialForm input, #trialForm select, #trialForm textarea {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#trialForm input:focus, #trialForm select:focus, #trialForm textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(10 114 163 / 15%);
}
#trialForm textarea { resize: vertical; min-height: 90px; }
.check-line { flex-direction: row !important; align-items: flex-start; gap: 12px !important; font-size: 0.8rem !important; color: var(--muted) !important; }
.check-line input { width: 16px; height: 16px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.form-msg {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.form-msg.success { background: var(--primary-soft); border: 1px solid rgba(10, 163, 119, 0.35); color: #066e51; }

/* ============== TESTIMONIALS ============== */
.testimonial {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  height: 100%;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.3s;
  box-shadow: var(--shadow-sm);
}
.testimonial:hover { border-color: rgb(56 148 217); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stars { color: var(--gold); margin-bottom: 16px; }
.testimonial blockquote { margin: 0; font-style: italic; color: var(--fg-soft); flex: 1; }
.testimonial figcaption {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  display: grid; place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.author-name { font-weight: 600; line-height: 1.2; color: var(--fg); }
.author-role { font-size: 0.75rem; color: var(--muted); }
.author-org {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.7rem; color: var(--muted);
}

/* ============== INTEGRATIONS ============== */
.integration {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.integration:hover { transform: translateY(-4px); border-color: rgb(56 151 219); box-shadow: var(--shadow-md); }
.integration .icon-box {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  display: grid; place-items: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.integration h3 { margin-bottom: 8px; }
.integration p { color: var(--muted); font-size: 0.9rem; }

/* ============== CONTACT ============== */
.contact-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-elegant);
  height: 100%;
}
.big-icon { font-size: 2rem; margin-bottom: 12px; }
.hours { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.hour-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--fg-soft);
}
.note {
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.75rem; color: var(--muted);
}

.contact-item {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.contact-item .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.contact-item b { display: block; margin-bottom: 4px; color: var(--fg); }
.contact-item p { font-size: 0.75rem; color: var(--muted); white-space: pre-line; }

/* ============== FOOTER ============== */
.footer { border-top: 1px solid var(--border); background: #ffffff; margin-top: 48px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 24px;
}
.footer-grid b { display: block; margin-bottom: 16px; color: var(--fg); }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid li a { color: var(--muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-grid li a:hover { color: var(--primary); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============== REVEAL ANIMATION ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============== UTILITIES ============== */
.hide-mobile { display: inline-flex; }

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .grid-2, .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 24px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .hide-mobile { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding-top: 120px; }
  .hero-stats { flex-wrap: wrap; }
  .author-org { display: none; }
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(149, 209, 255, 0.4);
  background: rgba(149, 209, 255, 0.15);
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(149, 209, 255, 0.25);
}

/* WRAPPER */
.testimonial-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto; /* center container */
}

/* SLIDER */
.testimonial-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  perspective: 1200px;
  align-items: center;
}

/* ITEM */
.testimonial {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;

  opacity: 0.4;
  transform: scale(0.82) translateY(20px);
  filter: blur(2px);

  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    filter 0.6s ease,
    box-shadow 0.6s ease;
}

/* ACTIVE (CENTER) */
.testimonial.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);

  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
  z-index: 2;
}

/* SIDE */
.testimonial.side {
  opacity: 0.75;
  transform: scale(0.92) translateY(10px);
  filter: blur(0.5px);
}

/* BUTTON BASE */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  z-index: 10;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;

  cursor: pointer;

  background: rgba(0, 123, 255, 0.15);
  backdrop-filter: blur(10px);

  font-size: 22px;
  color: #007bff;

  /* 🔥 hidden by default */
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease;
}

/* POSISI AWAL (sedikit keluar biar animasi masuk) */
.prev {
  left: 0;
  transform: translate(-20px, -50%) scale(0.9);
}

.next {
  right: 0;
  transform: translate(20px, -50%) scale(0.9);
}

/* 🔥 MUNCUL SAAT HOVER */
.testimonial-wrapper:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}

/* animasi masuk */
.testimonial-wrapper:hover .prev {
  transform: translate(10px, -50%) scale(1);
}

.testimonial-wrapper:hover .next {
  transform: translate(-10px, -50%) scale(1);
}

/* HOVER BUTTON */
.slider-btn:hover {
  background: rgba(0, 123, 255, 0.35);
  transform: translateY(-50%) scale(1.15);
}

/* MOBILE */
@media (max-width: 768px) {

  .testimonial-wrapper {
    padding: 20px 0;
  }

  .testimonial-slider {
    justify-content: flex-start;
  }

  .testimonial {
    min-width: 262px;
    max-width: 262px;

    /* 🔥 penting */
    margin: 0 auto;
  }

}

/* =========================
   WRAPPER
========================= */
.pricing-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 16px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.pricing-inner {
  overflow: visible; /* 🔥 biar badge gak kepotong */
}

/* =========================
   SLIDER DESKTOP
========================= */
#pricingGrid.pricing-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  align-items: stretch; /* 🔥 biar tinggi rapi */
}

/* =========================
   ITEM
========================= */
/* CARD DASAR */
#pricingGrid .plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 520px; /* 🔥 tinggi default biar rata */
  height: auto;

  align-self: flex-start; /* 🔥 penting biar gak ikut stretch */
  transition: all 0.3s ease;
  min-width: 245px;
}

#pricingGrid .plan.pricing-item {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;

  opacity: 1;
  transform: none;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* isi fleksibel */
.plan-features {
  flex-grow: 1;
}

/* =========================
   HOVER
========================= */
#pricingGrid .plan.pricing-item:hover {
  transform: translateY(-6px);
}

/* ACTIVE */
#pricingGrid .plan.active {
  /* optional highlight */
}

/* =========================
   BUTTON SLIDER
========================= */
.pricing-wrapper .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: rgba(0, 123, 255, 0.15);
  font-size: 22px;
  color: #007bff;

  opacity: 0;
  pointer-events: none;

  transition: all 0.3s ease;
}

.pricing-wrapper .prev {
  left: 0;
  transform: translate(-20px, -50%);
}

.pricing-wrapper .next {
  right: 0;
  transform: translate(20px, -50%);
}

.pricing-wrapper:hover .slider-btn {
  opacity: 1;
  pointer-events: auto;
}

.pricing-wrapper:hover .prev {
  transform: translate(10px, -50%);
}

.pricing-wrapper:hover .next {
  transform: translate(-10px, -50%);
}

.pricing-wrapper .slider-btn:hover {
  background: rgba(0, 123, 255, 0.35);
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
  #pricingGrid .plan.pricing-item {
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

/* =========================
   MOBILE MODE (NO SLIDER JS)
========================= */
@media (max-width: 768px) {

  .pricing-wrapper {
    padding: 0 12px;
    overflow: visible; /* 🔥 biar shadow & badge aman */
  }

  #pricingGrid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 16px;
    transform: none !important;
  }

  #pricingGrid.pricing-slider {
    display: grid !important;
  }

  #pricingGrid .plan.pricing-item {
    min-width: 100%;
    max-width: 100%;
  }

  /* hide tombol */
  .pricing-wrapper .slider-btn {
    display: none !important;
  }
}

/* =========================
   FEATURE LIST
========================= */
.plan-features .extra {
  display: none;
}

.plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

/* =========================
   TOGGLE BUTTON
========================= */
.toggle-features {
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.toggle-features:hover {
  text-decoration: underline;
}

/* GRID MODE AUTO RESPONSIVE */
#pricingGrid.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* BIAR CARD FULL HEIGHT */
#pricingGrid.pricing-grid .plan {
  height: auto;
  display: flex;
  flex-direction: column;
}

/* BIAR BUTTON DI BAWAH */
.plan-features {
  flex-grow: 1;
}

.pricing-grid {
  display: grid;
  align-items: start !important; /* 🔥 penting */
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;

  z-index: 999;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width:50%;
  /*max-width: 600px;*/
  max-height: 89vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
  animation: scaleIn 0.25s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

.modal-content {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

#modalContent {
  max-height: 80vh;
  overflow-y: auto;
  transition: opacity 0.3s ease;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px){

    .modal-box{
        width:90%;
        padding:20px;
        border-radius:16px;
    }

}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px){

    .modal-box{
        width:95%;
        padding:16px;
        border-radius:14px;
    }

}

/* =========================
   MODAL DOCUMENT OVERRIDE
========================= */
.modal-doc {
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
}

/* kecilin container utama */
.modal-doc .doc-wrap {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.modal-doc .doc-panel {
  border-radius: 10px;
  box-shadow: none;
}

/* HEADER diperkecil */
.modal-doc .doc-header {
  padding: 20px;
}

.modal-doc .doc-title {
  font-size: 20px;
}

.modal-doc .doc-subtitle {
  font-size: 13px;
}

/* SUMMARY */
.modal-doc .summary-box {
  margin: 0 20px;
  padding: 12px;
  font-size: 13px;
}

/* TOC */
.modal-doc .toc-section {
  margin: 0 20px;
  padding: 15px 0;
}

.modal-doc .toc-item {
  font-size: 12px;
}

/* BODY */
.modal-doc .doc-body {
  padding: 20px;
}

/* ARTICLE */
.modal-doc .article {
  margin-bottom: 25px;
  padding-bottom: 25px;
}

.modal-doc .article-title {
  font-size: 15px;
}

.modal-doc .article p {
  font-size: 13px;
}

.modal-doc .article li {
  font-size: 13px;
}

/* TABLE */
.modal-doc .data-table {
  font-size: 12px;
}

/* FOOTER */
.modal-doc .doc-footer {
  padding: 15px 20px;
  font-size: 12px;
}

/* BACK TO TOP HIDE (ga relevan di modal) */
.modal-doc .back-top {
  /*display: none;*/
}

/* ACCEPT BANNER HIDE */
.modal-doc .accept-banner {
  display: none !important;
}

/* =========================
   SKELETON LOADING MODAL
========================= */
.modal-loading {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* base skeleton */
.skeleton {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 6px;
}

/* shimmer effect */
.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  height: 100%;
  width: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(300px);
  }
}

/* variations */
.skeleton.header {
  height: 28px;
  width: 60%;
}

.skeleton.line {
  height: 12px;
  width: 100%;
}

.skeleton.line.short {
  width: 70%;
}

.skeleton.block {
  height: 80px;
  width: 100%;
  border-radius: 10px;
}
/* [END] - MODAL */

.btn-swal-custom {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 12px 22px;
  border: none;
  font-weight: 600;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-glow);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-swal-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 70px -20px rgba(58, 160, 230, 0.55);
}

.swal2-popup {
  border-radius: var(--radius-xl) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  font-family: var(--font-sans);
}

.swal2-html-container {
  font-size: 14px;
  font-style: italic;
}

/* =========================
   NAV ACTIONS
========================= */
.nav-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

/* =========================
   WHATSAPP BUTTON
========================= */
.btn-whatsapp{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#25D366;
    color:#fff;

    text-decoration:none;

    transition:all .25s ease;

    box-shadow:
        0 6px 18px rgba(37,211,102,.25);
}

.btn-whatsapp:hover{
    transform:translateY(-2px) scale(1.05);
    color:#fff;

    box-shadow:
        0 10px 24px rgba(37,211,102,.35);
}

.btn-whatsapp i{
    font-size:22px;
}

/* =========================
   MOBILE
========================= */
@media (max-width:768px){

    .btn-whatsapp{
        width:38px;
        height:38px;
    }

    .btn-whatsapp i{
        font-size:20px;
    }

}

.descPrice {
  font-size: 12px;
  padding-top: 5px;
  padding-bottom: 5px;
}