/* ============================================================
   MosVPN – Minimal Clean Dark
   ============================================================ */

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

:root {
  --bg:         #F5F5F7;
  --surface:    #FFFFFF;
  --border:     #E5E7EB;
  --border-mid: #D1D5DB;
  --text:       #111827;
  --muted:      #6B7280;
  --subtle:     #9CA3AF;
  --accent:     #D41835;
  --accent-dim: rgba(212,24,53,0.10);
  --red:        #D41835;
  --radius:     6px;
  --t:          0.18s ease;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1rem; font-weight: 600; }

.accent { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: #24f078; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-mid);
}
.btn-secondary:hover { border-color: var(--text); }

.btn-sm { padding: 8px 18px; font-size: 0.83rem; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,245,247,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
#navbar.scrolled {
  background: rgba(245,245,247,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  border: 2px solid rgba(212,24,53,0.25);
  object-fit: cover;
}
.logo-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-right: auto;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; gap: 8px; }

.hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: var(--t);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 28px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .mob-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-nav .btn { flex: 1; justify-content: center; }

/* ── Language Switcher ── */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--t), background var(--t);
  white-space: nowrap;
  line-height: 1;
}
.lang-btn:hover { border-color: var(--border-mid); }
.lang-flag { font-size: 1rem; }
.lang-label { letter-spacing: 0.03em; }
.lang-chevron {
  width: 11px; height: 11px;
  opacity: 0.45;
  transition: transform var(--t);
  flex-shrink: 0;
}
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(0,0,0,.4);
  padding: 4px;
  min-width: 156px;
  display: none;
  z-index: 300;
  animation: fadeSlideUp 0.18s ease;
}
.lang-switcher.open .lang-dropdown { display: block; }

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--t), color var(--t);
  text-align: left;
}
.lang-opt:hover { background: rgba(255,255,255,.06); color: var(--text); }
.lang-opt.active { color: var(--accent); font-weight: 600; }

/* Crisp SVG flag icons (replaces emoji) */
.lang-flag-display,
.lang-opt-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  vertical-align: middle;
}
.lang-flag-display { width: 18px; height: 13px; }

/* Mobile lang switcher */
.mobile-nav .lang-switcher { margin-top: 8px; }
.mobile-nav .lang-btn { width: 100%; justify-content: center; padding: 10px 14px; }
.mobile-nav .lang-dropdown { right: auto; left: 0; width: 100%; }

/* ── KEYFRAMES ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.5deg); }
  66%       { transform: translateY(-5px) rotate(-0.3deg); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes beamSweep {
  0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  30%  { opacity: 0.4; }
  100% { transform: translateX(400%) skewX(-15deg); opacity: 0; }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.6; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow blobs */
#hero::before,
#hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#hero::before {
  width: 600px; height: 600px;
  top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(212,24,53,0.07) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}
#hero::after {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(212,24,53,0.05) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-left {}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration img {
  width: 100%;
  max-width: 460px;
  height: auto;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(212,24,53,0.12));
}

/* Hero entrance stagger */
.hero-label   { animation: fadeSlideUp 0.65s 0.05s both ease; }
#hero h1      { animation: fadeSlideUp 0.7s  0.15s both ease; }
#hero .lead   { animation: fadeSlideUp 0.7s  0.28s both ease; }
.hero-actions { animation: fadeSlideUp 0.7s  0.4s  both ease; }
.hero-meta    { animation: fadeSlideUp 0.7s  0.55s both ease; }
.hero-illustration { animation: fadeIn 0.9s 0.2s both ease; }

/* Accent dot on hero-label pulses */
.hero-label::before {
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

#hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  max-width: 700px;
  margin-bottom: 24px;
}

#hero h1 em {
  font-style: normal;
  color: var(--accent);
}

#hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-meta-item strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-meta-item span  { font-size: 0.75rem; color: var(--muted); }

.hero-meta-sep { width: 1px; height: 36px; background: var(--border); }

/* ── TECH STRIP ── */
#tech-strip {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.tech-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tech-strip-inner::-webkit-scrollbar { display: none; }

.tech-pill {
  flex-shrink: 0;
  padding: 8px 20px;
  border-right: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}
.tech-pill:first-child { border-left: 1px solid var(--border); }
.tech-pill strong { color: var(--text); font-weight: 600; }

/* ── SECTION GENERIC ── */
section { position: relative; }

/* ── FEATURES ── */
#features {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.features-left h2 { margin-bottom: 16px; }
.features-left p  { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 380px; }

.features-right { display: flex; flex-direction: column; gap: 0; }

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:first-child { border-top: 1px solid var(--border); }

.feat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  opacity: 1;
}

.feature-body h3 { margin-bottom: 5px; font-size: 0.95rem; }
.feature-body p  { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── ABOUT / XRAY ── */
#about {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-left h2 { margin-bottom: 16px; }
.about-left p  { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 12px; }

.proto-table {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.proto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.proto-row:last-child { border-bottom: none; }
.proto-row:hover { background: var(--surface); }

.proto-name { color: var(--muted); }

.proto-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.proto-tag.active  { background: var(--accent-dim); color: var(--accent); }
.proto-tag.standby { background: rgba(115,115,115,0.15); color: var(--muted); }

.about-right {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.xray-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.xray-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid rgba(212,24,53,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.xray-title { font-size: 1rem; font-weight: 700; }
.xray-sub   { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--muted);
  align-items: flex-start;
}
.checklist li::before {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: url('/images/icons/check.svg') center / contain no-repeat;
  content: '';
  flex-shrink: 0;
}

/* ── PRICING ── */
#pricing {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pricing-header h2 { margin: 0; }
.pricing-header p  { color: var(--muted); font-size: 0.9rem; max-width: 300px; text-align: right; }

/* ── Competitor strip ── */
.comp-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  height: 52px;
}

.comp-strip-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 0 20px 0 24px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.comp-strip-cta {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0 24px 0 20px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
}
.comp-strip-cta strong {
  color: var(--accent);
  font-weight: 700;
}

.comp-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.comp-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  height: 100%;
  animation: comp-scroll 28s linear infinite;
}
.comp-track:hover { animation-play-state: paused; }

@keyframes comp-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.comp-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 28px;
  border-right: 1px solid var(--border);
  height: 100%;
  white-space: nowrap;
}

.comp-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  flex-shrink: 0;
  overflow: hidden;
}
.comp-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.comp-name {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.comp-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--subtle);
}
.comp-mo {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--subtle);
  margin-left: 1px;
}

.period-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  margin: 0 auto 40px;
}
.period-btn {
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: background var(--t), color var(--t);
  white-space: nowrap;
}
.period-btn:last-child { border-right: none; }
.period-btn:hover  { background: var(--surface); color: var(--text); }
.period-btn.active { background: var(--accent); color: #000; }

/* New pricing header */
.pricing-header-new {
  text-align: center;
  margin-bottom: 40px;
}
.pricing-header-new h2 { margin: 8px 0 12px; }
.pricing-header-new p  { color: var(--muted); font-size: 0.9rem; max-width: 500px; margin: 0 auto; }

/* Discount badge in tabs */
.disc-badge {
  display: inline-block;
  background: rgba(212,24,53,0.18);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.period-btn.active .disc-badge {
  background: rgba(0,0,0,0.18);
  color: #000;
}

/* Plan cards grid */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--t), transform 0.2s ease;
}
.plan-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.plan-card.plan-popular {
  border-color: var(--accent);
  background: rgba(212,24,53,0.04);
}

.plan-popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 3px;
}

.plan-name {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.4;
}

.plan-price-area { margin-bottom: 20px; }

.plan-price-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}
.plan-amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.plan-unit {
  font-size: 0.78rem;
  color: var(--muted);
}

.plan-pay-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.plan-pay-label strong { color: var(--text); }

.plan-vat-note {
  font-size: 0.72rem;
  color: var(--subtle);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.plan-vat-note::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

.plan-orig {
  font-size: 0.78rem;
  color: var(--subtle);
  text-decoration: line-through;
  margin-bottom: 6px;
}

.plan-save-badge {
  display: inline-block;
  background: rgba(212,24,53,0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
}

.plan-device-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 16px;
}
.plan-device-count {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.plan-device-label {
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 2px;
}

.plan-perks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.plan-perks li {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.plan-perks li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 13px;
  height: 13px;
  background: url('/images/icons/check.svg') center / contain no-repeat;
  content: '';
}

.plan-card .btn { width: 100%; justify-content: center; margin-top: auto; }

.pricing-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.check-yes { color: var(--accent); font-weight: 700; }
.check-no  { color: var(--subtle); }

/* ── FAQ ── */
#faq {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-left h2 { margin-bottom: 12px; }
.faq-left p  { color: var(--muted); font-size: 0.9rem; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow var(--t), border-color var(--t);
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
  border-color: var(--border-mid);
}
.faq-item.open {
  border-color: rgba(212,24,53,0.25);
  box-shadow: 0 4px 16px rgba(212,24,53,0.08);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  gap: 20px;
}

.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  border: 1.5px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--t), border-color var(--t), background var(--t), color var(--t);
}
.faq-icon::before,
.faq-icon::after {
  position: absolute;
  width: 9px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  content: '';
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { max-height: 300px; }

[data-i18n="plan.buy"]::after,
.read-more::after {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: currentColor;
  content: '';
  -webkit-mask: url('/images/icons/arrow-right.svg') center / contain no-repeat;
  mask: url('/images/icons/arrow-right.svg') center / contain no-repeat;
}

[data-i18n="plan.buy"],
.read-more {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

/* ── COMMUNITY ── */
#community {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.community-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.comm-left h2 { margin-bottom: 12px; }
.comm-left p  { color: var(--muted); font-size: 0.9rem; }

.comm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comm-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--bg);
  transition: background var(--t);
  text-decoration: none;
  color: inherit;
}
.comm-card:hover { background: var(--surface); }

.comm-platform { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 2px; }
.comm-label    { font-size: 0.85rem; color: var(--muted); }

.comm-icon-box {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: var(--surface);
}

/* ── SUPPORT ── */
#support {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.support-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.supp-left h2 { margin-bottom: 12px; }
.supp-left p  { color: var(--muted); font-size: 0.9rem; }

.contact-list { display: flex; flex-direction: column; gap: 0; }

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}
.contact-row:first-child { border-top: 1px solid var(--border); }

.contact-info .name { font-weight: 600; font-size: 0.95rem; margin-bottom: 3px; }
.contact-info .role { font-size: 0.8rem; color: var(--muted); }

.contact-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.contact-phone:hover { text-decoration: underline; }

/* ── CTA ── */
#cta-section {
  padding: 96px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  flex-wrap: wrap;
}

.cta-inner h2 { margin-bottom: 10px; }
.cta-inner p  { color: var(--muted); font-size: 0.95rem; }
.cta-actions  { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* ── FOOTER ── */
#footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 240px; }

.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.f-social {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: border-color var(--t), color var(--t);
}
.f-social:hover { border-color: var(--text); color: var(--text); }

.footer-col :is(h2, h4) { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 0.875rem; color: var(--muted); transition: color var(--t); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── ICON HELPERS ── */
.comm-icon-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.f-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.step-btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── FLOATING CHAT ── */
.float-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

@keyframes hintBounce {
  0%, 100% { transform: translateX(0); }
  40%       { transform: translateX(-6px); }
  60%       { transform: translateX(-3px); }
}
@keyframes hintAppear {
  from { opacity: 0; transform: translateX(12px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.float-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  animation: hintAppear 0.5s 1.8s both ease, hintBounce 1.2s 2.5s ease-in-out 3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  cursor: default;
}
.float-hint svg {
  color: var(--accent);
  flex-shrink: 0;
  animation: hintBounce 1.2s 2.5s ease-in-out 3;
}
.float-hint.hide {
  opacity: 0;
  transform: translateX(8px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.float-chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212,24,53,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  flex-shrink: 0;
}
.float-chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(212,24,53,0.45);
}
.float-chat-toggle svg {
  width: 22px;
  height: 22px;
}

.float-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.float-menu {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  width: 260px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  animation: floatIn 0.2s ease;
}
.float-menu.open { display: flex; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.float-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.float-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 4px;
  transition: color var(--t);
}
.float-close:hover { color: var(--text); }

.float-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.float-item:last-child { border-bottom: none; }
.float-item:hover { background: rgba(0,0,0,0.02); }

.float-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-item-icon img { width: 18px; height: 18px; }

.float-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.float-item-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Staggered pricing cards */
.pricing-cards.visible .plan-card:nth-child(1) { transition-delay: 0s; }
.pricing-cards.visible .plan-card:nth-child(2) { transition-delay: 0.08s; }
.pricing-cards.visible .plan-card:nth-child(3) { transition-delay: 0.16s; }
.pricing-cards.visible .plan-card:nth-child(4) { transition-delay: 0.24s; }
.plan-card { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--t), box-shadow 0.3s ease; }
.pricing-cards.visible .plan-card { opacity: 1; transform: none; }

/* Shine sweep on btn-primary */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15), transparent);
  transform: translateX(-150%) skewX(-15deg);
  animation: beamSweep 3.5s ease-in-out 1.5s infinite;
}

/* Glow on popular plan */
.plan-card.plan-popular {
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(212,24,53,0.12);
}
.plan-card.plan-popular:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(212,24,53,0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-illustration { display: none; }
  #hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    align-items: stretch;
  }
  #hero .container {
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 60px;
  }
  #hero h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .hero-meta-sep { display: none; }
  .hero-meta-item strong { font-size: 1.25rem; }
}

@media (max-width: 900px) {
  .features-layout,
  .about-layout { grid-template-columns: 1fr; gap: 48px; }

  .faq-layout,
  .community-layout,
  .support-layout { grid-template-columns: 1fr; gap: 36px; }

  .pricing-cards { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .cta-inner { padding: 36px; }
}

@media (max-width: 600px) {
  #hero .container { padding-top: 72px; padding-bottom: 48px; }
  #hero .lead { font-size: 0.95rem; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .comm-grid  { grid-template-columns: 1fr; }
  .period-tabs { flex-wrap: wrap; }
  .pricing-cards { grid-template-columns: 1fr; }
  .cta-inner  { padding: 28px; }
}

/* ═══════════════════════════════════════════════
   REVIEWS / TESTIMONIALS SECTION
   ═══════════════════════════════════════════════ */
#reviews {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
#reviews .section-header {
  text-align: center;
  margin-bottom: 48px;
}
#reviews .section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
#reviews .section-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--t), transform 0.2s ease;
}
.review-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
  margin: 0;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.review-role {
  font-size: 0.75rem;
  color: var(--subtle);
  margin-top: 2px;
}

@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   FLOAT POPUP: REDESIGN
   ═══════════════════════════════════════════════ */

/* wider menu */
.float-menu { width: 300px; }

.float-menu-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.float-menu-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}
.float-menu-notice {
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(212,24,53,0.07);
  border-bottom: 1px solid var(--border);
  padding: 7px 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.float-item-body {
  flex: 1;
  min-width: 0;
}
.float-item-arrow {
  color: var(--muted);
  flex-shrink: 0;
  opacity: 0.5;
}
.float-item:hover .float-item-arrow {
  opacity: 1;
  color: var(--text);
}
.float-divider {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  padding: 8px 16px 6px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.01);
}

/* ══════════════════════════════════════════════════════
   SUPPORT POPUP MODAL  (sp- prefix)
══════════════════════════════════════════════════════ */

/* Overlay nền mờ */
.sp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sp-overlay.sp-visible {
  opacity: 1;
  pointer-events: all;
}

/* Modal slide-up từ bottom */
.sp-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: 0 auto;
  background: var(--surface, #FFFFFF);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--border, rgba(0,0,0,0.05));
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.32,0.72,0,1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}
.sp-modal.sp-visible {
  transform: translateY(0);
}

/* Handle bar trên cùng */
.sp-modal::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,0.09);
  margin: 10px auto 0;
}

/* Header */
.sp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
}
.sp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text, #f1f5f9);
}
.sp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent, #D41835);
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}
.sp-close {
  background: rgba(0,0,0,0.04);
  border: none;
  color: var(--muted, #94a3b8);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.sp-close:hover {
  background: rgba(0,0,0,0.08);
  color: var(--text, #f1f5f9);
}

/* Notice */
.sp-notice {
  font-size: 0.73rem;
  color: var(--accent, #D41835);
  background: rgba(212,24,53,0.07);
  border-top: 1px solid rgba(212,24,53,0.12);
  border-bottom: 1px solid rgba(212,24,53,0.12);
  padding: 7px 20px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Items container */
.sp-items {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Mỗi item liên hệ */
.sp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text, #f1f5f9);
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  transition: background 0.2s, border-color 0.2s;
}
.sp-item:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.07);
}

/* Icon box */
.sp-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.sp-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Info text */
.sp-info {
  flex: 1;
  min-width: 0;
}
.sp-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text, #f1f5f9);
  line-height: 1.2;
}
.sp-sub {
  font-size: 0.72rem;
  color: var(--muted, #94a3b8);
  margin-top: 2px;
}

/* Arrow icon */
.sp-arrow {
  color: var(--muted, #94a3b8);
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.sp-item:hover .sp-arrow {
  opacity: 1;
}

/* Divider "Gọi trực tiếp" */
.sp-divider {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle, #64748b);
  padding: 6px 4px 4px;
  margin-top: 4px;
}

/* Float button redesign */
.float-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.float-chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent, #D41835);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212,24,53,0.45);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(212,24,53,0.55);
}
.float-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg, #FFFFFF);
}
.float-hint {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, rgba(0,0,0,0.05));
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--text, #f1f5f9);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  white-space: nowrap;
  animation: hint-in 0.4s ease both;
  transition: opacity 0.3s ease;
}
.float-hint.hide {
  opacity: 0;
}
@keyframes hint-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Welcome popup content ── */
.sp-welcome {
  text-align: center;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--border, rgba(0,0,0,0.04));
}
.sp-welcome-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}
.sp-welcome-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #f1f5f9);
  line-height: 1.45;
  margin: 0 0 6px;
}
.sp-welcome-title strong { color: var(--accent, #D41835); }
.sp-welcome-sub {
  font-size: 0.78rem;
  color: var(--muted, #94a3b8);
  margin: 0;
  line-height: 1.5;
}

/* ── Hotline rows ── */
.sp-hotlines {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-hotline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  transition: background 0.2s;
}
.sp-hotline-item:hover { background: rgba(0,0,0,0.05); }
.sp-flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.sp-hotline-info { flex: 1; min-width: 0; }
.sp-hotline-num {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text, #f1f5f9);
}
.sp-hotline-label {
  font-size: 0.7rem;
  color: var(--muted, #94a3b8);
  margin-top: 1px;
}
.sp-hotline-item svg { color: var(--muted); opacity: 0.5; }

/* ── Channel buttons (Telegram / Zalo) ── */
.sp-channels-row {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
}
.sp-chan {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text, #f1f5f9);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.05);
  transition: background 0.2s;
}
.sp-chan:hover { background: rgba(0,0,0,0.06); }
.sp-chan img { width: 18px; height: 18px; object-fit: contain; }

/* ── Dismiss button ── */
.sp-dismiss {
  display: block;
  width: calc(100% - 24px);
  margin: 0 12px 14px;
  padding: 12px;
  background: var(--accent, #D41835);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.sp-dismiss:hover { opacity: 0.88; }

/* ══════════════════════════════════════════════════════
   LIGHT THEME overrides
══════════════════════════════════════════════════════ */

/* Nav & Footer on light bg */
#navbar .mobile-nav {
  background: rgba(245,245,247,0.92) !important;
  border-bottom-color: var(--border) !important;
}
footer {
  background: #111827 !important;
  color: #9CA3AF !important;
}
footer a { color: #9CA3AF !important; }
footer a:hover { color: #fff !important; }
footer .footer-brand { color: #fff !important; }

/* Cards on light bg */
.feature-card, .pricing-card, .review-card,
.step-card, .server-card {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.pricing-card.featured {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 24px rgba(212,24,53,0.15) !important;
}

/* Hero label pill */
.hero-label {
  background: rgba(212,24,53,0.08);
  color: var(--accent);
  border: 1px solid rgba(212,24,53,0.2);
}

/* Tech strip */
#tech-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-pill { background: #F5F5F7; border-color: var(--border); color: var(--text); }

/* Buttons */
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #B01228; }
.btn-secondary { border-color: var(--border-mid); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Accent dot in popup/float */
.sp-dot { background: var(--accent) !important; }

/* Float button */
.float-chat-toggle {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(212,24,53,0.4) !important;
}

/* ══════════════════════════════════════════════════════
   HERO PHONE MOCKUPS
══════════════════════════════════════════════════════ */
.hero-phones {
  position: relative;
  width: 420px;
  height: 540px;
  flex-shrink: 0;
}
.hero-phone {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
  border: 6px solid #fff;
}
.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-phone--back {
  width: 195px;
  height: 390px;
  top: 80px;
  left: 0;
  transform: rotate(-5deg);
  z-index: 1;
  opacity: 0.82;
}
.hero-phone--front {
  width: 215px;
  height: 430px;
  top: 20px;
  right: 0;
  z-index: 2;
  transform: rotate(3deg);
}

@media (max-width: 768px) {
  .hero-phones { display: none; }
}
