/* ═══════════════════════════════════════════
   TallyConnect.online — style.css
   ═══════════════════════════════════════════ */

/* ══ DARK THEME (default) ══ */
:root {
  --amber:   #FFB347;
  --navy:    #0A1628;
  --navy2:   #0F1F3D;

  /* Logo dot */
  --logo-green:      #1a8a4a;
  --logo-green-glow: #22c55e;

  /* Dark theme surfaces */
  --bg-primary:   #0A1628;
  --bg-secondary: #0F1F3D;
  --bg-card:      #111D35;
  --text-primary: #F8FAFF;
  --text-muted:   #8A9BBF;
  --border-color: #1E2F50;
  --input-bg:     #0A1628;
  --shadow-card:  0 4px 24px rgba(0,0,0,.3);
  --code-bg:      #111D35;
  --nav-bg:       rgba(10,22,40,.92);

  /* Accent — navy blue in dark mode */
  --accent:        #1E3A5F;
  --accent2:       #162d4a;
  --accent-soft:   rgba(30,58,95,.18);
  --accent-border: rgba(30,58,95,.5);
  --accent-text:   #7EB3FF;   /* readable blue tint on dark bg */
}

/* ══ LIGHT THEME ══ */
[data-theme="light"] {
  --bg-primary:   #EEF2FB;
  --bg-secondary: #DDE4F5;
  --bg-card:      #FFFFFF;
  --text-primary: #0A1628;
  --text-muted:   #3D5280;
  --border-color: #B0BFE0;
  --input-bg:     #1a3055;
  --shadow-card:  0 4px 24px rgba(10,22,40,.1);
  --code-bg:      #0F1F3D;
  --nav-bg:       rgba(238,242,251,.93);

  /* Accent — Bootstrap primary blue in light mode */
  --accent:        #0d6efd;
  --accent2:       #0b5ed7;
  --accent-soft:   rgba(13,110,253,.1);
  --accent-border: rgba(13,110,253,.35);
  --accent-text:   #0d6efd;
}

/* ════ LIGHT THEME SPECIFIC OVERRIDES ════ */
[data-theme="light"] body                          { color: var(--text-primary); }
[data-theme="light"] .text-accent                  { color: var(--accent) !important; }
[data-theme="light"] .section-eyebrow              { color: var(--accent); }
[data-theme="light"] .logo-dot                     { background: var(--logo-green); box-shadow: 0 0 10px var(--logo-green-glow); }
[data-theme="light"] .stat-num                     { color: var(--accent); }
[data-theme="light"] .feat-icon                    { background: rgba(13,110,253,.1); }
[data-theme="light"] .feat-icon svg                { color: var(--accent); }
[data-theme="light"] .uc-icon                      { background: rgba(13,110,253,.1); }
[data-theme="light"] .uc-icon svg                  { color: var(--accent); }
[data-theme="light"] .hero-badge                   { background: rgba(13,110,253,.1); border-color: rgba(13,110,253,.3); color: var(--accent); }
[data-theme="light"] .pulse-dot                    { background: var(--accent); }
[data-theme="light"] .plan-features li::before     { color: var(--accent); }
[data-theme="light"] .faq-item summary::after      { color: var(--accent); }
[data-theme="light"] .ai-insight                   { background: rgba(13,110,253,.1); border-color: rgba(13,110,253,.25); color: var(--accent); }
[data-theme="light"] .scan-line                    { background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 8px rgba(13,110,253,.4); }
[data-theme="light"] .sr-ok                        { background: rgba(13,110,253,.1); color: var(--accent); }
[data-theme="light"] .sv-center                    { border-color: var(--accent); background: radial-gradient(circle, rgba(13,110,253,.15), rgba(13,110,253,.02)); box-shadow: 0 0 28px rgba(13,110,253,.15); }
[data-theme="light"] .mini-bar                     { background: linear-gradient(180deg, var(--accent), rgba(13,110,253,.2)); }
[data-theme="light"] .hero-section::before         { background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(13,110,253,.06) 0%, transparent 70%); }
[data-theme="light"] .ai-glow                      { background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(13,110,253,.05) 0%, transparent 70%); }
[data-theme="light"] .billing-btn.active           { background: var(--accent); color: #fff; }
[data-theme="light"] .featured-badge               { background: var(--accent); color: #fff; }
[data-theme="light"] .btn-primary-accent           { background: var(--accent); color: #fff; }
[data-theme="light"] .btn-primary-accent:hover     { background: var(--accent2); color: #fff; }
[data-theme="light"] .btn-outline-custom           { border-color: var(--accent); color: var(--accent); }
[data-theme="light"] .btn-outline-custom:hover     { background: var(--accent); color: #fff; }
[data-theme="light"] .btn-outline-sm               { border-color: var(--accent); color: var(--accent); }
[data-theme="light"] .btn-outline-sm:hover         { background: var(--accent); color: #fff; }
[data-theme="light"] .feature-card:hover           { border-color: rgba(13,110,253,.4); }
[data-theme="light"] .uc-item:hover                { border-color: rgba(13,110,253,.35); }
[data-theme="light"] .trial-banner                 { background: linear-gradient(135deg,rgba(13,110,253,.1) 0%,rgba(255,179,71,.08) 100%); border-color: rgba(13,110,253,.3); }
[data-theme="light"] .trial-badge                  { background: var(--accent); color: #fff; }
[data-theme="light"] .trial-highlight              { background: rgba(13,110,253,.07); border-color: rgba(13,110,253,.3); }
[data-theme="light"] .trial-highlight strong       { color: var(--accent); }
[data-theme="light"] .cta-strip                    { background: linear-gradient(135deg,rgba(13,110,253,.08) 0%,rgba(13,110,253,.01) 100%); border-color: rgba(13,110,253,.2); }
[data-theme="light"] .price-card:hover             { border-color: rgba(13,110,253,.4); }
[data-theme="light"] .price-card.featured          { border-color: var(--accent); background: linear-gradient(160deg,rgba(13,110,253,.07) 0%,var(--bg-card) 60%); }
[data-theme="light"] .ws-info-bar                  { background: rgba(13,110,253,.07); border-color: rgba(13,110,253,.25); }
[data-theme="light"] .ws-info-bar svg              { color: var(--accent); }
[data-theme="light"] .billing-toggle               { background: var(--bg-card); }
[data-theme="light"] .faq-item:hover               { border-color: rgba(13,110,253,.3); }

/* Auth modal — dark in both themes */
[data-theme="light"] .modal-content               { background: #1a3055; border-color: #1e4080; color: #F8FAFF; }
[data-theme="light"] .modal-header                { border-color: #1e4080; }
[data-theme="light"] .modal-title                 { color: #F8FAFF; }
[data-theme="light"] .btn-close-custom            { color: rgba(255,255,255,.45); }
[data-theme="light"] .btn-close-custom:hover      { color: #fff; }
[data-theme="light"] .auth-tabs                   { border-color: #1e4080; }
[data-theme="light"] .auth-tab-btn                { color: rgba(255,255,255,.45); }
[data-theme="light"] .auth-tab-btn.active         { color: #fff; border-bottom-color: #0d6efd; }
[data-theme="light"] .auth-switch                 { color: rgba(255,255,255,.5); }
[data-theme="light"] .auth-switch a               { color: #7EB3FF; }
[data-theme="light"] .form-label-custom           { color: rgba(255,255,255,.55); }
[data-theme="light"] .form-control-custom         { background: #0f2545; border-color: #1e4080; color: #F8FAFF; }
[data-theme="light"] .form-control-custom::placeholder { color: rgba(255,255,255,.22); }
[data-theme="light"] .form-control-custom:focus   { border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,.25); }
[data-theme="light"] .btn-auth                    { background: #0d6efd; color: #fff; }
[data-theme="light"] .btn-auth:hover              { background: #0b5ed7; }
[data-theme="light"] #loginPanel p,
[data-theme="light"] #signupPanel p               { color: rgba(255,255,255,.5); }
[data-theme="light"] .modal-body > div:first-child { background: rgba(13,110,253,.12); border-color: rgba(13,110,253,.4); color: rgba(255,255,255,.7); }
[data-theme="light"] .modal-body > div:first-child strong { color: #7EB3FF; }
[data-theme="light"] a[href="/privacy.php"],
[data-theme="light"] a[href="/terms.php"]          { color: #7EB3FF; }

/* ════════════════════════════════
   BASE
   ════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
h1, h2, h3, h4, .font-display { font-family: 'Plus Jakarta Sans', sans-serif; }

.section-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-text);
  display: block; margin-bottom: 10px;
}
.text-accent, .text-teal { color: var(--accent-text) !important; }
.text-amber        { color: var(--amber) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

/* ════════════════════════════════
   THEME TOGGLE
   ════════════════════════════════ */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; flex-shrink: 0;
  box-shadow: var(--shadow-card);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-text); }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none; }

/* ════════════════════════════════
   LOGO DOT — dark green radiating pulse
   ════════════════════════════════ */
.logo-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--logo-green);
  display: inline-block; flex-shrink: 0; position: relative;
  animation: logo-pulse 2s ease-out infinite;
}
@keyframes logo-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,.75); }
  50%  { box-shadow: 0 0 0 7px rgba(34,197,94,.15); }
  100% { box-shadow: 0 0 0 13px rgba(34,197,94,0); }
}

/* ════════════════════════════════
   NAVBAR
   ════════════════════════════════ */
.navbar-custom {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background .3s, border-color .3s;
}
.navbar-custom .navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 1.15rem; color: var(--text-primary) !important;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.navbar-custom .nav-link {
  color: var(--text-muted) !important; font-size: .88rem; font-weight: 500;
  transition: color .2s; padding: 0 14px !important;
}
.navbar-custom .nav-link:hover { color: var(--text-primary) !important; }
.navbar-custom .navbar-toggler { border-color: var(--border-color); }
.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28138,155,191,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ════════════════════════════════
   BUTTONS
   ════════════════════════════════ */
/* Primary action button — navy bg in dark, Bootstrap blue in light */
.btn-primary-accent {
  background: #0A1628; color: #F8FAFF;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  padding: 10px 22px; border-radius: 9px; border: none;
  text-decoration: none; font-size: .92rem;
  transition: background .2s, transform .15s, box-shadow .15s;
  display: inline-block; cursor: pointer;
}
.btn-primary-accent:hover { background: #0F1F3D; color: #F8FAFF; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* Alias kept for existing HTML that still says btn-teal */
.btn-teal { background: #0A1628; color: #F8FAFF; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; padding: 10px 22px; border-radius: 9px; border: none; text-decoration: none; font-size: .92rem; transition: background .2s, transform .15s; display: inline-block; cursor: pointer; }
.btn-teal:hover { background: #0F1F3D; color: #F8FAFF; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

.btn-amber {
  background: var(--amber); color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
  padding: 14px 30px; border-radius: 10px; border: none;
  text-decoration: none; font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
  display: inline-block; cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,179,71,.3);
}
.btn-amber:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,179,71,.4); }

.btn-outline-custom {
  border: 1px solid var(--border-color); color: var(--text-primary);
  padding: 14px 30px; border-radius: 10px; text-decoration: none;
  font-size: 1rem; font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
  display: inline-block; cursor: pointer; background: transparent;
}
.btn-outline-custom:hover { border-color: var(--navy2); color: var(--text-primary); }

.btn-outline-sm {
  border: 1px solid var(--border-color); color: var(--text-muted);
  padding: 10px 22px; border-radius: 9px; text-decoration: none;
  font-size: .88rem; font-weight: 500;
  transition: border-color .2s, color .2s;
  display: inline-block; background: transparent; cursor: pointer;
}
.btn-outline-sm:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* ════════════════════════════════
   ANIMATIONS
   ════════════════════════════════ */
@keyframes dash-flow { to { stroke-dashoffset: -40; } }
@keyframes dot-travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; } 90% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes scan-line {
  0%   { top: 0;                opacity: 1; }
  90%  { top: calc(100% - 2px); opacity: 1; }
  100% { top: calc(100% - 2px); opacity: 0; }
}

/* ════════════════════════════════
   HERO BADGE + PULSE DOT
   ════════════════════════════════ */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--accent-text); font-size: .75rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
  letter-spacing: .05em; text-transform: uppercase;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--logo-green);
  animation: logo-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

/* ════════════════════════════════
   TRIAL BANNER
   ════════════════════════════════ */
.trial-banner {
  background: linear-gradient(135deg, rgba(30,58,95,.18) 0%, rgba(255,179,71,.08) 100%);
  border: 1px solid var(--accent-border); border-radius: 12px;
  padding: 14px 22px; display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 32px; max-width: 100%;
}
.trial-badge {
  background: #0A1628; color: #F8FAFF;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: .7rem; padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; flex-shrink: 0;
}
.trial-text { font-size: .88rem; color: var(--text-muted); }
.trial-text strong { color: var(--text-primary); }

/* ════════════════════════════════
   HERO SECTION
   ════════════════════════════════ */
.hero-section {
  padding: 110px 0 90px; position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(30,58,95,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ════════════════════════════════
   SYNC VISUAL
   ════════════════════════════════ */
.sync-visual {
  position: relative; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.sv-node {
  position: absolute; width: 90px; height: 90px; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; font-size: .68rem; font-weight: 600; color: var(--text-primary);
  border: 1px solid var(--border-color); background: var(--bg-card);
  backdrop-filter: blur(8px); transition: background .3s, border-color .3s;
}
.sv-node svg { width: 26px; height: 26px; }
.sv-tally  { left: 5%;  top: 50%; transform: translateY(-50%); }
.sv-cloud  { right: 5%; top: 50%; transform: translateY(-50%); }
.sv-agent  {
  top: 12%; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px;
  background: rgba(30,58,95,.2) !important;
  border-color: rgba(30,58,95,.5) !important;
  font-size: .63rem;
}
.sv-center {
  width: 62px; height: 62px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,58,95,.3), rgba(30,58,95,.05));
  border: 2px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 36px rgba(30,58,95,.3);
}
.sv-lines { position: absolute; inset: 0; pointer-events: none; }
.sv-lines svg { width: 100%; height: 100%; }
.data-dash { stroke-dasharray: 6 8; animation: dash-flow 1.8s linear infinite; }
.data-dot  { animation: dot-travel 1.8s linear infinite; }

/* ════════════════════════════════
   STATS BAR
   ════════════════════════════════ */
.stats-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0; transition: border-color .3s;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--accent-text); display: block; line-height: 1;
}
.stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }
.stat-divider { border-right: 1px solid var(--border-color); }

/* ════════════════════════════════
   STEP + FEATURE CARDS
   ════════════════════════════════ */
.step-card {
  background: #0A1628;
  border: none;
  border-radius: 16px; padding: 36px 28px; height: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
/* Subtle blue accent stripe at top */
.step-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #0d6efd;
}
/* Light theme: flip to Bootstrap blue bg */
[data-theme="light"] .step-card { background: #0d6efd; box-shadow: 0 8px 32px rgba(13,110,253,.3); }
[data-theme="light"] .step-card::before { background: rgba(255,255,255,.35); }
[data-theme="light"] .step-card:hover { box-shadow: 0 16px 40px rgba(13,110,253,.4); }
[data-theme="light"] .step-card h3 { color: #fff; }
[data-theme="light"] .step-card p  { color: rgba(255,255,255,.82); }

/* Number badge — white circle with coloured digit */
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: #0A1628;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
[data-theme="light"] .step-num { color: #0d6efd; box-shadow: 0 2px 12px rgba(0,0,0,.15); }

/* Text colours inside dark card */
.step-card h3 { color: #F8FAFF; }
.step-card p  { color: rgba(248,250,255,.72); }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 14px; padding: 28px; height: 100%;
  transition: border-color .2s, transform .2s, background .3s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}
.feature-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.feat-icon svg { width: 22px; height: 22px; color: var(--accent-text); }

/* ════════════════════════════════
   AI SECTION
   ════════════════════════════════ */
.ai-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(30,58,95,.12) 0%, transparent 70%);
}
.ai-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 16px; padding: 32px; height: 100%;
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
  transition: background .3s, border-color .3s;
}
.ai-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0A1628, var(--amber));
  opacity: 0; transition: opacity .2s;
}
.ai-card:hover::before { opacity: 1; }

.scan-widget {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 12px; overflow: hidden; position: relative;
  transition: background .3s;
}
.scan-widget-header {
  background: var(--bg-card); border-bottom: 1px solid var(--border-color);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
}
.scan-body { padding: 20px; position: relative; }
.scan-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  padding: 8px 12px; background: var(--bg-card); border-radius: 8px;
  border: 1px solid var(--border-color); font-size: .78rem; color: var(--text-muted);
}
.scan-row .sr-label { flex: 1; color: var(--text-primary); font-weight: 500; }
.sr-status { font-size: .68rem; padding: 2px 8px; border-radius: 100px; font-weight: 700; }
.sr-ok   { background: rgba(30,58,95,.18); color: var(--accent-text); }
.sr-warn { background: rgba(255,179,71,.18); color: var(--amber); }
.sr-err  { background: rgba(255,80,80,.15);  color: #FF5050; }
.scan-line {
  position: absolute; left: 20px; right: 20px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-text), transparent);
  animation: scan-line 2.4s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-border);
}
.ai-insight {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--accent-text); font-size: .72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
}
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; padding: 0 4px; }
.mini-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #1E3A5F, rgba(30,58,95,.25));
  transition: height .4s;
}
.mini-bar.amber { background: linear-gradient(180deg, var(--amber), rgba(255,179,71,.3)); }

/* ════════════════════════════════
   USE CASES
   ════════════════════════════════ */
.uc-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px;
  transition: border-color .2s, background .3s; margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.uc-item:hover { border-color: var(--accent-border); }
.uc-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.uc-icon svg { width: 18px; height: 18px; color: var(--accent-text); }

/* ════════════════════════════════
   CODE PANEL
   ════════════════════════════════ */
.code-panel { background: var(--code-bg); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; font-family: 'Courier New', monospace; }
.code-panel-header { background: rgba(0,0,0,.2); border-bottom: 1px solid var(--border-color); padding: 12px 20px; display: flex; gap: 8px; align-items: center; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-endpoint { color: #8A9BBF; font-size: .72rem; margin-left: 8px; font-family: 'Courier New', monospace; }
.code-body { padding: 24px; font-size: .78rem; line-height: 1.8; color: #8A9BBF; overflow-x: auto; }
.code-key { color: #56B6C2; }
.code-str { color: #98C379; }
.code-num { color: #D19A66; }

/* ════════════════════════════════
   PRICING
   ════════════════════════════════ */
.price-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px;
  padding: 36px 28px; display: flex; flex-direction: column; height: 100%;
  transition: border-color .2s, background .3s; box-shadow: var(--shadow-card);
}
.price-card:hover { border-color: var(--accent-border); }
.price-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, var(--accent-soft) 0%, var(--bg-card) 60%);
  position: relative;
}
.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #0A1628; color: #F8FAFF; font-size: .68rem; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; text-transform: uppercase;
  letter-spacing: .06em; white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif;
}
.plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px;
}
.plan-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.plan-price { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.plan-price sup { font-size: 1.1rem; vertical-align: super; }
.plan-price .freq { font-size: .9rem; color: var(--text-muted); font-weight: 400; }
.plan-features { list-style: none; padding: 0; flex: 1; }
.plan-features li {
  font-size: .86rem; color: var(--text-muted); padding: 7px 0;
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--accent-text); font-weight: 700; flex-shrink: 0; }

.trial-highlight {
  background: var(--accent-soft); border: 1px dashed var(--accent-border);
  border-radius: 8px; padding: 10px 14px; margin: 16px 0;
  font-size: .8rem; color: var(--text-muted); text-align: center;
}
.trial-highlight strong { color: var(--accent-text); }

/* Billing toggle */
.billing-toggle {
  display: inline-flex; background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 50px; padding: 4px; gap: 2px; margin-bottom: 48px;
}
.billing-btn {
  background: transparent; border: none; color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: .85rem;
  padding: 8px 20px; border-radius: 50px; cursor: pointer;
  transition: all .2s; position: relative;
}
.billing-btn.active { background: #0A1628; color: #F8FAFF; }
.billing-btn .discount-badge {
  position: absolute; top: -8px; right: -4px;
  background: var(--amber); color: var(--navy);
  font-size: .6rem; font-weight: 800; padding: 2px 5px;
  border-radius: 100px; line-height: 1;
}
.price-quarterly, .price-yearly { display: none; }

.ws-info-bar {
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  border-radius: 10px; padding: 12px 20px; font-size: .85rem;
  color: var(--text-muted); margin-bottom: 40px;
  display: flex; align-items: center; gap: 10px;
}
.ws-info-bar svg { color: var(--accent-text); flex-shrink: 0; }

/* ════════════════════════════════
   FAQ
   ════════════════════════════════ */
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 10px; margin-bottom: 6px; overflow: hidden;
  transition: background .3s; box-shadow: var(--shadow-card);
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: .92rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent-text); font-size: 1.4rem; font-weight: 300; flex-shrink: 0; }
details[open] > summary::after { content: '–'; }
.faq-answer { padding: 0 22px 18px; color: var(--text-muted); font-size: .87rem; line-height: 1.7; }

/* ════════════════════════════════
   CTA STRIP
   ════════════════════════════════ */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(0,0,0,0) 100%);
  border: 1px solid var(--accent-border); border-radius: 20px;
  padding: 64px 48px; text-align: center;
}

/* ════════════════════════════════
   AUTH MODAL
   ════════════════════════════════ */
.modal-content {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: 16px; color: var(--text-primary); transition: background .3s;
}
.modal-header { border-bottom: 1px solid var(--border-color); padding: 20px 28px; }
.modal-body   { padding: 28px; }
.modal-title  { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.3rem; }
.btn-close-custom { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.btn-close-custom:hover { color: var(--text-primary); }

.auth-tabs { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 24px; }
.auth-tab-btn {
  background: none; border: none; color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 10px 24px; border-bottom: 2px solid transparent;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.auth-tab-btn.active { color: var(--text-primary); border-bottom-color: #0A1628; }

.form-label-custom {
  font-size: .78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px;
  display: block; text-transform: uppercase; letter-spacing: .05em;
}
.form-control-custom {
  background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 9px;
  color: var(--text-primary); padding: 12px 16px; font-size: .9rem; width: 100%;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-control-custom:focus { border-color: #1E3A5F; box-shadow: 0 0 0 3px rgba(30,58,95,.2); }
.form-control-custom::placeholder { color: rgba(255,255,255,.22); }

.btn-auth {
  width: 100%; background: #0A1628; color: #F8FAFF;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 13px; border: none; border-radius: 10px; cursor: pointer;
  transition: background .2s, transform .15s; margin-top: 8px;
}
.btn-auth:hover { background: #0F1F3D; transform: translateY(-1px); }
.auth-switch { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: 20px; }
.auth-switch a { color: var(--accent-text); text-decoration: none; font-weight: 600; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }
.form-row { margin-bottom: 18px; }

/* ════════════════════════════════
   SECTION ALT BG + FOOTER
   ════════════════════════════════ */
.bg-section-alt { background: var(--bg-secondary); transition: background .3s; }
footer { border-top: 1px solid var(--border-color); padding: 48px 0 28px; background: var(--bg-primary); transition: background .3s; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 22px; margin-top: 36px; font-size: .78rem; color: var(--text-muted); }

/* ════════════════════════════════
   FLOAT BUTTONS — from evoicepad.com/hoa
   ════════════════════════════════ */
.float-btns { position: fixed; bottom: 28px; right: 24px; display: flex; flex-direction: column; gap: 14px; z-index: 9999; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.22); transition: transform 0.2s, box-shadow 0.2s; position: relative; text-decoration: none; }
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 22px rgba(0,0,0,0.28); }
.float-btn-wa   { background: #25d366; }
.float-btn-chat { background: #000; }
.float-tooltip { position: absolute; right: 62px; background: rgba(0,0,0,0.78); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; font-family: 'Inter', sans-serif; }
.float-btn:hover .float-tooltip { opacity: 1; }

/* ════════════════════════════════
   CHAT WIDGET — from evoicepad.com/hoa
   ════════════════════════════════ */
.chat-widget { position: fixed; bottom: 100px; right: 24px; width: 360px; height: 520px; background: #fff; border-radius: 18px; box-shadow: 0 8px 40px rgba(0,0,0,0.18); display: none; flex-direction: column; z-index: 9998; overflow: hidden; border: 1px solid #e8e6df; }
.chat-widget.open { display: flex; animation: chatPop 0.25s ease; }
@keyframes chatPop { from { opacity: 0; transform: scale(0.92) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.chat-header { background: #0A1628; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--logo-green); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.chat-header-name   { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; font-family: 'Plus Jakarta Sans', sans-serif; }
.chat-header-status { color: rgba(255,255,255,.55); font-size: 11px; }
.chat-close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.55); font-size: 20px; line-height: 1; padding: 4px; transition: color 0.2s; }
.chat-close:hover { color: #fff; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #f7f6f2; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; word-wrap: break-word; font-family: 'Inter', sans-serif; }
.chat-msg.bot  { background: #fff; color: #0A1628; border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.chat-msg.user { background: #0A1628; color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-typing { display: none; align-self: flex-start; background: #fff; padding: 10px 16px; border-radius: 14px; border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.07); }
.chat-typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #aaa; animation: typingDot 1.2s infinite; margin: 0 2px; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-input-wrap { padding: 12px 14px; border-top: 1px solid #e8e6df; display: flex; gap: 8px; background: #fff; flex-shrink: 0; }
.chat-input { flex: 1; border: 1.5px solid #d3d1c7; border-radius: 22px; padding: 9px 16px; font-size: 13.5px; font-family: 'Inter', sans-serif; outline: none; resize: none; max-height: 80px; transition: border-color 0.2s; color: #0A1628; }
.chat-input:focus { border-color: #0A1628; }
.chat-send { width: 38px; height: 38px; border-radius: 50%; background: #0A1628; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, transform 0.15s; margin-top: 1px; }
.chat-send:hover { background: #0F1F3D; transform: scale(1.08); }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section { padding: 80px 0 60px; }
  .sync-visual  { height: 260px; margin-bottom: 40px; }
  .stat-divider { border-right: none; }
  .cta-strip    { padding: 40px 24px; }
  .sv-tally     { left: 2%; }
  .sv-cloud     { right: 2%; }
}
@media (max-width: 480px) {
  .chat-widget { width: calc(100vw - 16px); right: 8px; bottom: 90px; height: 70vh; }
  .float-btns  { bottom: 20px; right: 16px; }
}
