:root {
  --bg: #f4f7fc; --surface: #ffffff; --surface2: #eef2f9; --card: #ffffff; --border: #dbe4f3;
  --primary: #1565c0; --primary-light: #1976d2; --text: #0f172a; --textsub: #3b5a85; --textmuted: #64748b;
  --success: #16a34a; --warning: #d97706; --danger: #dc2626;
  --header-bg: rgba(244,247,252,0.85); --hero-glow: rgba(21,101,192,0.10);
  --footer-bg: #0a0f1e; --footer-text: #cbd5e1; --footer-muted: #64748b; --footer-border: #1e2d45;
}
html.dark {
  --bg: #0a0f1e; --surface: #111827; --surface2: #1a2234; --card: #0e1729; --border: #1e2d45;
  --primary: #1565c0; --primary-light: #29b6f6; --text: #f1f5f9; --textsub: #90afd4; --textmuted: #4a6fa5;
  --success: #22c55e; --warning: #f59e0b; --danger: #ef4444;
  --header-bg: rgba(10,15,30,0.85); --hero-glow: rgba(21,101,192,0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; transition: background 0.2s, color 0.2s; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Top announcement bar ────────────────────────────────────── */
.topbar { background: var(--primary); color: #fff; overflow: hidden; white-space: nowrap; position: relative; height: 30px; display: flex; align-items: center; }
.topbar-track { display: inline-flex; align-items: center; gap: 36px; padding-left: 36px; animation: topbar-scroll 28s linear infinite; }
.topbar-track span { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@keyframes topbar-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Header / Nav ─────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; font-size: 15.5px; font-weight: 500; color: var(--textsub); flex: 1; }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; border: none; transition: all 0.15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #1976d2; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

.theme-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 17px; flex-shrink: 0; transition: border-color 0.15s, transform 0.15s; }
.theme-toggle:hover { border-color: var(--primary); transform: rotate(15deg); }

/* ── Page header (non-home pages) ────────────────────────────── */
.page-hero { padding: 64px 0 48px; text-align: center; background: radial-gradient(ellipse at top, var(--hero-glow), transparent 60%); }
.page-hero .tag { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.page-hero h1 { font-size: 38px; font-weight: 800; margin-top: 10px; letter-spacing: -0.5px; }
.page-hero p { color: var(--textmuted); margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Hero (home) ──────────────────────────────────────────────── */
.hero { padding: 90px 0 70px; background: radial-gradient(ellipse at top, var(--hero-glow), transparent 60%); }
.hero .badge { display: inline-block; background: rgba(21,101,192,0.12); border: 1px solid rgba(21,101,192,0.35); color: var(--primary); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin: 0 0 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 17px; color: var(--textsub); max-width: 480px; margin: 0 0 32px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 40px; text-align: left; }
.hero-phone-wrap { display: flex; align-items: center; justify-content: center; gap: 28px; }

/* ── Phone mockup ─────────────────────────────────────────────── */
.phone-mock { width: 250px; height: 510px; background: #0a0f1e; border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(21,101,192,0.35), 0 0 0 1px var(--border); position: relative; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 90px; height: 18px; background: #0a0f1e; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: var(--bg); height: 100%; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; padding-top: 22px; position: relative; }
.ps-status { display: flex; justify-content: space-between; font-size: 9px; color: var(--textmuted); padding: 4px 16px; font-weight: 600; flex-shrink: 0; }
.ps-slides { position: relative; flex: 1; }
.ps-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.ps-slide.active { opacity: 1; pointer-events: auto; }
.ps-header { display: flex; align-items: center; gap: 8px; padding: 8px 14px 12px; font-weight: 800; font-size: 13px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.ps-header img { width: 20px; height: 20px; border-radius: 6px; }
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 10px 12px; }
.ps-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 5px; text-align: center; font-size: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ps-item small { font-size: 8px; color: var(--textmuted); font-weight: 600; line-height: 1.1; }
.ps-item b { font-size: 9.5px; color: var(--primary); }
.ps-cart { margin-top: auto; background: var(--surface); border-top: 1px solid var(--border); padding: 10px 14px 14px; }
.ps-cart-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--textsub); margin-bottom: 4px; }
.ps-cart-total { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; padding-top: 6px; border-top: 1px dashed var(--border); margin-bottom: 8px; }
.ps-checkout { background: var(--primary); color: #fff; text-align: center; font-size: 11px; font-weight: 700; padding: 9px; border-radius: 9px; margin: 0 14px 14px; }

.ps-login { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; text-align: center; }
.ps-login-logo { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px; }
.ps-login h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.ps-login p { font-size: 10px; color: var(--textmuted); margin-bottom: 18px; }
.ps-input { width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 10px; color: var(--textmuted); margin-bottom: 10px; text-align: left; }
.ps-input-selected { border-color: var(--primary); color: var(--primary); font-weight: 700; }
.ps-login .ps-checkout { width: 100%; margin: 8px 0 0; }
.ps-login .ps-list { padding: 0; margin-bottom: 8px; }
.ps-login .ps-list-row { border-bottom: none; padding: 5px 0; font-size: 10px; justify-content: flex-start; }
.ps-lock-icon { font-size: 32px; margin-bottom: 10px; }

.ps-pin-dots { display: flex; gap: 12px; margin: 6px 0 20px; }
.ps-pin-dots span { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--primary); }
.ps-pin-dots span.filled { background: var(--primary); }
.ps-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.ps-keypad div { background: var(--card); border: 1px solid var(--border); border-radius: 50%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

.ps-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px 14px; }
.ps-stat { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; }
.ps-stat small { display: block; font-size: 8px; color: var(--textmuted); font-weight: 600; margin-bottom: 4px; }
.ps-stat b { font-size: 12px; color: var(--primary); }
.ps-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 10px 16px; margin-top: auto; }
.ps-chart div { flex: 1; background: linear-gradient(180deg, var(--primary), var(--primary-light)); border-radius: 4px 4px 0 0; }

.ps-list { padding: 8px 14px; flex: 1; }
.ps-list-row { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--textsub); }
.ps-list-row b { font-size: 10.5px; color: var(--text); font-weight: 700; }
.ps-list-row b.ps-low { color: var(--danger); }

.ps-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 14px; flex-shrink: 0; }
.ps-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background 0.3s, width 0.3s; }
.ps-dots span.active { background: var(--primary); width: 16px; border-radius: 3px; }

/* ── Laptop mockup (mirrors the phone slideshow on the web portal) ──── */
.laptop-mock { width: 360px; flex-shrink: 0; }
.laptop-screen-frame { background: #0a0f1e; border-radius: 14px 14px 0 0; padding: 12px 12px 0; box-shadow: 0 30px 60px -20px rgba(21,101,192,0.35), 0 0 0 1px var(--border); }
.laptop-screen { background: var(--bg); border-radius: 7px; height: 220px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.laptop-bar { display: flex; gap: 5px; padding: 8px 10px; flex-shrink: 0; }
.laptop-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.laptop-slides { position: relative; flex: 1; }
.laptop-slide { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.laptop-slide.active { opacity: 1; pointer-events: auto; }
.laptop-body { flex: 1; display: flex; gap: 10px; padding: 0 10px 10px; }
.laptop-side { width: 26%; background: var(--card); border-radius: 7px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.laptop-side div { height: 7px; border-radius: 3px; background: var(--border); }
.laptop-side div.active { background: var(--primary); }
.laptop-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.laptop-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.laptop-cards div { background: var(--card); border-radius: 6px; height: 34px; padding: 6px; display: flex; align-items: center; justify-content: center; }
.laptop-cards div b { font-size: 9.5px; color: var(--primary); }
.laptop-chart { flex: 1; background: var(--card); border-radius: 7px; display: flex; align-items: flex-end; gap: 4px; padding: 8px; }
.laptop-chart div { flex: 1; background: linear-gradient(180deg, var(--primary), var(--primary-light)); border-radius: 2px 2px 0 0; }
.laptop-list { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 2px; }
.laptop-list div { display: flex; justify-content: space-between; align-items: center; background: var(--card); border-radius: 5px; padding: 6px 9px; font-size: 9px; color: var(--textsub); }
.laptop-list div b { color: var(--text); }
.laptop-login { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 36px; }
.laptop-login-input { width: 100%; background: var(--card); border-radius: 5px; height: 14px; margin-bottom: 8px; }
.laptop-login-btn { width: 100%; height: 16px; background: var(--primary); border-radius: 5px; margin-top: 4px; }
.laptop-base { height: 14px; background: linear-gradient(180deg, #1a2234, #0e1729); border-radius: 0 0 12px 12px; margin: 0 -8px; box-shadow: 0 6px 12px -4px rgba(0,0,0,0.3); }

@media (max-width: 1100px) {
  .laptop-mock { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
  .hero-phone-wrap { margin-top: 24px; }
  .phone-mock { width: 220px; height: 450px; }
}

section { padding: 80px 0; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section-head .tag { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--textmuted); margin-top: 12px; font-size: 15px; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ── Modern animated cards ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(135deg, var(--primary), transparent 60%);
  opacity: 0; transition: opacity 0.25s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px -12px rgba(21,101,192,0.25); border-color: transparent; }
.card:hover::before { opacity: 1; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(21,101,192,0.18), rgba(21,101,192,0.05));
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px;
  transition: transform 0.25s ease;
}
.card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--textmuted); line-height: 1.6; }

/* ── Testimonials — auto-scrolling marquee ───────────────────── */
.testimonial-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.testimonial-track { display: flex; gap: 20px; width: max-content; animation: testimonial-scroll 60s linear infinite; }
.testimonial-marquee:hover .testimonial-track { animation-play-state: paused; }
@keyframes testimonial-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t-card {
  flex: 0 0 340px; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column;
}
.t-card p { font-size: 13.5px; color: var(--textmuted); font-style: italic; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.t-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.t-card span { font-size: 12.5px; color: var(--textmuted); }
.t-card .v-tick { color: var(--success); font-size: 11px; font-weight: 800; vertical-align: middle; }
@media (max-width: 560px) {
  .t-card { flex-basis: 280px; }
}

#modules { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.module-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); transition: padding-left 0.2s ease; }
.module-row:hover { padding-left: 6px; }
.module-row:last-child { border-bottom: none; }
.module-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 8px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(21,101,192,0.15); }
.module-row h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.module-row p { font-size: 13.5px; color: var(--textmuted); }

/* ── Pricing ──────────────────────────────────────────────────── */
.pricing-card {
  position: relative; border-radius: 20px; padding: 32px 28px; background: var(--card); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: visible;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, var(--primary), transparent 55%); opacity: 0; transition: opacity 0.3s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.pricing-card:hover { transform: translateY(-10px) scale(1.015); box-shadow: 0 24px 48px -16px rgba(21,101,192,0.35); }
.pricing-card:hover::before { opacity: 1; }
.pricing-card.featured { border-color: var(--primary); background: linear-gradient(160deg, rgba(21,101,192,0.10), var(--card) 60%); transform: scale(1.03); }
.pricing-card.featured:hover { transform: translateY(-10px) scale(1.045); }
.pricing-card.featured::after {
  content: "Most Popular"; position: absolute; top: -12px; right: 24px; background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px -2px rgba(21,101,192,0.5); animation: badge-pulse 2.2s ease-in-out infinite;
}
@keyframes badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.pricing-card .cycle-badge {
  position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 700; color: var(--textsub);
  background: var(--surface2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px;
}
.pricing-card .plan-icon {
  width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(21,101,192,0.18), rgba(21,101,192,0.05));
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 26px 0 14px;
  transition: transform 0.3s ease;
}
.pricing-card:hover .plan-icon { transform: scale(1.12) rotate(-4deg); }
.pricing-card .plan-name { font-size: 13px; font-weight: 700; color: var(--textsub); text-transform: uppercase; letter-spacing: 1px; }
.pricing-card .plan-price { font-size: 36px; font-weight: 800; margin: 14px 0 4px; }
.pricing-card .plan-price span { font-size: 14px; color: var(--textmuted); font-weight: 500; }
.pricing-card .plan-cycle { color: var(--textmuted); font-size: 13px; margin-bottom: 8px; }
.pricing-card .plan-seats { color: var(--textsub); font-size: 12.5px; font-weight: 600; margin-bottom: 20px; }
.pricing-card ul { list-style: none; margin-bottom: 12px; flex: 1; }
.pricing-card li { font-size: 13.5px; color: var(--textsub); padding: 7px 0; display: flex; gap: 10px; align-items: flex-start; opacity: 0; animation: li-fade-in 0.4s ease forwards; }
.pricing-card li::before { content: "✓"; color: var(--success); font-weight: 800; flex-shrink: 0; }
.pricing-card.in-view li { animation-delay: calc(var(--li-i, 0) * 0.05s + 0.2s); }
@keyframes li-fade-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
#pricing-loading { text-align: center; color: var(--textmuted); padding: 40px; }

.pricing-card .cta-row {
  display: flex; gap: 8px; margin-top: 16px; opacity: 0; max-height: 0; overflow: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
}
.pricing-card:hover .cta-row, .pricing-card:focus-within .cta-row { opacity: 1; transform: translateY(0); max-height: 60px; }
.pricing-card .cta-row .btn { font-size: 13px; padding: 10px 14px; flex: 1; white-space: nowrap; }
.pricing-card .btn-whatsapp-plan {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: #22c55e; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.15s, background 0.15s;
}
.pricing-card .btn-whatsapp-plan:hover { background: #16a34a; transform: scale(1.08); }
@media (hover: none) {
  .pricing-card .cta-row { opacity: 1; transform: none; max-height: none; margin-top: 16px; }
}

/* ── Purchase lead-capture modal ─────────────────────────────────── */
.purchase-modal-overlay {
  position: fixed; inset: 0; background: rgba(10,15,30,0.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.purchase-modal-overlay.open { display: flex; }
.purchase-modal {
  background: var(--card); border-radius: 20px; padding: 32px; max-width: 420px; width: 100%;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4); position: relative; max-height: 90vh; overflow-y: auto;
  animation: modal-pop 0.25s cubic-bezier(.22,1,.36,1);
}
@keyframes modal-pop { from { opacity: 0; transform: scale(0.94) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.purchase-modal .close-modal {
  position: absolute; top: 16px; right: 16px; background: var(--surface2); border: none; color: var(--text);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 15px;
}
.purchase-modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.purchase-modal .modal-sub { color: var(--textmuted); font-size: 13px; margin-bottom: 18px; }
.purchase-modal .plan-summary {
  background: var(--surface2); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--textsub);
}
.purchase-modal .plan-summary b { color: var(--primary); font-size: 16px; }

/* ── Contact / About extras ───────────────────────────────────── */
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 12px; font-weight: 700; color: var(--textmuted); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px;
  font-size: 14px; color: var(--text); outline: none; transition: border-color 0.15s; font-family: inherit; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); }

/* ── Footer ───────────────────────────────────────────────────── */
footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand .name { font-weight: 800; font-size: 17px; color: #fff; }
.footer-tagline { color: var(--footer-muted); font-size: 13.5px; margin-bottom: 18px; max-width: 240px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid var(--footer-border);
  display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background 0.15s, transform 0.15s;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--footer-text); font-size: 13.5px; transition: color 0.15s; display: flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--primary-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--footer-text); margin-bottom: 12px; list-style: none; }
.footer-contact .ic { flex-shrink: 0; margin-top: 1px; }
.footer-bottom { border-top: 1px solid var(--footer-border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--footer-muted); flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--primary-light); }

.fab-stack { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 60; }
.fab-top { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,0.15); transition: opacity 0.2s, transform 0.2s; opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-top:hover { transform: translateY(-3px); }
.fab-whatsapp { display: flex; align-items: center; gap: 8px; background: #22c55e; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 8px 20px rgba(34,197,94,0.35); transition: transform 0.2s; }
.fab-whatsapp:hover { transform: translateY(-3px); }

/* ── Chatbot ──────────────────────────────────────────────────── */
/* WhatsApp now lives inside the chatbot panel itself (header icon), so this
   fab only has to clear the scroll-top button below it. */
.chatbot-fab {
  position: fixed; right: 24px; bottom: 90px; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgba(21,101,192,0.4);
  transition: transform 0.2s; border: none; font-size: 24px; z-index: 61;
}
.chatbot-fab:hover { transform: translateY(-3px) scale(1.04); }
.chatbot-panel {
  position: fixed; right: 24px; bottom: 160px; width: 340px; max-height: 460px; background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: 0 24px 48px -12px rgba(0,0,0,0.35); display: none; flex-direction: column; overflow: hidden; z-index: 61;
}
.chatbot-panel.open { display: flex; }
.chatbot-header { background: var(--primary); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.chatbot-header img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.chatbot-header .title { font-weight: 700; font-size: 14px; flex: 1; }
.chatbot-header .sub { font-size: 11px; opacity: 0.85; }
.chatbot-close { background: none; border: none; color: #fff; cursor: pointer; font-size: 18px; opacity: 0.85; line-height: 1; }
.chatbot-close:hover { opacity: 1; }
.chatbot-whatsapp-link {
  width: 30px; height: 30px; border-radius: 50%; background: #22c55e; color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: transform 0.15s, background 0.15s;
}
.chatbot-whatsapp-link:hover { background: #16a34a; transform: scale(1.08); }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chatbot-msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.chatbot-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.chatbot-msg.user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; background: var(--bg); flex-shrink: 0; }
.chatbot-quick-replies button { background: var(--surface); border: 1px solid var(--primary); color: var(--primary); font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: background 0.15s; }
.chatbot-quick-replies button:hover { background: var(--primary); color: #fff; }
.chatbot-input-row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--border); background: var(--card); flex-shrink: 0; }
.chatbot-input-row input { flex: 1; background: var(--surface2); border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; font-size: 13px; color: var(--text); outline: none; }
.chatbot-input-row input:focus { border-color: var(--primary); }
.chatbot-input-row button { background: var(--primary); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; flex-shrink: 0; font-size: 14px; }
@media (max-width: 480px) {
  .chatbot-fab { right: 16px; }
  .chatbot-panel { right: 12px; left: 12px; width: auto; bottom: 156px; }
}

/* ── Mobile hamburger menu ───────────────────────────────────── */
/* Hidden on desktop — the header's own .nav-links/.nav-right cover that. */
.mobile-menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface2);
  cursor: pointer; flex-shrink: 0; padding: 0;
}
.mobile-menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 1px; transition: transform 0.2s, opacity 0.2s; }
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 2px; background: var(--surface); border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 4px; font-size: 15px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu-actions { display: flex; gap: 10px; margin-top: 14px; }
.mobile-menu-actions .btn { flex: 1; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
