/* ===================================================================
   landing.css — Apotek KeluargaKu Landing Page Stylesheet
   Extracted from: app/Views/layouts/landing.php (inline <style>)
                  app/Views/landing/index.php   (3 inline <style> blocks)
   =================================================================== */

/* ───────────────────────────────────────────────────────────────────
   Section 1: Layout tokens, theme variants, keyframes, nav-link
   (from layouts/landing.php)
   ─────────────────────────────────────────────────────────────────── */

        /* Landing-specific tokens */
        :root {
            --l-hero-bg:  linear-gradient(160deg, #eef2ff 0%, #e0e7ff 45%, #c7d2fe 100%);
            --l-glow:     rgba(79, 70, 229, 0.15);
            --t-accent-2: 129 140 248;              /* indigo-400 — ujung gradien aksen */
            --l-section-tint: 248 251 255;          /* bg lembut section (light) */
            --layanan-bg: linear-gradient(180deg, rgb(248 251 255) 0%, rgb(248 250 252) 100%);
        }
        .dark {
            /* Indigo → Sky → Emerald, not a flat black overlay */
            --l-hero-bg:  linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 30%, #0e7490 64%, #065f46 100%);
            --l-glow:     rgba(99, 102, 241, 0.30);
            --l-section-tint: 7 11 21;
            /* Layanan Kami: deep, intentional dark (not flat black) */
            --layanan-bg: linear-gradient(180deg, #0b1020 0%, #070b14 100%);
            /* Cara Pesan: deep, intentional dark (not flat black) */
            --cara-pesan-bg: linear-gradient(180deg, #070b14 0%, #0b1020 100%);
        }
        .font-display { font-family: 'Fraunces', Georgia, serif; }
        body {
            font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif;
            transition: background-color 0.3s, color 0.3s;
        }
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(24px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(40px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-40px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideInUp {
            from { opacity: 0; transform: translateY(40px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        @keyframes float {
            0%,100% { transform: translateY(0) scale(1); }
            50%      { transform: translateY(-24px) scale(1.04); }
        }
        @keyframes pulseDot {
            0%,80%,100% { opacity: 0.2; transform: scale(0.8); }
            40%          { opacity: 1;   transform: scale(1); }
        }
        .anim-fade-up    { animation: fadeInUp 0.65s ease both; }
        .anim-slide-r    { animation: slideInRight 0.65s ease both; }
        .anim-slide-l    { animation: slideInLeft 0.65s ease both; }
        .anim-slide-up   { animation: slideInUp 0.5s ease both; }
        .anim-float      { animation: float 7s ease-in-out infinite; }
        .anim-scroll     { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .anim-scroll.visible { opacity: 1; transform: translateY(0); }
        .anim-scroll-l   { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .anim-scroll-l.visible { opacity: 1; transform: translateX(0); }
        .anim-scroll-r   { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
        .anim-scroll-r.visible { opacity: 1; transform: translateX(0); }
        .typing-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%;
            background: rgb(var(--t-text-3)); animation: pulseDot 1.4s ease infinite; }
        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }
        /* Navbar active link */
        .nav-link { position: relative; }
        .nav-link::after {
            content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
            height: 2px; background: rgb(var(--t-accent)); border-radius: 2px;
            transform: scaleX(0); transition: transform 0.2s ease;
        }
        .nav-link.nav-active::after { transform: scaleX(1); }
        .nav-link.nav-active { color: rgb(var(--t-accent)); }

        /* ── EMERALD ─────────────────────────────────────────── */
        [data-landing-theme="emerald"] {
            --t-accent:   5 150 105;      /* emerald-600 */
            --t-accent-2: 45 212 191;     /* teal-400 */
            --t-accent-s: 236 253 245;    /* emerald-50 */
            --l-hero-bg:  linear-gradient(160deg,#ecfdf5 0%, #d1fae5 45%, #a7f3d0 100%);
            --l-glow:     rgba(5,150,105,0.15);
            --l-section-tint: 240 253 244;
        }
        .dark[data-landing-theme="emerald"] {
            --t-accent-s: 6 46 43;
            /* keep the Indigo→Sky→Emerald identity, weighted to emerald */
            --l-hero-bg:  linear-gradient(135deg, #1e3a8a 0%, #0e7490 38%, #047857 72%, #065f46 100%);
            --l-glow:     rgba(5,150,105,0.30);
            --l-section-tint: 4 18 14;
            --layanan-bg: linear-gradient(180deg, #06140f 0%, #04100c 100%);
            --cara-pesan-bg: linear-gradient(180deg, #04100c 0%, #06140f 100%);
        }
        /* ── SKY ─────────────────────────────────────────────── */
        [data-landing-theme="sky"] {
            --t-accent:   2 132 199;      /* sky-600 */
            --t-accent-2: 94 234 212;     /* teal-300/mint */
            --t-accent-s: 240 249 255;    /* sky-50 */
            --l-hero-bg:  linear-gradient(160deg,#eff6ff 0%, #dbeafe 45%, #bfdbfe 100%);
            --l-glow:     rgba(2,132,199,0.15);
            --l-section-tint: 240 249 255;
        }
        .dark[data-landing-theme="sky"] {
            --t-accent-s: 8 47 73;
            /* Indigo→Sky→Emerald identity, weighted to sky */
            --l-hero-bg:  linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 34%, #0284c7 68%, #0d9488 100%);
            --l-glow:     rgba(2,132,199,0.30);
            --l-section-tint: 4 16 28;
            --layanan-bg: linear-gradient(180deg, #071019 0%, #050d16 100%);
            --cara-pesan-bg: linear-gradient(180deg, #050d16 0%, #071019 100%);
        }

        /* ── Brand overrides scoped to landing body ─────────── */
        body[data-landing-theme] .btn-primary {
            background: linear-gradient(135deg, rgb(var(--t-accent)), rgb(var(--t-accent-2))) !important;
            box-shadow: 0 2px 8px -2px rgb(var(--t-accent) / 0.4) !important;
            color: #fff !important;
            border: none !important;
            padding: 11px 22px !important;
            border-radius: 12px !important;
        }
        body[data-landing-theme] .accent-gradient {
            background: linear-gradient(140deg, rgb(var(--t-accent)) 0%, rgb(var(--t-accent-2)) 100%);
            -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
        }


/* ───────────────────────────────────────────────────────────────────
   Section 2: Landing page component styles
   (from landing/index.php — main <style> block)
   ─────────────────────────────────────────────────────────────────── */

/* ── Landing-only additions (tokens already defined in layout) ───── */

/* Dot-grid texture overlay */
.dot-grid {
  background-image: radial-gradient(rgba(var(--t-border), 0.8) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Frosted navbar on scroll */
#navbar.nav-scrolled {
  background: rgba(var(--t-bg), 0.96) !important;
  box-shadow: 0 1px 0 rgb(var(--t-border));
}

/* Gradient accent text */
.accent-gradient {
  background: linear-gradient(140deg, rgb(var(--t-accent)) 0%, rgb(var(--t-accent-2)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label treatment */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--t-accent));
}
.section-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: rgb(var(--t-accent));
  border-radius: 2px;
  flex-shrink: 0;
}

/* Feature card */
.feat-card {
  transition: transform 0.22s cubic-bezier(.22,1,.36,1),
              box-shadow 0.22s ease,
              border-color 0.22s ease;
}
.feat-card:hover {
  transform: translateY(-7px);
  border-color: rgb(var(--t-accent) / 0.35) !important;
  box-shadow: 0 20px 56px -12px rgb(var(--t-accent) / 0.18);
}

/* Team card */
.team-card {
  transition: transform 0.22s cubic-bezier(.22,1,.36,1),
              box-shadow 0.22s ease,
              border-color 0.22s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgb(var(--t-accent) / 0.35) !important;
  box-shadow: 0 16px 48px -12px rgb(var(--t-accent) / 0.16);
}
.team-card:hover .team-photo {
  transform: scale(1.05);
}
.team-photo {
  transition: transform 0.3s ease;
}

/* Chat bubble entrance */
.bubble-in {
  animation: bubbleIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.82) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Floating btn pulse ring */
.float-pulse::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgb(var(--t-accent) / 0.38);
  animation: floatPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes floatPulse {
  0%   { transform: scale(0.92); opacity: 0.75; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Scrollbar in chat */
.chat-area::-webkit-scrollbar { width: 3px; }
.chat-area::-webkit-scrollbar-track { background: transparent; }
.chat-area::-webkit-scrollbar-thumb { background: rgb(var(--t-border)); border-radius: 3px; }

/* Floating chat window — responsive (mobile near-fullscreen) */
@media (max-width: 640px) {
  #floating-wrap { bottom: 18px; right: 18px; left: 18px; }
  .float-win {
    position: fixed !important;
    left: 12px; right: 12px; bottom: 84px;
    width: auto !important;
    max-height: calc(100dvh - 104px) !important;
  }
  .float-win #float-messages {
    height: auto !important;
    flex: 1 1 auto;
  }
  .float-fs-toggle { display: none !important; }
}

/* Floating chat — fullscreen overlay mode (all screens) */
.float-win.float-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  left: 0 !important; right: 0 !important;
  top: calc(100dvh - 94dvh) !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 94dvh !important;
  max-height: 94dvh !important;
  border-radius: 0 !important;
  border: 0 !important;
  z-index: 80;
}
.float-win.float-fullscreen #float-messages {
  height: auto !important;
  flex: 1 1 auto;
}
.float-win.float-fullscreen #float-messages > div > div[style*="max-width"] {
  max-width: min(680px, 92%) !important;
}
body.float-fs-lock { overflow: hidden; }
body.float-fs-lock #floating-wrap {
  transform: none !important;
  animation: none !important;
}

/* Smooth scroll anchor offset for fixed nav */
section[id], a[id] { scroll-margin-top: 84px; }

/* ── WhatsApp text formatting ─────────────────────────────────── */
.wa-text { overflow-wrap: anywhere; }
.wa-text strong { font-weight: 700; }
.wa-text em { font-style: italic; }
.wa-text s  { text-decoration: line-through; opacity: 0.72; }
.wa-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82em;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(0,0,0,0.10);
}
.wa-text ol { list-style: decimal; margin: 4px 0 4px 1.2em; }
.wa-text ul { list-style: disc;    margin: 4px 0 4px 1.2em; }
.wa-text li + li { margin-top: 2px; }
.wa-text blockquote {
  border-left: 2.5px solid rgb(var(--t-accent) / 0.55);
  padding-left: 9px;
  margin: 4px 0;
  opacity: 0.82;
  font-style: italic;
}
.wa-text div + div { margin-top: 2px; }
.wa-text .wa-br  { height: 6px; }
.wa-user code { background: rgba(255,255,255,0.22); }

/* ── Typewriter cursor ─────────────────────────────────────────── */
@keyframes cursorBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}
.typing-cursor::after {
  content: '▋';
  font-size: 0.75em;
  animation: cursorBlink 0.65s ease infinite;
  margin-left: 1px;
  vertical-align: baseline;
}

/* ── Message timestamp ─────────────────────────────────────────── */
.msg-time {
  font-size: 10px;
  opacity: 0.5;
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ── Hero split-screen (B3) w/ sticky photo ──────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    min-height: 100vh;
  }
}
/* Dark mode: keep the hero content column focused on deep dark,
   so the colorful gradient stays on the photo side only */
.dark .hero-left {
  background: linear-gradient(120deg, #0b1020 0%, #0a1326 60%, rgba(10,19,38,0.92) 100%);
}
.hero-left {
  display: flex;
  align-items: center;
  padding: 80px 6vw 56px;
  position: relative;
  z-index: 2;
  min-height: 90vh;
}
@media (min-width: 1024px) {
  .hero-left { min-height: 100vh; }
}
.hero-right {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: var(--l-hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero-right {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    align-self: start;
  }
}
@media (max-width: 1023px) {
  .hero-right {
    display: block;
    position: static;
    min-height: auto;
    padding: 0;
  }
  .hero-right .hero-photo { display: none; }
  .hero-right .hero-photo-fade,
  .hero-right .hero-photo-tint { display: none; }
}
.hero-photo-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 78%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%);
  mask-image: linear-gradient(to right, transparent 0%, black 9%);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.hero-photo-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgb(var(--t-accent-s)) 0%, transparent 12%);
  pointer-events: none;
}
.dark .hero-photo-fade {
  background: linear-gradient(to right, rgb(var(--t-sunken)) 0%, transparent 12%);
}
.hero-glow {
  position: absolute;
  width: 420px; height: 420px;
  top: -80px; left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--l-glow) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
/* Dark mode: layered indigo + emerald glow keeps brand identity alive */
.dark .hero-glow {
  background:
    radial-gradient(circle, var(--l-glow) 0%, transparent 70%),
    radial-gradient(circle at 75% 95%, rgba(5,150,105,0.20) 0%, transparent 62%);
}

/* ── Horizontal carousel (Section 2) ─────────────────────────── */
.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  gap: 24px;
  padding: 24px max(5vw, calc((100% - 520px) / 2)) 32px;
  width: max-content;
}

/* Big gradient icon */
.iconbox {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  background: linear-gradient(140deg, rgb(var(--t-accent-s)), rgb(var(--t-surface)));
  border: 1px solid rgb(var(--t-accent) / .25);
  box-shadow: 0 8px 24px -10px rgb(var(--t-accent) / .45);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  flex-shrink: 0;
}
/* Dark mode: tinted translucent glass so the icon stays vivid on dark */
.dark .iconbox {
  background: linear-gradient(140deg, rgba(99,102,241,0.22) 0%, rgba(14,116,144,0.16) 55%, rgba(5,150,105,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 8px 24px -10px rgba(99,102,241,0.45);
}
.dark .iconbox svg { stroke: rgb(165 180 252); }
/* Dark mode: Cara Pesan step icon — tinted glass to match iconbox */
.dark .step-icon {
  background: linear-gradient(140deg, rgba(99,102,241,0.22) 0%, rgba(14,116,144,0.16) 55%, rgba(5,150,105,0.18) 100%) !important;
  border: 1.5px solid rgba(255,255,255,0.16) !important;
  color: rgb(165 180 252) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 30px -12px rgba(99,102,241,0.45) !important;
}
.iconbox svg { width: 34px; height: 34px; stroke: rgb(var(--t-accent)); }

/* Badge pill */
.pill-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: rgb(var(--t-accent-s)); color: rgb(var(--t-accent));
}

/* Stat number */
.stat-num { font-size: 30px; font-weight: 800; color: rgb(var(--t-accent)); line-height: 1; }

/* Thin divider between description and stat (note #9) */
.card-divider {
  height: 1px;
  width: 100%;
  margin: 0 0 18px;
  background: linear-gradient(90deg, rgb(var(--t-border)), transparent);
  position: relative;
  z-index: 10;
}

/* Illustration panel vector (note #4) */
.illo-panel svg { width: 52px; height: 52px; stroke: rgb(var(--t-accent)); }

.service-card {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: clamp(300px, 82vw, 440px);
  min-height: 380px;
  border-radius: 32px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  background: rgb(var(--t-surface));
  /* single consistent 1.5px border, 60% opacity */
  border: 1.5px solid rgb(var(--t-border) / 0.60);
  /* one subtle outer shadow only */
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.06);
  /* inner highlight for depth (1px white 25%) */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
/* inner top highlight — 1px white at 25%, follows 32px radius */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
  pointer-events: none;
  z-index: 1;
}
.service-card.is-active {
  transform: scale(1);
  border-color: rgb(var(--t-accent) / 0.20);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.08);
}
.service-card:not(.is-active) {
  transform: scale(0.97);
  opacity: 0.72;
}
@media (hover: hover) {
  .service-card:hover {
    opacity: 1;
    transform: translateY(-6px);
    border-color: rgb(var(--t-accent) / 0.25);
    box-shadow: 0 16px 40px rgb(15 23 42 / 0.10);
  }
  .service-card:hover .iconbox { transform: scale(1.06); }
}

/* (decorative blob removed — clean enterprise frame) */

/* Glass arrows */
.carousel-arrow {
  transition: all 0.2s ease;
  background: rgba(var(--t-surface), 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(var(--t-border));
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.25);
  color: rgb(var(--t-text-1));
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.carousel-arrow:not(:disabled):hover {
  transform: scale(1.1);
  box-shadow: 0 8px 22px -6px rgb(var(--t-accent) / 0.35);
  border-color: rgb(var(--t-accent) / 0.4);
}

/* Progress bar (replaces dots) */
.carousel-progress {
  height: 6px;
  border-radius: 99px;
  background: rgb(var(--t-border));
  overflow: hidden;
}
.carousel-progress-fill {
  height: 100%;
  width: 20%;
  border-radius: 99px;
  background: linear-gradient(90deg, rgb(var(--t-accent)), rgb(var(--t-accent-2)));
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Section floating blobs */
.sec-blob {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.10;
  background: rgb(var(--t-accent));
  pointer-events: none;
}

/* Horizontal reveal animation */
.anim-scroll-x {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-scroll-x.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Count-up badge ────────────────────────────────────────────── */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.step-connector::before {
  content:''; position:absolute; top:34px; left:60%; width:80%; height:2px;
  background:linear-gradient(90deg, rgb(var(--t-accent)/.4), transparent);
}
@media (max-width:767px){ .step-connector::before{ display:none; } }

/* ── Tentang Kami: photo + value props split ──────────────────── */
.about-split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .about-split { grid-template-columns: 0.9fr 1.1fr; gap: 44px; } }
.about-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1.5px solid rgb(var(--t-border));
  box-shadow: 0 24px 60px -28px rgb(var(--t-accent) / 0.45);
  background: rgb(var(--t-surface));
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(var(--t-accent) / 0.18) 100%);
  pointer-events: none;
}
.about-photo .photo-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgb(var(--t-accent)); box-shadow: 0 6px 18px -6px rgb(var(--t-accent) / 0.6);
}

/* Value props list */
.value-prop {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  background: rgb(var(--t-surface));
  border: 1.5px solid rgb(var(--t-border));
  transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s ease;
}
.value-prop:hover { transform: translateX(4px); border-color: rgb(var(--t-accent) / 0.4); }
.value-prop .vp-check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgb(var(--t-accent-s)); color: rgb(var(--t-accent));
}
.value-prop .vp-text strong { display: block; font-size: 0.95rem; color: rgb(var(--t-text-1)); }
.value-prop .vp-text span { font-size: 0.82rem; color: rgb(var(--t-text-3)); }

/* Stat cards */
.stat-card {
  flex: 1 1 0; min-width: 150px;
  padding: 22px 18px; border-radius: 20px; text-align: center;
  background: rgb(var(--t-surface));
  border: 1.5px solid rgb(var(--t-border));
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, border-color .22s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgb(var(--t-accent) / 0.35);
  box-shadow: 0 18px 40px -22px rgb(var(--t-accent) / 0.5);
}
.stat-card .stat-ico {
  width: 48px; height: 48px; margin: 0 auto 10px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgb(var(--t-accent-s)); color: rgb(var(--t-accent));
}
.stat-card .stat-num { font-size: 2.6rem; line-height: 1; font-weight: 900; color: rgb(var(--t-accent)); }
.stat-card .stat-label { margin-top: 6px; font-size: 0.8rem; color: rgb(var(--t-text-3)); }

/* Section CTA cluster */
.about-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── Blockquote penutup ────────────────────────────────────────── */
.about-quote {
  border-left: 3px solid rgb(var(--t-accent));
  padding: 20px 28px;
  border-radius: 0 16px 16px 0;
  background: rgba(var(--t-accent-s), 0.5);
}

/* ── Hero: dot-pattern decoration on left background ─────────────── */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(var(--t-accent) / 1) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero: animated pharmacy SVG decorations ──────────────────── */
.hero-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}
.dark .hero-deco { opacity: 0.08; }
.hero-deco svg { width: 100%; height: 100%; display: block; }
.hero-deco svg path,
.hero-deco svg circle,
.hero-deco svg rect,
.hero-deco svg line,
.hero-deco svg ellipse {
  fill: none;
  stroke: rgb(var(--t-accent));
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-deco .deco-fill { fill: rgb(var(--t-accent)); stroke: none; }

/* Float animation variants */
@keyframes decoFloatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@keyframes decoFloatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-8deg); }
}
@keyframes decoFloatC {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.08); }
}
@keyframes decoPulse {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50%      { opacity: 0.18; transform: scale(1.1); }
}
@keyframes decoRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes decoSway {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}

.hero-deco.anim-float-a { animation: decoFloatA 6s ease-in-out infinite; }
.hero-deco.anim-float-b { animation: decoFloatB 7s ease-in-out infinite; }
.hero-deco.anim-float-c { animation: decoFloatC 5.5s ease-in-out infinite; }
.hero-deco.anim-pulse   { animation: decoPulse 4s ease-in-out infinite; }
.hero-deco.anim-rotate  { animation: decoRotate 22s linear infinite; }
.hero-deco.anim-sway    { animation: decoSway 5s ease-in-out infinite; }

/* ── Hero: gradient overlay on photo (brand tint + premium feel) ── */
.hero-photo-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(var(--t-accent) / 0.10) 0%, rgb(var(--t-accent) / 0) 35%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}
/* Dark mode: brand gradient (indigo → emerald) instead of flat slate */
.dark .hero-photo-tint {
  background:
    linear-gradient(180deg, rgb(var(--t-accent) / 0.22) 0%, rgb(var(--t-accent) / 0) 38%),
    linear-gradient(0deg, rgba(5,150,105,0.40) 0%, rgba(14,116,144,0.20) 30%, transparent 62%);
}

/* ── Hero: search bar ─────────────────────────────────────────── */
.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 18px;
  border-radius: 18px;
  background: rgb(var(--t-surface));
  border: 1.5px solid rgb(var(--t-border));
  box-shadow: 0 12px 32px -12px rgb(var(--t-accent) / 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-search:focus-within {
  border-color: rgb(var(--t-accent) / 0.5);
  box-shadow: 0 14px 40px -10px rgb(var(--t-accent) / 0.26);
}
.hero-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  color: rgb(var(--t-text-1));
}
.hero-search input::placeholder { color: rgb(var(--t-text-3)); }
.hero-search button {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgb(var(--t-accent-2));
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.hero-search button:hover { transform: scale(1.04); opacity: 0.95; }
.hero-search button:active { transform: scale(0.97); }

/* ── Hero: trust badges ───────────────────────────────────────── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--t-text-2));
}
.trust-badge .tb-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.trust-badge svg { flex-shrink: 0; }

/* ── Hero: stat icons ─────────────────────────────────────────── */
.stat-item { display: flex; align-items: center; gap: 8px; }
.stat-item .stat-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

/* ── Hero: secondary CTA (outline style) ─────────────────────── */
.btn-secondary-outline {
  border: 1.5px solid rgb(var(--t-border));
  color: rgb(var(--t-text-1));
  background: rgb(var(--t-surface));
  transition: all 0.2s ease;
}
.btn-secondary-outline:hover {
  border-color: rgb(var(--t-accent) / 0.45);
  background: rgba(var(--t-accent-s), 0.6);
  transform: translateY(-1px);
}

/* ── Hero: soft float (amplitude 6px, staggered) ─────────────── */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.anim-float-soft { animation: floatSoft 6s ease-in-out infinite; }

/* ── Hero: clean floating info cards (right-side vertical stack) ─ */
.hero-info-cards {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 220px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 28px -10px rgba(15,23,42,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -10px rgba(15,23,42,0.30);
}
.dark .info-card {
  /* Real dark glass: accent-tinted translucent base + layered borders + brand glow */
  background: linear-gradient(155deg, rgba(99,102,241,0.14) 0%, rgba(14,116,144,0.10) 55%, rgba(5,150,105,0.12) 100%);
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 0 1px rgba(99,102,241,0.18),
    0 8px 28px -10px rgba(15,23,42,0.55),
    0 0 22px -6px rgba(99,102,241,0.35);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.info-card-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.info-card-body { min-width: 0; }
.info-card-title {
  font-size: 13.5px; font-weight: 700;
  color: rgb(var(--t-text-1));
  line-height: 1.2;
}
.info-card-sub {
  font-size: 12px; font-weight: 500;
  color: rgb(var(--t-text-2));
  margin-top: 2px;
}
.info-card-status {
  font-size: 12px; font-weight: 700;
  margin-top: 2px;
  display: inline-flex; align-items: center; gap: 5px;
}
.info-card-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgb(34,197,94);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: cardPing 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes cardPing {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@media (prefers-reduced-motion: reduce) {
  .info-card-dot { animation: none; }
  .info-card { transition: none; }
}
@media (max-width: 1023px) {
  .hero-info-cards {
    position: static;
    transform: none;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: auto;
    padding: 0 6vw 24px;
    gap: 10px;
  }
  .hero-info-cards::-webkit-scrollbar { display: none; }
  .info-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 200px;
  }
}

/* ── Hero: bottom-left floating consult card ─────────────── */
.hero-consult-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 28px -10px rgba(15,23,42,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-consult-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -10px rgba(15,23,42,0.30);
}
.dark .hero-consult-card {
  /* Real dark glass to match .info-card */
  background: linear-gradient(155deg, rgba(99,102,241,0.14) 0%, rgba(14,116,144,0.10) 55%, rgba(5,150,105,0.12) 100%);
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 0 1px rgba(99,102,241,0.18),
    0 8px 28px -10px rgba(15,23,42,0.55),
    0 0 22px -6px rgba(99,102,241,0.35);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.consult-card-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgb(var(--t-accent)), rgb(var(--t-accent-2)));
  color: #fff;
}
.consult-card-body { min-width: 0; }
.consult-card-title {
  font-size: 13.5px; font-weight: 700;
  color: rgb(var(--t-text-1));
  line-height: 1.2;
}
.consult-card-sub {
  font-size: 12px; font-weight: 500;
  color: rgb(var(--t-text-2));
  line-height: 1.4;
  margin-top: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-consult-card { transition: none; }
}
@media (max-width: 1023px) {
  .hero-consult-card {
    position: static;
    max-width: none;
    margin: 0 6vw 20px;
  }
}


/* ───────────────────────────────────────────────────────────────────
   Section 3: Footer styles
   (from landing/index.php — footer <style> block)
   ─────────────────────────────────────────────────────────────────── */

    /* Footer themed to match the Hero "Konsultasi AI" accent (theme-aware) */
    #site-footer { color: #fff; }
    #site-footer * { color: #fff !important; }
    #site-footer h4 { font-weight: 700; }
    #site-footer p, #site-footer a, #site-footer span,
    #site-footer div { font-weight: 400; }
    #site-footer a { font-weight: 600; opacity: 0.92; }
    #site-footer a:hover { opacity: 1; }
    #site-footer .w-7.h-7 { background: rgba(255,255,255,0.18) !important; }


/* ───────────────────────────────────────────────────────────────────
   Section 4: Lottie replacement SVG + CSS animations
   (from landing/index.php — final <style> block)
   ─────────────────────────────────────────────────────────────────── */

    /* ── Lottie replacement: inline SVG + CSS animations ── */
    @keyframes float-soft { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
    @keyframes pop-in    { 0%{opacity:0;transform:scale(.8)} 60%{opacity:1;transform:scale(1.05)} 100%{transform:scale(1)} }
    @keyframes spin-slow { to{transform:rotate(360deg)} }
    @keyframes fs-sweep  { 0%,100%{transform:rotate(0)} 50%{transform:rotate(40deg)} }
    @keyframes blink     { 0%,100%{opacity:1} 50%{opacity:.15} }
    @keyframes dash-check{ 0%{stroke-dashoffset:40} 100%{stroke-dashoffset:0} }
    @keyframes fade-cycle{ 0%,100%{opacity:.3} 50%{opacity:1} }
    @keyframes pulse-dot { 0%{transform:scale(.6);opacity:.9} 70%{transform:scale(1);opacity:0} 100%{opacity:0} }

    .med-pill   { transform-origin:center; animation:float-soft 3s ease-in-out infinite; }
    .med-pill:nth-child(2){animation-delay:.4s}
    .med-pill:nth-child(3){animation-delay:.8s}
    .med-pill:nth-child(4){animation-delay:1.2s}
    .med-center { transform-origin:center; animation:spin-slow 8s linear infinite; }

    .fs-ring { transform-origin:center; animation:spin-slow 4s linear infinite; }
    .fs-tick { transform-origin:100px 100px; animation:fs-sweep 2s ease-in-out infinite; }

    .ai-bubble { transform-origin:60px 70px; animation:pop-in 2.4s ease-in-out infinite; }
    .ai-dot    { animation:blink 1.4s ease-in-out infinite; }
    .ai-dot:nth-child(2){animation-delay:.2s}
    .ai-dot:nth-child(3){animation-delay:.4s}

    .sc-glass { transform-origin:center; animation:float-soft 2.6s ease-in-out infinite; }
    .sc-check { stroke-dasharray:40; animation:dash-check 1.6s ease-in-out infinite; }

    .s24-ring  { transform-origin:center; animation:spin-slow 6s linear infinite; }
    .s24-pulse { transform-origin:center; animation:pulse-dot 2s ease-out infinite; }
    .s24-core  { animation:fade-cycle 2s ease-in-out infinite; }

    @media (prefers-reduced-motion: reduce){
      .lottie-box *{ animation:none !important; }
    }
