/* ============================================================
   ClinicalLog — Light Clean SaaS UI Style Sheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;700&display=swap');

/* ── Tokens (Blue-Cyan Medical Theme) ── */
:root {
  --bg-base:     #F0F9FF;        /* sky-50, cool medical background */
  --bg-mid:      #ffffff;        /* pure white for cards and headers */
  --blue:        #0369A1;        /* sky-700, professional blue */
  --blue-lt:     #0EA5E9;        /* sky-500, bright blue accent */
  --cyan:        #0891b2;        /* cyan-600, medical teal */
  --cyan-lt:     #22D3EE;        /* cyan-400, bright cyan */
  --sky:         #0284c7;        /* sky-600 */
  --white10:     rgba(255,255,255,.75);  /* light glass background */
  --white15:     rgba(255,255,255,.85);  /* light glass card background */
  --white20:     rgba(255,255,255,.95);  /* more solid white */
  --white70:     rgba(12,74,110,.75);    /* sky-900 with opacity */
  --glass-border:rgba(12,74,110,.08);    /* very soft dark border */
  --glass-shadow:0 12px 30px rgba(12,74,110,.05), 0 1px 3px rgba(12,74,110,.02); /* light soft shadow */
  --text-primary:#0C4A6E;        /* sky-900 for high-contrast text */
  --text-muted:  #475569;        /* slate-600 for body/secondary text */
  --text-dim:    #64748b;        /* slate-500 for captions/labels */
  --r-card:      20px;
  --r-lg:        28px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Noto Sans', 'Figtree', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .section-title, .feature-title, .benefit-title, .step-num, .step-title, .testi-name, .pricing-name, .pricing-price, .nav-link, .hero-title, .hero-subtitle, .section-label {
  font-family: 'Figtree', system-ui, sans-serif;
}

/* ── Body scroll lock when mobile menu is open ── */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ── Background Orbs (Soft Glows for Light Theme) ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .08;
}
.orb-1 { width: 700px; height: 700px; background: #60a5fa; top: -200px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: #22d3ee; top: 20%; right: -100px; }
.orb-3 { width: 600px; height: 600px; background: #818cf8; bottom: -100px; left: 30%; }
.orb-4 { width: 350px; height: 350px; background: #c084fc; top: 55%; right: 15%; }

/* ── Glass Utility ── */
.glass {
  background: var(--white10);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.glass-sm {
  background: var(--white15);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-strong {
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #0369A1 0%, #0369A1 45%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #0369A1 0%, #0EA5E9 50%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gradient Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 14px);
  background: linear-gradient(135deg, #0369A1, #0891b2);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 0 rgba(3,105,161,.4), 0 8px 20px rgba(3,105,161,.15);
  transition: all .25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(3,105,161,.3), 0 12px 24px rgba(3,105,161,.2);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: clamp(13px, 1.4vw, 14px);
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 2px 4px rgba(15,23,42,.04);
  transition: all .25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(15,23,42,.08);
}

/* ── Premium Floating Glass Navigation ── */
.navbar {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(96vw, 1500px);
  height: 72px;
  padding: 0;
  overflow: visible;

  /* Premium translucent glass */
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(15,23,42,.10);

  transition: background .35s cubic-bezier(.22,1,.36,1),
              backdrop-filter .35s cubic-bezier(.22,1,.36,1),
              box-shadow .35s cubic-bezier(.22,1,.36,1),
              height .35s cubic-bezier(.22,1,.36,1);
  will-change: backdrop-filter, background, box-shadow;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height .35s cubic-bezier(.22,1,.36,1);
}

/* ── Nav wrapper (flex-1) ── */
.navbar-inner nav {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

/* ── Scroll Effect — only height, shadow, blur, opacity ── */
.navbar.scrolled {
  height: 64px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 18px 60px rgba(15,23,42,.14);
  /* NEVER change width, horizontal position, border-radius, or border */
}
.navbar.scrolled .navbar-inner {
  height: 64px;
}

/* ── Logo — gentle shrink, never aggressive ── */
.navbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.navbar-logo img { height: 44px; width: auto; display: block; transition: height .35s cubic-bezier(.22,1,.36,1); }
.navbar.scrolled .navbar-logo img { height: 42px; }

/* ── Desktop Navigation — centered ── */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  list-style: none;
  padding: 0;
  margin: 0 auto;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.navbar-nav li { list-style: none; min-width: 0; flex-shrink: 1; }
.navbar-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 500;
  position: relative;
  padding: 6px clamp(6px, 1vw, 10px);
  transition: color .25s ease, transform .25s ease;
  white-space: nowrap;
  border-radius: 8px;
}
/* Hover: lift + underline */
.navbar-nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: clamp(4px, 0.8vw, 10px);
  right: clamp(4px, 0.8vw, 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-lt), var(--cyan));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0;
  pointer-events: none;
}
.navbar-nav a:hover::after {
  transform: scaleX(1);
  opacity: .5;
}
/* Active: pill, no underline */
.navbar-nav a.active {
  color: var(--blue);
  font-weight: 600;
  background: rgba(3,105,161,.08);
}
.navbar-nav a.active::after {
  opacity: 0;
  transform: scaleX(0);
}

/* ── CTA Button ── */
.navbar-cta { flex-shrink: 0; }
.navbar-cta .btn-primary.btn-sm {
  border-radius: 9999px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, #0369A1 0%, #0369A1 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(3,105,161,.28);
  transition: transform .3s ease,
              box-shadow .3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  will-change: transform;
}
.navbar-cta .btn-primary.btn-sm:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(3,105,161,.40);
}
.navbar-cta .btn-primary.btn-sm:active {
  transform: scale(.98);
}

/* ── Mobile Toggle ── */
.mobile-menu { display: none; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .25s ease, border-color .25s ease;
  flex-shrink: 0;
}
.nav-toggle:hover {
  background: #fff;
  border-color: rgba(15,23,42,.15);
}

/* ═══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════ */

/* ── Medium Desktop: 1101–1280px ── */
@media(max-width:1280px) {
  .navbar-inner {
    padding: 0 24px;
    gap: 16px;
  }
  .navbar-nav a::after { left: 6px; right: 6px; }
  .navbar-cta .btn-primary.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
  }
}

/* ── Small Desktop: 961–1100px ── */
@media(max-width:1100px) {
  .navbar-nav { display: none; }

  .nav-toggle { display: flex; }

  .navbar { top: 8px; height: 64px; }
  .navbar.scrolled { height: 56px; }
  .navbar-inner { height: 64px; padding: 0 24px; }
  .navbar.scrolled .navbar-inner { height: 56px; }

  .navbar-logo img { height: 36px; }
  .navbar.scrolled .navbar-logo img { height: 34px; }

  /* Mobile menu with slide-down animation */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    border-radius: 16px;
    gap: 2px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 18px 48px rgba(15,23,42,.14);
    /* Animation */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.4s cubic-bezier(.22,1,.36,1),
                opacity 0.35s ease,
                transform 0.35s ease,
                padding 0.35s ease;
    padding: 0 12px;
    pointer-events: none;
    z-index: 10;
  }
  .mobile-menu.open {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    padding: 12px;
    pointer-events: all;
  }
  .mobile-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
  }
  .mobile-menu a:hover { background: rgba(15,23,42,0.04); color: var(--blue); }
  .mobile-menu a.active {
    background: rgba(3,105,161,.10);
    color: var(--blue);
    font-weight: 600;
    border-left: 3px solid var(--blue-lt);
  }
  .mobile-menu .btn-primary {
    margin-top: 8px;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
  }
}

/* ── Mobile: ≤768px ── */
@media(max-width:768px) {
  .navbar { top: 8px; height: 62px; }
  .navbar.scrolled { height: 56px; }
  .navbar-inner { height: 62px; padding: 0 18px; }
  .navbar.scrolled .navbar-inner { height: 56px; }
  .navbar-logo img { height: 34px; }
  .navbar.scrolled .navbar-logo img { height: 32px; }
  .navbar-cta { display: none; }
}

/* ── prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .navbar,
  .navbar-inner,
  .navbar-logo img,
  .navbar-nav a,
  .navbar-nav a::after,
  .navbar-cta .btn-primary.btn-sm,
  .nav-toggle,
  .mobile-menu {
    transition: none !important;
  }
  .navbar-nav a:hover,
  .navbar-cta .btn-primary.btn-sm:hover,
  .navbar-cta .btn-primary.btn-sm:active {
    transform: none;
  }
  .mobile-menu {
    transform: none !important;
  }
}

/* ── Section Layout ── */
.section { position: relative; z-index: 1; padding: clamp(50px, 8vw, 80px) 0; }
.section-sm { padding: clamp(35px, 5vw, 50px) 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
@media(max-width:768px) {
  .section { padding: clamp(40px, 8vw, 50px) 0; }
  .section-sm { padding: clamp(28px, 5vw, 35px) 0; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--blue-lt), var(--cyan));
  border-radius: 2px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(14px, 1.8vw, 15px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* Cara Kerja Steps Grid */


/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0 40px;
  position: relative;
  z-index: 1;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
@media(max-width:1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 90px 0 30px; }
  .hero-card-main img { aspect-ratio: 3/4; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  color: var(--cyan);
  background: rgba(22,211,238,.1);
  border: 1px solid rgba(22,211,238,.2);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-lt);
  animation: pulse-dot 2s ease-in-out infinite;

/* Admin Steps Grid */

}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.4); }
}

.hero-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.hero-desc { font-size: clamp(14px, 1.6vw, 16px); color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-stat-divider {
  width: 1px; background: var(--glass-border); align-self: stretch;
}
.hero-stat-num { font-size: clamp(16px, 2vw, 20px); font-weight: 800; color: var(--text-primary); }
.hero-stat-lbl { font-size: clamp(10px, 1.1vw, 12px); color: var(--text-dim); margin-top: 2px; }

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-circle-bg {
  position: absolute;
  width: min(480px, 80%);
  height: min(480px, 80%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,211,238,0.14) 0%, rgba(3,105,161,0.04) 70%, transparent 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.hero-card-main {
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.02);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  border: 1px solid rgba(255,255,255,0.8);
}
.hero-card-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  display: block;
}

.float-card {
  position: absolute;
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 15px 35px rgba(15,23,42,0.06), 0 3px 10px rgba(15,23,42,0.02);
  animation: float-anim 5s ease-in-out infinite;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  z-index: 3;
  display: flex;
  flex-direction: column;
}
@keyframes float-anim {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.float-card-activity {
  top: 5%;
  left: -8%;
  width: min(210px, 38%);
}
.float-card-gps {
  bottom: 35%;
  left: 0;
  width: min(180px, 34%);
  animation-delay: 1.5s;
}
.float-card-progress {
  bottom: 5%;
  right: -6%;
  width: min(210px, 38%);
  animation-delay: 3s;
}

@media(max-width:1023px) {
  .hero-card-main { max-width: 320px; }
  .hero-card-main img { aspect-ratio: 3/4; }
  .float-card-activity { left: 2%; top: 3%; width: min(180px, 40%); }
  .float-card-gps { left: 2%; bottom: 30%; width: min(160px, 36%); }
  .float-card-progress { right: 2%; bottom: 3%; width: min(180px, 40%); }
}

@media(max-width:640px) {
  .hero-circle-bg { width: min(320px, 80%); height: min(320px, 80%); }
  .hero-card-main { max-width: 280px; padding: 8px; border-radius: 24px; }
  .hero-card-main img { aspect-ratio: 3/4; border-radius: 18px; }
  .float-card { padding: 12px 14px; border-radius: 14px; }
  .float-card-activity { left: 4px; top: 15px; width: 170px; }
  .float-card-gps { left: 4px; bottom: 15px; width: 145px; }
  .float-card-progress { right: 4px; bottom: -15px; width: 175px; }
}

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:1023px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  cursor: default;
  background: var(--bg-mid);
  border: 1px solid var(--glass-border);
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15,23,42,.08), 0 0 0 1px rgba(15,23,42,.05);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(3,105,161,.1), rgba(22,211,238,.1));
  border: 1px solid rgba(15,23,42,.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-lt);
}
.feature-icon img { width: 28px; height: 28px; object-fit: contain; }
.feature-title { font-size: clamp(15px, 1.6vw, 17px); font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.feature-desc  { font-size: clamp(13px, 1.3vw, 14px); color: var(--text-muted); line-height: 1.65; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media(max-width:1023px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--glass-shadow);
  display: flex;
}
.about-img-wrap img { width: 100%; height: auto; object-fit: cover; object-position: center 20%; display: block; }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.1) 100%);
}
.about-img-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  border-radius: 14px;
  padding: 14px 16px;
}
.about-check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.about-check-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-check-icon {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%;
  background: rgba(22,211,238,.1);
  border: 1px solid rgba(22,211,238,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 13px;
}
.about-check-text { font-size: clamp(13px, 1.4vw, 14px); color: var(--text-muted); line-height: 1.65; }

/* ── Benefits (Feature Showcase) ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:1023px) { .benefits-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .benefits-grid { grid-template-columns: 1fr; } .benefit-card { grid-column: span 1 !important; } }

.benefit-card {
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
  background: var(--bg-mid);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(circle at 30% 20%, rgba(3,105,161,.04) 0%, transparent 60%);
  pointer-events: none;
}
.benefit-card:hover::before { opacity: 1; }
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(3,105,161,.08), 0 4px 12px rgba(3,105,161,.04);
  border-color: rgba(3,105,161,.12);
}
.benefit-card:first-child {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 40px 36px;
}
@media(max-width:1023px) { .benefit-card:first-child { grid-column: span 2; } }
@media(max-width:640px)  { .benefit-card:first-child { grid-column: span 1; display: block; } }

.benefit-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(3,105,161,.08), rgba(22,211,238,.08));
  border: 1px solid rgba(3,105,161,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card:hover .benefit-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(3,105,161,.1);
}
.benefit-card:first-child .benefit-icon {
  width: 72px; height: 72px; border-radius: 18px;
}
.benefit-card:first-child .benefit-icon svg { width: 32px; height: 32px; }

.benefit-title {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.benefit-card:first-child .benefit-title {
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.benefit-card:first-child .benefit-desc { max-width: 440px; }

.benefit-stat {
  margin-top: 16px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  font-family: 'Figtree', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--blue), var(--cyan-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.benefit-card:first-child .benefit-stat {
  margin-top: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  text-align: right;
}

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 24px;
  position: relative;
}
@media(min-width:1024px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
}
@media(max-width:1023px) { .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .steps-grid { grid-template-columns: 1fr; } }
/* Horizontal connector between items — uses each item's ::after for flexible row support */
.steps-grid::before { display: none; }
@media(max-width:1023px) { .steps-grid::before { display: none; } }
.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
/* Connector line from each step to the next */
.step-item::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px + 24px);
  height: 2px;
  background: linear-gradient(90deg, rgba(3,105,161,.25), rgba(22,211,238,.25));
  z-index: 0;
  pointer-events: none;
}
/* Hide connector on last item in each row & on mobile */
.step-item:last-child::after { display: none; }
@media(max-width:1023px) { .step-item::after { display: none; } }
/* Hide connector on every 4th item (end of row) on large screens */
@media(min-width:1024px) { .step-item:nth-child(4n)::after { display: none; } }

.step-num {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 20px;
  background: linear-gradient(135deg, #0369A1, #0891b2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 8px 28px rgba(3,105,161,.2);
  position: relative;
  z-index: 2;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(3,105,161,.12), rgba(22,211,238,.12));
  z-index: -1;
}
.step-label { font-size: clamp(10px, 1.1vw, 11px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.step-title { font-size: clamp(14px, 1.5vw, 16px); font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-desc  { font-size: clamp(12px, 1.3vw, 13px); color: var(--text-muted); line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; transition: all .4s ease; }
@media(max-width:1023px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-grid.hide { opacity: 0; transform: translateY(-16px); pointer-events: none; height: 0; overflow: hidden; }
.testi-card {
  border-radius: var(--r-card);
  padding: 28px 24px;
  transition: transform .3s, background .3s;
  background: var(--bg-mid);
  border: 1px solid var(--glass-border);
}
.testi-card:hover { transform: translateY(-5px); background: #ffffff; box-shadow: 0 20px 40px rgba(15,23,42,.08); }
.testi-stars { display: flex; gap: 4px; color: #fbbf24; margin-bottom: 18px; font-size: clamp(12px, 1.3vw, 14px); }
.testi-quote { font-size: clamp(13px, 1.4vw, 14px); color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(15,23,42,.08); }
.testi-author-name { font-size: clamp(12px, 1.2vw, 13px); font-weight: 600; color: var(--text-primary); }
.testi-author-role { font-size: clamp(11px, 1.1vw, 12px); color: var(--text-dim); margin-top: 2px; }

.testi-toggle {
  display: inline-flex; align-items: center;
  gap: 4px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  padding: 6px 8px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}
.testi-toggle-btn {
  padding: 10px 22px; border-radius: 999px; border: none; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); background: transparent; transition: all .25s;
}
.testi-toggle-btn.active {
  background: linear-gradient(135deg, #0369A1, #0891b2);
  color: #fff;
}

/* ── Pricing ── */
/* ── Pricing Grid — auto-center orphan cards ── */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 260px;
  border-radius: 24px;
  padding: 38px 30px 32px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), 
              box-shadow .4s cubic-bezier(.16,1,.3,1), 
              border-color .4s cubic-bezier(.16,1,.3,1), 
              background-color .4s cubic-bezier(.16,1,.3,1);
  cursor: pointer;
  display: flex; flex-direction: column;
  background: #ffffff; /* Solid white background matching Base/Enterprise cards */
  border: 1px solid rgba(15,23,42,.06);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,.02);
}
/* subtle top accent line */
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(22,211,238,.3), transparent);
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(3,105,161,.2);
  box-shadow: 0 30px 60px rgba(15,23,42,.08), 0 8px 16px rgba(15,23,42,.03);
}
.pricing-card.featured {
  transform: scale(1.03);
  background: linear-gradient(135deg, #0369A1 0%, #0EA5E9 100%) !important; /* Solid blue gradient matching Pro card */
  border: none !important;
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(79,70,229,.18);
  z-index: 1;
}
.pricing-card.featured::before {
  display: none; /* No top line needed for featured card */
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-10px);
  box-shadow: 0 40px 80px rgba(79,70,229,.28);
}
@media(max-width:1023px) {
  .pricing-grid { gap: 20px; }
  .pricing-card { flex: 1 1 100%; max-width: 440px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}
@media(max-width:640px) {
  .pricing-card { min-width: 0; padding: 30px 22px 26px; }
}

.pricing-name { 
  font-size: clamp(20px, 2.5vw, 24px); 
  font-weight: 800; 
  color: var(--text-primary); 
  margin-bottom: 8px; 
  line-height: 1.2; 
}
.pricing-card.featured .pricing-name {
  color: #ffffff;
}

.pricing-desc {
  font-size: clamp(12px, 1.3vw, 13px);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-price { 
  font-size: clamp(30px, 4vw, 38px); 
  font-weight: 900; 
  margin: 0 0 16px; 
  line-height: 1; 
  color: var(--text-primary);
}
.pricing-card.featured .pricing-price {
  color: #ffffff;
}
.pricing-price .currency { 
  font-size: clamp(14px, 1.5vw, 16px); 
  font-weight: 600; 
  color: var(--text-muted); 
  margin-left: 2px; 
}
.pricing-card.featured .pricing-price .currency {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-period { 
  font-size: clamp(11px, 1.2vw, 12px); 
  color: var(--text-dim); 
  margin-top: -12px;
  margin-bottom: 24px; 
}
.pricing-card.featured .pricing-period {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-list { 
  list-style: none; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
  margin-bottom: 28px; 
  padding: 0;
}
.pricing-list li {
  font-size: clamp(13px, 1.3vw, 14px); 
  color: var(--text-muted); 
  display: flex; 
  align-items: center; 
  gap: 10px;
}
.pricing-card.featured .pricing-list li {
  color: #ffffff;
}
.pricing-list li .check {
  width: 18px; 
  height: 18px; 
  border-radius: 50%;
  background: rgba(22,211,238,.1); 
  color: var(--cyan);
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  font-size: 10px; 
  flex-shrink: 0; 
  transition: transform 0.3s cubic-bezier(.34,1.56,0.64,1), background-color 0.3s ease;
}
.pricing-card:hover .pricing-list li .check {
  transform: scale(1.12);
}
.pricing-card.featured .pricing-list li .check {
  background: rgba(255, 255, 255, 0.2); 
  color: #ffffff;
}

/* Center alignment utilities */
.text-center {
  text-align: center;
}
.text-center .section-label,
.text-center .section-title,
.text-center .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


.pricing-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 5px;
  padding: 5px 12px; 
  border-radius: 999px;
  font-size: clamp(10px, 1.1vw, 11px); 
  font-weight: 700;
  background: rgba(3,105,161,.08);
  color: #0369A1;
  border: 1px solid rgba(3,105,161,.15);
  margin-bottom: 16px; 
  align-self: flex-start;
}
.pricing-card.featured .pricing-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: none;
}

/* Button overrides for pricing cards matching the reference style */
.pricing-card .btn-secondary {
  background: #F0F9FF !important;
  color: #0369A1 !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}
.pricing-card .btn-secondary:hover {
  background: #E0F2FE !important;
  transform: translateY(-2px) !important;
}

.pricing-card.featured .btn-primary {
  background: #ffffff !important;
  color: #0369A1 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
}
.pricing-card.featured .btn-primary:hover {
  background: #f8fafc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ── CTA Banner ── */
.cta-banner {
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0369A1 0%, #0891b2 100%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 40px rgba(3,105,161,.15);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-title { font-size: clamp(24px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 16px; }
.cta-desc  { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.9); line-height: 1.7; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(15,23,42,.06);
  padding: 64px 0 28px;
  position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media(max-width:1023px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-desc { font-size: clamp(13px, 1.3vw, 14px); color: var(--text-dim); line-height: 1.65; margin-top: 14px; max-width: 240px; }
.footer-heading { font-size: clamp(12px, 1.2vw, 13px); font-weight: 700; color: var(--text-primary); margin-bottom: 16px; letter-spacing: .04em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: clamp(13px, 1.3vw, 14px); color: var(--text-dim); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid rgba(15,23,42,.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: clamp(12px, 1.2vw, 13px); color: var(--text-dim); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.04); border: 1px solid rgba(15,23,42,.08); color: var(--text-muted);
  transition: all .2s; text-decoration: none; font-size: 13px;
}
.footer-socials a:hover { background: rgba(15,23,42,.08); color: var(--blue); }

/* ── Scroll Reveal Animations ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.scroll-reveal.scroll-reveal-left {
  transform: translateX(-40px);
}
.scroll-reveal.scroll-reveal-right {
  transform: translateX(40px);
}
.scroll-reveal.scroll-reveal-scale {
  transform: scale(.92);
}
.scroll-reveal.scroll-reveal-up {
  transform: translateY(-40px);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for grid children */
.scroll-reveal-delay-1 { transition-delay: .08s; }
.scroll-reveal-delay-2 { transition-delay: .16s; }
.scroll-reveal-delay-3 { transition-delay: .24s; }
.scroll-reveal-delay-4 { transition-delay: .32s; }
.scroll-reveal-delay-5 { transition-delay: .40s; }
.scroll-reveal-delay-6 { transition-delay: .48s; }

/* ── Mini bar chart (hero widget) ── */
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.bar-chart span {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(3,105,161,.2);
  transition: opacity .2s;
}
.bar-chart span:last-child { background: rgba(3,105,161,.5); }

/* ── Progress bar ── */
.prog-bar { width: 100%; height: 6px; border-radius: 999px; background: rgba(15,23,42,.08); overflow: hidden; }
.prog-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0369A1, #22D3EE); }

/* ── Admin Sidebar / Dashboard ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--glass-border);
  background: #ffffff;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 50;
  transition: transform .3s;
  box-shadow: 2px 0 10px rgba(15,23,42,0.02);
}
.admin-sidebar-logo { padding: 8px 12px 20px; border-bottom: 1px solid var(--glass-border); margin-bottom: 12px; }
.admin-nav-group { font-size: clamp(10px, 1vw, 11px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); padding: 8px 12px 4px; }
.admin-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px;
  color: var(--text-muted); font-size: clamp(13px, 1.3vw, 14px); font-weight: 500;
  text-decoration: none; transition: all .2s;
}
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(15,23,42,0.04); color: var(--text-primary); }
.admin-nav-link.active { background: rgba(3,105,161,.08); color: #0369A1; border: 1px solid rgba(3,105,161,.15); }
.admin-nav-link svg, .admin-nav-link i { width: 18px; height: 18px; flex-shrink: 0; }

.admin-main { flex: 1; min-width: 0; margin-left: 240px; padding: 20px 24px 100px; }
@media(max-width:1023px) { .admin-sidebar { transform: translateX(-100%); } .admin-sidebar.open { transform: none; } .admin-main { margin-left: 0; } }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.admin-page-title { font-size: clamp(18px, 2.2vw, 21px); font-weight: 700; color: var(--text-primary); }
.admin-page-sub { font-size: clamp(12px, 1.2vw, 13px); color: var(--text-dim); margin-top: 2px; }

.glass-card {
  background: var(--bg-mid);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -1px rgba(0,0,0,0.02);
  border-radius: var(--r-card);
  padding: 22px 24px;
  margin-bottom: 20px;
}

/* Admin Table */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 600px; }
.admin-table th {
  text-align: left; padding: 12px 16px;
  font-size: clamp(11px, 1.1vw, 12px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); border-bottom: 1px solid var(--glass-border);
}
.admin-table td {
  padding: 14px 16px; font-size: clamp(13px, 1.3vw, 14px); color: var(--text-muted);
  border-bottom: 1px solid rgba(15,23,42,.05);
  transition: background .2s;
}
.admin-table tr:hover td { background: rgba(15,23,42,0.02); }
.admin-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* Admin Form */
.form-label { display: block; font-size: clamp(12px, 1.2vw, 13px); font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 9px 14px; border-radius: 12px; font-size: clamp(13px, 1.3vw, 14px);
  background: #ffffff; border: 1px solid var(--glass-border);
  color: var(--text-primary); outline: none; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-input:focus { border-color: rgba(3,105,161,.5); box-shadow: 0 0 0 3px rgba(3,105,161,.1); }
.form-input::placeholder { color: var(--text-dim); }
.form-group { margin-bottom: 16px; }
textarea.form-input { min-height: 110px; resize: vertical; }

/* Upload zone */
.upload-zone {
  border: 2px dashed rgba(3,105,161,.2);
  border-radius: 14px; padding: 32px;
  text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
  color: var(--text-dim); font-size: clamp(13px, 1.3vw, 14px);
}
.upload-zone:hover { border-color: rgba(3,105,161,.5); background: rgba(3,105,161,.02); }

/* Action buttons */
.btn-icon {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--glass-border);
  background: #ffffff; color: var(--text-muted); display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.btn-icon:hover { background: #f1f5f9; color: var(--text-primary); }
.btn-icon.danger:hover { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.2); color: #ef4444; }
.btn-sm { padding: 8px 16px; border-radius: 10px; font-size: clamp(12px, 1.2vw, 13px); font-weight: 600; }

/* ── Stat cards ── */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
@media(max-width:1023px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px)  { .stat-grid { grid-template-columns: 1fr; } }
.stat-card {
  border-radius: 16px; padding: 22px 20px;
  background: var(--bg-mid); border: 1px solid var(--glass-border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.stat-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.stat-card-num { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; color: var(--text-primary); }
.stat-card-lbl { font-size: clamp(12px, 1.2vw, 13px); color: var(--text-dim); margin-top: 4px; }

/* ── Tailwind Fallbacks / Alignment utilities ── */
.dashboard-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.admin-grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-grid-1-1-sm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-grid-1-1-5 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
@media(max-width:1200px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-grid-1-1, .admin-grid-1-1-sm, .admin-grid-1-1-5 { grid-template-columns: 1fr; }
}

/* ── Responsive extras ── */
@media(max-width:640px) {
  .section { padding: clamp(40px, 8vw, 70px) 0; }
  .hero { padding: 120px 0 60px; }
  .hero-grid { gap: 32px; }
  .cta-banner { padding: clamp(28px, 5vw, 44px) clamp(16px, 4vw, 28px); }
  .admin-main { padding: 20px; }
  .about-grid { gap: 32px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 32px; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(15,23,42,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,.22); }

/* ════════════════════════════════════════════════════════════
   ENHANCED GLASSMORPHISM — White Professional Theme
   ════════════════════════════════════════════════════════════ */

/* ── Glass card enhancements ── */
.feature-card.glass,
.benefit-card.glass,
.testi-card.glass,
.pricing-card.glass {
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 4px 24px rgba(15,23,42,.04),
    0 1px 3px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.feature-card.glass:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(3,105,161,.15);
  box-shadow:
    0 20px 40px rgba(15,23,42,.06),
    0 0 0 1px rgba(3,105,161,.08),
    inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-6px) scale(1.02);
}

.benefit-card.glass:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(22,211,238,.15);
  box-shadow:
    0 12px 24px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-5px);
}

.testi-card.glass:hover {
  background: rgba(255,255,255,.88);
  border-color: rgba(129,140,248,.15);
  box-shadow:
    0 20px 40px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-5px);
}

.pricing-card.glass {
  background: rgba(255,255,255,.55);
}
.pricing-card.glass:hover {
  background: rgba(255,255,255,.88);
  border-color: rgba(3,105,161,.12);
  box-shadow:
    0 24px 48px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,1);
}
.pricing-card.glass.featured {
  background: rgba(255,255,255,.92);
  border-color: rgba(3,105,161,.2);
  box-shadow:
    0 20px 40px rgba(3,105,161,.08),
    0 0 0 1px rgba(3,105,161,.1),
    inset 0 1px 0 rgba(255,255,255,1);
}
.pricing-card.glass.featured:hover {
  box-shadow:
    0 28px 56px rgba(3,105,161,.12),
    0 0 0 1px rgba(3,105,161,.15),
    inset 0 1px 0 rgba(255,255,255,1);
}

/* ── Float cards glass enhancement ── */
.float-card.glass {
  background: rgba(15,23,42,.75);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    0 10px 30px rgba(15,23,42,.15),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* ── Section glass decorations ── */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(3,105,161,.08), rgba(22,211,238,.08), transparent);
}

/* ── About badge glass ── */
.about-img-badge.glass-sm {
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

/* ── Feature icon glass glow ── */
.feature-icon {
  background: linear-gradient(135deg, rgba(3,105,161,.08), rgba(22,211,238,.08));
  border: 1px solid rgba(3,105,161,.08);
  position: relative;
}
.feature-card.glass:hover .feature-icon {
  background: linear-gradient(135deg, rgba(3,105,161,.12), rgba(22,211,238,.12));
  border-color: rgba(3,105,161,.15);
  box-shadow: 0 0 20px rgba(3,105,161,.08);
}

/* ── Step num glow ── */
.step-num {
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(3,105,161,.15), rgba(8,145,178,.15));
  z-index: -1;
  filter: blur(8px);
  opacity: 0;
  transition: opacity .3s;
}
.step-item:hover .step-num::after {
  opacity: 1;
}

/* ── CTA banner glass ── */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Footer glass accents ── */
.footer {
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  border-top: 1px solid rgba(3,105,161,.06);
}

/* ── Pricing selected state ── */
.pricing-card.selected {
  border-color: rgba(3,105,161,.3);
  box-shadow:
    0 0 0 3px rgba(3,105,161,.08),
    0 20px 40px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,1);
}

/* ── Subtle animation improvements ── */
.feature-card, .benefit-card, .testi-card, .pricing-card {
  will-change: transform;
}

/* ════════════════════════════════════════════════════════════
   ADMIN CMS EDITOR STYLES
   ════════════════════════════════════════════════════════════ */

/* ── CMS Tab Navigation ── */
.cms-tabs {
  position: sticky;
  top: 0;
  z-index: 10;
}

.cms-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  transition: all .2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.cms-tab:hover {
  background: rgba(3,105,161,.04);
  color: var(--text-primary);
}
.cms-tab.active {
  background: linear-gradient(135deg, #0369A1, #0891b2);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(3,105,161,.2);
}

.cms-tabs-container {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding-bottom: 6px;
}
.cms-tabs-container::-webkit-scrollbar {
  height: 4px;
  display: block;
}
.cms-tabs-container::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.02);
  border-radius: 10px;
}
.cms-tabs-container::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.1);
  border-radius: 10px;
}
.cms-tabs-container::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.2);
}

/* ── CMS Section Header ── */
.cms-section-header {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cms-section-bar {
  width: 6px;
  height: 20px;
  border-radius: 3px;
  display: inline-block;
}

/* ── CMS Repeater Items ── */
.cms-repeater-item {
  margin-bottom: 16px;
  animation: fadeSlideIn .3s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cms-repeater-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.cms-repeater-card {
  background: rgba(15,23,42,.015);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 14px;
  padding: 18px;
  transition: border-color .2s, background .2s;
}
.cms-repeater-card:hover {
  border-color: rgba(3,105,161,.12);
  background: rgba(3,105,161,.01);
}

.cms-remove-btn {
  flex-shrink: 0;
  margin-bottom: 2px;
}
.cms-repeater-row .cms-remove-btn {
  align-self: flex-end;
  margin-bottom: 4px;
}

/* ── CMS Current Image Preview ── */
.cms-current-image {
  margin-bottom: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.06);
  position: relative;
}
.cms-current-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.cms-current-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
  font-size: clamp(11px, 1.1vw, 12px);
  color: #cbd5e1;
}

/* ── CMS Save Bar ── */
.cms-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* ── Form hint ── */
.form-hint {
  font-size: clamp(11px, 1.1vw, 12px);
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.5;
}
.form-hint a {
  color: #38bdf8;
  text-decoration: underline;
}

/* ── Admin responsive for CMS ── */
@media(max-width:1023px) {
  .cms-repeater-row {
    flex-direction: column;
    gap: 8px;
  }
  .cms-repeater-row > div {
    width: 100% !important;
  }
  .cms-repeater-row .cms-remove-btn {
    align-self: flex-end;
  }
}
@media(max-width:768px) {
  .cms-panel > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Viewport Height Adaptations (Zoom/Short Screens) ── */
@media (max-height: 780px) {
  .section { padding: clamp(35px, 6vw, 50px) 0; }
  .section-sm { padding: clamp(25px, 4vw, 35px) 0; }
  .hero { padding: 80px 0 30px; }
  .hero-title { font-size: clamp(24px, 3.5vw, 38px); margin-bottom: 12px; }
  .hero-desc { font-size: clamp(13px, 1.5vw, 15px); margin-bottom: 16px; }
  .hero-cta { margin-bottom: 20px; }
  .hero-card-main img { aspect-ratio: 4/5; }
  .section-title { font-size: clamp(20px, 3vw, 30px); margin-bottom: 12px; }
  .section-subtitle { font-size: clamp(12px, 1.4vw, 14px); }
  .about-grid { gap: 32px; }
  .about-img-wrap img { aspect-ratio: 4/5; }
  .about-check-list { margin-top: 14px; gap: 8px; }
}

@media (max-height: 660px) {
  .section { padding: clamp(28px, 5vw, 40px) 0; }
  .hero { padding: 75px 0 20px; }
  .hero-card-main img { aspect-ratio: 1/1; }
  .about-img-wrap img { aspect-ratio: 4/3; }
  .about-check-list { margin-top: 10px; gap: 6px; }
}
