/* ============================================================
   RESTOPOS — Production CSS
   ============================================================ */

/* Prevent flash of unstyled content */
body { visibility: hidden; }
body.rp-ready { visibility: visible; }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #07100F;
  --bg2:      #0B1614;
  --bg3:      #0F1E1C;
  --card:     rgba(0,201,167,0.04);
  --card-h:   rgba(0,201,167,0.08);
  --border:   rgba(0,201,167,0.12);
  --border-h: rgba(0,201,167,0.45);
  --indigo:   #00C9A7;
  --violet:   #00A896;
  --cyan:     #34D9BC;
  --emerald:  #22C55E;
  --amber:    #00C9A7;
  --rose:     #F43F5E;
  --txt:      #E2F8F4;
  --txt2:     #7BA8A0;
  --txt3:     #3D6460;
  --radius:   14px;
  --radius-sm:8px;
  --shadow:   0 24px 80px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,201,167,0.35); border-radius: 99px; }
::selection { background: rgba(0,201,167,0.3); color: #fff; }

/* ── Typography ────────────────────────────── */
h1,h2,h3,h4,h5 { font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--txt); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Utilities ─────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.gradient-text {
  background: linear-gradient(135deg, #E2F8F4 0%, #00C9A7 50%, #00A896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-purple {
  background: linear-gradient(135deg, #34D9BC 0%, #00A896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.glass:hover { border-color: rgba(0,201,167,0.25); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.25);
  color: #34D9BC;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  padding: 5px 14px; border-radius: 99px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0,201,167,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,201,167,0.45);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--txt2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--txt);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(0,201,167,0.4);
  color: #34D9BC;
}
.btn-outline:hover { background: rgba(0,201,167,0.1); }

/* ── Keyframes ─────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,201,167,0); }
  50%      { box-shadow: 0 0 30px 4px rgba(0,201,167,0.25); }
}
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes blink    { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes shimmer  {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes gradient-shift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

.float   { animation: float 5s ease-in-out infinite; }
.fade-up { animation: fadeUp 0.7s ease forwards; }

/* ============================================================
   NAVBAR
   ============================================================ */

/* ── Announcement bar ──────────────────────── */
.nav-announce {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: linear-gradient(90deg, #004D3E 0%, #005A48 50%, #004D3E 100%);
  border-bottom: 1px solid rgba(0,201,167,0.2);
  text-align: center;
  padding: 7px 24px;
  font-size: 12px;
  font-weight: 500;
  color: #A7DDD5;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-announce a {
  color: #00C9A7; font-weight: 700; margin-left: 8px;
  text-decoration: none; border-bottom: 1px solid rgba(0,201,167,0.4);
}
.nav-announce a:hover { color: #34D9BC; }

/* ── Main navbar ───────────────────────────── */
.navbar {
  position: fixed; top: 33px; left: 0; right: 0; z-index: 1000;
  height: 64px;
  display: flex; align-items: center;
  background: rgba(7,16,15,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,201,167,0.1);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5,14,13,0.97);
  border-bottom-color: rgba(0,201,167,0.15);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px;
  gap: 24px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo:hover { opacity: 0.9; }

/* Nav links */
.nav-pill { display: contents; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 13px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: #7BA8A0;
  transition: all 0.18s; white-space: nowrap; letter-spacing: 0.01em;
}
.nav-links a:hover { color: #E2F8F4; background: rgba(0,201,167,0.08); }
.nav-links a.active {
  color: #00C9A7; background: rgba(0,201,167,0.1);
  font-weight: 600;
}

/* Dropdown */
.nav-item { position: relative; }
/* Invisible bridge fills the gap so cursor hover isn't lost crossing it */
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: -20px; right: -20px; height: 14px;
}
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #081512;
  border: 1px solid rgba(0,201,167,0.2);
  border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border-radius: 9px;
  font-size: 13px; font-weight: 500; color: #7BA8A0;
  transition: all 0.15s;
}
.nav-dropdown a:hover { background: rgba(0,201,167,0.1); color: #00C9A7; }
.nav-chevron { font-size: 9px; opacity: 0.5; transition: transform 0.2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); opacity: 0.9; }

/* Actions */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-login {
  padding: 7px 16px; font-size: 13px; font-weight: 500;
  color: #7BA8A0; border: 1px solid rgba(0,201,167,0.2);
  border-radius: 8px; transition: all 0.2s; background: transparent;
}
.nav-login:hover { color: #00C9A7; border-color: rgba(0,201,167,0.45); background: rgba(0,201,167,0.06); }
.nav-cta {
  padding: 8px 20px !important; font-size: 13.5px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #00C9A7 0%, #009E85 100%) !important;
  box-shadow: 0 2px 16px rgba(0,201,167,0.35) !important;
  font-weight: 600 !important; color: #fff !important;
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(0,201,167,0.5) !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px 9px; background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.18); border-radius: 9px;
}
.hamburger span { display: block; width: 19px; height: 2px; background: #00C9A7; border-radius: 2px; transition: all 0.3s; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 97px; left: 0; right: 0;
  background: rgba(5,14,13,0.99); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,201,167,0.12);
  padding: 16px 24px 28px; max-height: calc(100vh - 97px); overflow-y: auto; z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 11px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: #7BA8A0;
}
.mobile-menu a:hover { color: #00C9A7; background: rgba(0,201,167,0.08); }
.mobile-menu-group { margin-bottom: 4px; }
.mobile-menu-label {
  font-size: 10px; font-weight: 700; color: #3D6460;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 12px 14px 5px;
}
.mobile-menu-label.mm-toggle {
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding-right: 14px; user-select: none;
}
.mobile-menu-label.mm-toggle:hover { color: #00C9A7; }
.mm-arrow { font-size: 12px; transition: transform 0.25s; }
.mobile-menu-label.mm-toggle.mm-open .mm-arrow { transform: rotate(180deg); }
.mm-group { padding-left: 12px; }
.mobile-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0,201,167,0.12);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 97px; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(0,201,167,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 60%, rgba(0,168,150,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(52,217,188,0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 60px 24px;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,201,167,0.12); border: 1px solid rgba(0,201,167,0.25);
  color: #34D9BC; font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 28px;
}
.hero-label .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #34D9BC;
  animation: blink 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.04em; margin-bottom: 24px;
}

.hero-desc {
  font-size: 17px; color: var(--txt2); line-height: 1.7;
  margin-bottom: 36px; max-width: 480px;
}

.hero-checks {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 36px;
}
.hero-check {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--txt2);
}
.hero-check svg { color: var(--emerald); flex-shrink: 0; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.hero-social-proof {
  display: flex; align-items: center; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-avatars { display: flex; }
.hero-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg); margin-right: -8px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.hero-proof-text { font-size: 13px; color: var(--txt3); line-height: 1.4; }
.hero-proof-text strong { color: var(--txt); }
.hero-stars { color: #00C9A7; font-size: 12px; }

/* ── Dashboard Mockup ──────────────────────── */
.hero-visual { position: relative; }

.dashboard {
  background: #0B1614;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,201,167,0.1);
}

.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: #0F1E1C; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #FF5F57; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #28CA41; }
.dash-title { font-size: 12px; font-weight: 600; color: var(--txt3); letter-spacing: 0.3px; }
.dash-live { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--emerald); }
.dash-live span { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); animation: blink 1.5s ease-in-out infinite; }

.dash-body { padding: 18px; }

.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.dash-stat {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 12px 14px;
}
.dash-stat-label { font-size: 10.5px; color: var(--txt3); margin-bottom: 4px; }
.dash-stat-value { font-size: 20px; font-weight: 800; color: var(--txt); letter-spacing: -0.03em; }
.dash-stat-change { font-size: 10px; font-weight: 600; margin-top: 2px; }
.up { color: var(--emerald); }
.warn { color: var(--amber); }
.info { color: var(--indigo); }

.dash-section-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--txt3); margin-bottom: 8px;
}

.dash-orders { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.dash-order {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 9px; padding: 9px 12px; gap: 8px;
}
.dash-order-left { display: flex; flex-direction: column; gap: 2px; }
.dash-order-table { font-size: 11px; font-weight: 700; color: var(--txt); }
.dash-order-items { font-size: 10px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.dash-order-tag {
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 5px; white-space: nowrap;
}
.tag-new     { background: rgba(0,201,167,0.15);  color: #34D9BC; }
.tag-prep    { background: rgba(0,201,167,0.15);  color: #34D9BC; }
.tag-ready   { background: rgba(16,185,129,0.15);  color: #6EE7B7; }
.tag-done    { background: rgba(71,85,105,0.2);     color: var(--txt3); }

.dash-chart {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 12px 14px;
}
.dash-chart-row { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 8px; }
.dash-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(0,201,167,0.7), rgba(0,201,167,0.2));
  min-height: 8px;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: #0F1E1C; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  font-size: 12px; white-space: nowrap;
}
.float-card-icon { font-size: 18px; margin-bottom: 4px; }
.float-card-label { color: var(--txt3); font-size: 10px; margin-bottom: 2px; }
.float-card-value { font-size: 15px; font-weight: 800; color: var(--txt); }
.float-card-sub { font-size: 10px; font-weight: 600; }

.fc-1 { top: -24px; right: -20px; animation: float 5s ease-in-out 0s   infinite; }
.fc-2 { bottom: 40px; left: -28px; animation: float 5s ease-in-out 1.5s infinite; }
.fc-3 { bottom: -20px; right: 40px; animation: float 5s ease-in-out 0.8s infinite; }

/* ============================================================
   LOGOS / TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.trust-bar-label {
  text-align: center; font-size: 12px; font-weight: 600; color: var(--txt3);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px;
}
.trust-logos {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.trust-logo {
  padding: 8px 28px; font-size: 14px; font-weight: 700; color: var(--txt3);
  letter-spacing: 0.5px; border-right: 1px solid var(--border);
  transition: color 0.2s;
}
.trust-logo:last-child { border-right: none; }
.trust-logo:hover { color: var(--txt2); }

/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.section-header p { font-size: 17px; color: var(--txt2); max-width: 560px; margin: 0 auto; }

/* ============================================================
   FEATURES BENTO
   ============================================================ */
.features-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,201,167,0.08) 0%, transparent 70%),
    var(--bg);
}

.bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.bento-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}
.bento-card:hover {
  border-color: rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.04);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.bento-card.span-2  { grid-column: span 2; }
.bento-card.featured {
  background: linear-gradient(135deg, rgba(0,201,167,0.12) 0%, rgba(0,168,150,0.08) 100%);
  border-color: rgba(0,201,167,0.25);
}

.bento-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.bento-icon-ind { background: rgba(0,201,167,0.15); }
.bento-icon-vio { background: rgba(0,168,150,0.15); }
.bento-icon-cya { background: rgba(52,217,188,0.15);  }
.bento-icon-emr { background: rgba(16,185,129,0.15); }
.bento-icon-amb { background: rgba(0,201,167,0.15); }
.bento-icon-ros { background: rgba(244,63,94,0.15);  }

.bento-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--txt); }
.bento-desc  { font-size: 13.5px; color: var(--txt2); line-height: 1.65; }
.bento-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.bento-chip  {
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: var(--txt2);
}

/* ============================================================
   OUTLET TYPES
   ============================================================ */
.outlet-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.outlet-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all 0.3s; cursor: default; display: block;
  text-decoration: none;
}
.outlet-card:hover {
  border-color: rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.04);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.outlet-emoji { font-size: 36px; margin-bottom: 16px; }
.outlet-name  { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.outlet-desc  { font-size: 13px; color: var(--txt2); line-height: 1.6; margin-bottom: 16px; }
.outlet-link  { font-size: 12.5px; font-weight: 600; color: var(--indigo); display: flex; align-items: center; gap: 4px; }
.outlet-card:hover .outlet-link { gap: 8px; }
.outlet-link svg { transition: transform 0.2s; }
.outlet-card:hover .outlet-link svg { transform: translateX(4px); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, rgba(0,201,167,0.06) 0%, rgba(0,168,150,0.06) 100%);
  border-top: 1px solid rgba(0,201,167,0.15); border-bottom: 1px solid rgba(0,201,167,0.15);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  text-align: center; padding: 48px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 48px; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, #E2F8F4 0%, #00C9A7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; font-weight: 600; color: var(--txt2); }
.stat-sub   { font-size: 12px; color: var(--txt3); margin-top: 4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-bg {
  background: var(--bg2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s; display: flex; flex-direction: column;
}
.testi-card:hover { border-color: rgba(0,201,167,0.2); transform: translateY(-3px); }
.testi-stars { color: #00C9A7; font-size: 14px; margin-bottom: 16px; letter-spacing: 1px; }
.testi-text  { font-size: 14px; color: var(--txt2); line-height: 1.75; flex: 1; font-style: italic; margin-bottom: 20px; }
.testi-divider { height: 1px; background: var(--border); margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--txt); }
.testi-role { font-size: 12px; color: var(--txt3); margin-top: 1px; }
.testi-city { font-size: 11.5px; color: var(--indigo); font-weight: 600; margin-top: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 48px; gap: 0;
}
.pricing-toggle-inner {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 99px; padding: 4px;
}
.ptoggle-btn {
  padding: 8px 22px; border-radius: 99px;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  border: none; background: none; color: var(--txt3);
  transition: all 0.25s; position: relative;
}
.ptoggle-btn.active {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; box-shadow: 0 4px 14px rgba(0,201,167,0.35);
}
.ptoggle-save {
  font-size: 11px; font-weight: 700; color: var(--emerald);
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.2);
  padding: 2px 7px; border-radius: 4px; margin-left: 6px;
}

.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: start; }

.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px; position: relative;
  transition: all 0.3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  background: linear-gradient(160deg, rgba(0,201,167,0.12) 0%, rgba(0,168,150,0.08) 100%);
  border-color: rgba(0,201,167,0.4);
  box-shadow: 0 0 0 1px rgba(0,201,167,0.15), 0 24px 60px rgba(0,201,167,0.12);
}

.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0,201,167,0.4);
  white-space: nowrap;
}

.price-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.price-tagline { font-size: 12.5px; color: var(--txt3); margin-bottom: 20px; }

.price-amount {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 4px;
}
.price-currency { font-size: 22px; font-weight: 700; color: var(--txt); }
.price-num {
  font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -0.04em;
  color: var(--txt);
}
.price-period { font-size: 14px; color: var(--txt3); }

.price-billed { font-size: 11.5px; color: var(--txt3); margin-bottom: 24px; min-height: 16px; }
.price-billed .save { color: var(--emerald); font-weight: 600; }

.price-btn { display: block; text-align: center; width: 100%; margin-bottom: 24px; }

.price-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-feature  { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--txt2); }
.price-feature .check { color: var(--emerald); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.price-feature .cross { color: var(--txt3); font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.price-devices { font-size: 11.5px; color: var(--txt3); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 10px;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(0,201,167,0.35); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px;
  background: none; border: none; cursor: pointer; text-align: left;
}
.faq-q-text { font-size: 15px; font-weight: 600; color: var(--txt); }
.faq-arrow {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; font-size: 14px; color: var(--txt2);
}
.faq-item.open .faq-arrow { background: rgba(0,201,167,0.15); color: #34D9BC; transform: rotate(180deg); }
.faq-a {
  padding: 0 24px;
  font-size: 14px; color: var(--txt2); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,201,167,0.15) 0%, rgba(0,168,150,0.1) 50%, rgba(52,217,188,0.08) 100%);
  border-top: 1px solid rgba(0,201,167,0.2); border-bottom: 1px solid rgba(0,201,167,0.2);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner { position: relative; text-align: center; padding: 96px 24px; }
.cta-emoji  { font-size: 56px; margin-bottom: 24px; display: block; }
.cta-inner h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 18px; }
.cta-inner p  { font-size: 17px; color: var(--txt2); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 28px; }
.cta-fine { font-size: 13px; color: var(--txt3); }
.cta-fine span { color: var(--emerald); }

/* ── WhatsApp btn ─ */
.btn-whatsapp {
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.3);
  color: #4ADE80;
}
.btn-whatsapp:hover { background: rgba(37,211,102,0.22); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050E0D;
  border-top: 1px solid rgba(0,201,167,0.14);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 60px;
}
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.footer-brand-name { font-size: 20px; font-weight: 900; letter-spacing: -0.04em; }
.footer-brand-name span { color: #34D9BC; }
.footer-tagline { font-size: 13.5px; color: #7BA8A0; line-height: 1.65; margin-bottom: 20px; max-width: 260px; }
.footer-contact { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.footer-contact a { font-size: 13px; color: #7BA8A0; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.footer-contact a:hover { color: #00C9A7; }
/* Mobile menu - override bright filled button to outline style for readability */
.mobile-menu .btn-primary {
  background: transparent;
  border: 2px solid #00C9A7;
  color: #00C9A7;
  box-shadow: none;
}
.mobile-menu .btn-primary:hover {
  background: rgba(0,201,167,0.1);
  transform: none;
  box-shadow: none;
}

.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--txt3); transition: all 0.2s;
}
.footer-social:hover { background: rgba(0,201,167,0.12); border-color: rgba(0,201,167,0.25); color: #34D9BC; }

.footer-col h4 { font-size: 11px; font-weight: 700; color: #00C9A7; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: #7BA8A0; transition: color 0.2s; }
.footer-col a:hover { color: #E2F8F4; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12.5px; color: #4A7A74; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12.5px; color: #4A7A74; transition: color 0.2s; }
.footer-legal a:hover { color: #7BA8A0; }
.footer-made { font-size: 12.5px; color: #4A7A74; }
.footer-made span { color: #00C9A7; font-weight: 600; }

/* ============================================================
   INNER PAGE HERO (shared)
   ============================================================ */
.page-hero {
  padding: 150px 0 64px; text-align: center; position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,201,167,0.12) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.page-hero p  { font-size: 17px; color: var(--txt2); max-width: 560px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet (≤1024px) ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2,1fr); }
  .bento-card.span-2 { grid-column: span 1; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .container { padding: 0 20px; }

  /* Collapse 3- and 4-col inline grids to 2 */
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}

/* ── Mobile (≤768px) ───────────────────────────────────────── */
@media (max-width: 768px) {
  /* ── Global ── */
  .container  { padding: 0 16px; }
  .section    { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
  h2 { font-size: clamp(22px, 5.5vw, 32px); }
  h3 { font-size: clamp(17px, 4vw, 22px); }

  /* ── Navbar ── */
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 16px; }

  /* ── Hero (index) ── */
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual  { display: none; }
  .hero-title   { font-size: clamp(30px, 8vw, 44px); }
  .hero-desc    { font-size: 15px; }
  .hero-btns    { flex-direction: column; gap: 10px; }
  .hero-btns .btn { justify-content: center; width: 100%; }
  .hero-social-proof { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ── Stats ── */
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .stat-item    { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 16px; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* ── Trust logos ── */
  .trust-logos { gap: 0; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .trust-logo  { padding: 6px 12px; font-size: 11px; flex-shrink: 0; }

  /* ── Outlet grid ── */
  .outlet-grid  { grid-template-columns: repeat(2,1fr); gap: 12px; }

  /* ── Bento ── */
  .bento { grid-template-columns: 1fr; }
  .bento-card { padding: 20px; }

  /* ── Testimonials ── */
  .testi-grid { grid-template-columns: 1fr; }

  /* ── Pricing ── */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card.featured { transform: none; }

  /* ── FAQ ── */
  .faq-q { font-size: 14px; padding: 14px 16px; }
  .faq-a { font-size: 13px; padding: 0 16px 14px; }

  /* ── CTA section ── */
  .cta-btns { flex-direction: column; align-items: center; gap: 10px; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > *:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal  { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* ── Page hero (inner pages) ── */
  .page-hero { padding: 80px 0 40px; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .page-hero p  { font-size: 15px; }

  /* ────────────────────────────────────────────────────────────
     INLINE GRID OVERRIDES — covers all inner pages that use
     inline style="display:grid;grid-template-columns:..."
     ────────────────────────────────────────────────────────── */

  /* 2-column inline grids → 1 column */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:3fr 2fr"],
  [style*="grid-template-columns: 3fr 2fr"],
  [style*="grid-template-columns:2fr 3fr"],
  [style*="grid-template-columns: 2fr 3fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* 3- and 4-column inline grids → 1 column */
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Inline gap overrides — prevent huge gaps on mobile */
  [style*="gap:72px"],  [style*="gap: 72px"]  { gap: 28px !important; }
  [style*="gap:64px"],  [style*="gap: 64px"]  { gap: 24px !important; }
  [style*="gap:48px"],  [style*="gap: 48px"]  { gap: 20px !important; }

  /* Inline padding overrides */
  [style*="padding:80px"], [style*="padding: 80px"] { padding: 40px 16px !important; }
  [style*="padding:64px"], [style*="padding: 64px"] { padding: 32px 16px !important; }

  /* Inline font-size overrides — shrink oversized headings */
  [style*="font-size:3rem"],  [style*="font-size: 3rem"]  { font-size: 1.8rem !important; }
  [style*="font-size:2.5rem"],[style*="font-size: 2.5rem"] { font-size: 1.6rem !important; }
  [style*="font-size:2rem"],  [style*="font-size: 2rem"]  { font-size: 1.4rem !important; }
  [style*="font-size:48px"],  [style*="font-size: 48px"]  { font-size: 28px !important; }
  [style*="font-size:42px"],  [style*="font-size: 42px"]  { font-size: 26px !important; }
  [style*="font-size:36px"],  [style*="font-size: 36px"]  { font-size: 24px !important; }

  /* Inline min-height overrides — prevent huge blank sections */
  [style*="min-height:100vh"], [style*="min-height: 100vh"] { min-height: auto !important; padding-top: 80px !important; padding-bottom: 40px !important; }

  /* Tables — allow horizontal scroll */
  table { font-size: 13px; }
  .table-wrap, table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Buttons — full width on mobile when inside flex column */
  .btn-row { flex-direction: column; gap: 10px; }
  .btn-row .btn { width: 100%; justify-content: center; }

  /* Images — don't overflow */
  img { max-width: 100%; height: auto; }

  /* Changelog / timeline */
  .changelog-entry { padding: 20px 16px; }
  .timeline-line   { display: none; }
}

/* ── Small mobile (≤480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section    { padding: 44px 0; }

  /* Outlet grid → 1 col */
  .outlet-grid { grid-template-columns: 1fr; }

  /* Stats → 2 col */
  .stats-grid  { grid-template-columns: 1fr 1fr; }

  /* Footer → 1 col */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > *:first-child { grid-column: span 1; }

  /* Hero */
  .hero-title  { font-size: 28px; line-height: 1.2; }

  /* Buttons */
  .hero-btns .btn, .cta-btns .btn { font-size: 13px; padding: 11px 18px; }

  /* Pricing card */
  .price-card { padding: 20px 16px; }

  /* Bento cards */
  .bento-card { padding: 16px; }

  /* All 2-col inline grids that survived 768 → keep 1 col */
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  /* Announcement bar */
  .nav-announce { font-size: 11px; white-space: normal; text-align: center; padding: 6px 12px; }

  /* Page hero */
  .page-hero h1 { font-size: 24px; }
  .page-hero p  { font-size: 14px; }

  /* Section headings */
  .section-title, .section h2 { font-size: 22px; }

  /* Blog post */
  .blog-card { padding: 16px; }

  /* Inline grid final override */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
