/* Qingyunti VPN — style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --primary: #20C997;
  --primary-dark: #1CB487;
  --dark: #181C31;
  --header-bg: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #FFFFFF;       /* card surfaces — white per Section 6.5 */
  --pale-blue: #EDF5FF;     /* section-level pause backgrounds + badges */
  --surface-2: #E8FFF8;     /* icon tiles inside feature cards only */
  --dropdown-bg: #FFFFFF;   /* dropdown panel background */
  --hover-surface: #EDF5FF; /* nav hover, dropdown item hover */
  --text: #181C31;
  --text-muted: #757693;
  --green: #20C997;
  --red: #E03C31;
  --border: #EEEEEE;
  /* footer */
  --footer-bg: #FFFFFF;
  --footer-text: rgba(24,28,49,.65);
  --footer-heading: #181C31;
  --footer-link: rgba(24,28,49,.65);
  --footer-link-hover: #181C31;
  --footer-social: rgba(24,28,49,.35);
  --footer-divider: rgba(24,28,49,.1);
  /* radii, shadows, spacing */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 6px 90px rgba(8,14,40,.04), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 30px rgba(45,74,170,.06);
  --transition: 0.2s ease;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}

/* ─── DARK THEME ─── */
html.dark {
  --header-bg: #181C31;
  --bg: #181C31;
  --surface: #1C2136;
  --pale-blue: #1C2136;
  --surface-2: #1C2136;
  --dropdown-bg: #292E45;
  --hover-surface: #252A42;
  --text: #FFFFFF;
  --text-muted: #999AA1;
  --border: #2D2F40;
  --shadow-card: 0 6px 90px rgba(0,0,0,.2), 0 1px 3px rgba(0,0,0,.2);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.3);
  --footer-bg: #181C31;
  --footer-text: rgba(255,255,255,.65);
  --footer-heading: #FFFFFF;
  --footer-link: rgba(255,255,255,.65);
  --footer-link-hover: #FFFFFF;
  --footer-social: rgba(255,255,255,.4);
  --footer-divider: rgba(255,255,255,.1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.25; }

/* ─── HEADER ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(24,28,49,.06);
}
body { padding-top: 64px; }
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 var(--space-sm);
  height: 64px; gap: var(--space-sm);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 64px; width: 64px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  color: var(--text); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--primary); background: none; text-decoration: none; }
.nav-links > li > a.active { color: var(--primary); font-weight: 600; background: none; }

.nav-right {
  display: flex; align-items: center; gap: var(--space-sm);
  flex-shrink: 0; margin-left: auto;
}

/* mobile-only language row inside the menu; hidden on desktop */
.mobile-lang { display: none; }

/* ─── DROPDOWN / LANGUAGE SWITCHER ─── */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; right: 0;
  margin-top: 0; padding-top: 8px;
  display: none; min-width: 160px; z-index: 1000;
}
.dropdown-panel-inner {
  background: var(--dropdown-bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block; padding: 10px 16px;
  color: var(--text); font-size: 14px;
  transition: background var(--transition);
  white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--hover-surface); text-decoration: none; }

.lang-btn {
  background: none; border: none; padding: 0;
  cursor: pointer; display: flex; align-items: center;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}
.lang-btn:hover { opacity: .75; }
.lang-btn i { font-size: 11px; }

/* Image-only lang button */
.lang-btn-img { padding: 0; border: none; background: none; }
.lang-img { height: 27px; width: auto; display: block; }
/* Light theme: show lang2.png, hide lang.png */
.lang-img-dark  { display: none; }
.lang-img-light { display: block; }
/* Dark theme: show lang.png, hide lang2.png */
html.dark .lang-img-light { display: none; }
html.dark .lang-img-dark  { display: block; }

/* ─── CTA BUTTON ─── */
.btn-cta {
  background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: 9999px;
  font-size: 14px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; display: inline-block;
}
.btn-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }

.btn-cta-lg {
  background: var(--primary); color: #fff;
  padding: 16px 36px; border-radius: 9999px;
  font-size: 18px; font-weight: 700;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-lg:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  padding: 10px 20px; border-radius: 9999px;
  font-size: 14px; font-weight: 600; display: inline-block;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

.btn-secondary {
  border: 1.5px solid var(--border); color: var(--text);
  background: transparent; padding: 10px 20px; border-radius: 9999px;
  font-size: 14px; font-weight: 600; display: inline-block;
  transition: border-color var(--transition), color var(--transition);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-secondary-lg { padding: 16px 32px; font-size: 18px; font-weight: 700; }

/* Header login button — outlined, no fill */
.btn-login {
  border: 1.5px solid var(--border); color: var(--text);
  background: transparent; padding: 8px 16px; border-radius: 9999px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}
.btn-login:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-login .login-short { display: none; }

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 22px; padding: 6px;
  order: 99;
}

/* ─── HERO ─── */
.hero {
  background: var(--bg);
  color: var(--text);
  padding: var(--space-xl) var(--space-sm);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
/* Subtle mint accent in light mode; removed in dark so the whole hero is flat #181C31 */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(32,201,151,.06) 0%, transparent 60%);
  pointer-events: none;
}
html.dark .hero::before { display: none; }
html.dark .site-header { box-shadow: none; border-bottom-color: transparent; }

/* ── Two-column homepage hero ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-text { text-align: left; }
.hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image img { width: 500px; height: 350px; object-fit: contain; border-radius: var(--radius-lg); display: block; max-width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pale-blue); border: none;
  color: var(--primary); padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: var(--space-sm);
}
.hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: var(--space-sm); color: var(--text); line-height: 1.15; }
.hero-text > p { font-size: clamp(15px, 2vw, 17px); color: var(--text-muted); margin-bottom: var(--space-sm); max-width: 520px; }

/* Checklist */
.hero-checks { list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.hero-checks li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; padding: 5px 0; color: var(--text);
}
.hero-checks li::before { content: '\2713'; color: var(--primary); font-weight: 700; font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* Hero action row */
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: var(--space-sm); }

/* Platform row */
.hero-platforms {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-size: 13px; color: var(--text-muted); margin-top: 4px;
}
.hero-platforms .platform-label { font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.hero-platforms .platform-icons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-platforms i { font-size: 17px; color: var(--text-muted); }
.hero-platforms .platform-icons .routers-label { font-size: 13px; }

/* Kept for non-home pages that still use .hero-inner */
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }
.hero-cta { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ─── SERVICE LOGOS ─── */
.service-logos {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: var(--space-md) var(--space-sm);
}
.service-logos-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-sm);
}
.service-logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-lg); flex-wrap: wrap;
}
.service-logos-row i,
.service-logos-row .si-logo {
  font-size: 28px;
  color: var(--text-muted);
  opacity: 0.55;
  transition: opacity .2s;
}
.service-logos-row .si-logo {
  height: 28px; width: auto;
  fill: currentColor;
  display: inline-block; vertical-align: middle;
  flex-shrink: 0;
  overflow: visible;
}
.service-logos-row i:hover,
.service-logos-row .si-logo:hover { opacity: 0.85; }
.service-logos-caption {
  font-size: 13px; color: var(--text-muted); text-align: center;
  max-width: 900px; white-space: nowrap; line-height: 1.6;
}
@media (max-width: 768px) {
  .service-logos-caption { white-space: normal; max-width: 100%; }
  .service-logos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: var(--space-md);
  }
}

/* ─── HOME PRICING ─── */
.home-pricing { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.home-pricing .section-head { text-align: center; margin-bottom: var(--space-xl); }
.home-pricing .section-label { display: inline-block; background: none; color: var(--primary); font-size: clamp(22px,3vw,34px); font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 0; border-radius: 0; margin-bottom: 14px; }
.home-pricing .section-title { font-size: clamp(22px,3vw,34px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.home-pricing .section-sub { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1060px; margin: 0 auto; align-items: start; }

.hp-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hp-popular-badge {
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; white-space: nowrap;
}

.hp-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 20px;
  width: 100%;
}
.hp-card.featured {
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 4px 24px rgba(32,201,151,.12);
}
html.dark .hp-card.featured { box-shadow: 0 4px 24px rgba(32,201,151,.08); }

.hp-card-head { display: flex; flex-direction: column; gap: 6px; }
.hp-card-head h3 { font-size: 18px; font-weight: 800; color: var(--text); margin: 0; }
.hp-subtitle { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.hp-price { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; }
.hp-amount { font-size: 32px; font-weight: 800; color: var(--text); line-height: 1; }
.hp-period { font-size: 14px; color: var(--text-muted); }

.hp-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hp-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.hp-features li.hp-highlight { color: var(--text); font-weight: 600; }
.star-bullet {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.star-bullet i { font-size: 9px; color: #fff; }

.hp-cta {
  display: block; text-align: center; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; padding: 13px 20px;
  text-decoration: none; transition: opacity .18s, background .18s;
  border: 2px solid var(--primary); color: var(--primary); background: transparent;
}
.hp-cta:hover { opacity: .85; }
.hp-cta.filled { background: var(--primary); color: #fff !important; border-color: var(--primary); }
html.dark .hp-cta:not(.filled) { color: var(--primary); }

@media (max-width: 860px) {
  .hp-grid { grid-template-columns: 1fr; max-width: 420px; }
  .hp-wrap { width: 100%; }
}

/* ─── SECTIONS ─── */
.section { padding: var(--space-xl) var(--space-sm); }
.section-alt { background: var(--bg); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--primary); margin-bottom: var(--space-xs);
}
.section-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: var(--space-sm); color: var(--text); }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 600px; margin-bottom: var(--space-lg); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── FEATURE GRID ─── */
.features { padding: var(--space-xl) var(--space-sm); }
.section-head { text-align: center; margin-bottom: var(--space-lg); }
.section-head h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; margin-bottom: var(--space-sm); }
.section-head p { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.feature-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-card i {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: var(--space-sm); color: var(--primary);
  padding: 12px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── HOME FAQ (two-column) ─── */
.home-faq { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.hfq-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl); align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.hfq-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 327px; height: 49px;
  border: 1.5px solid var(--primary); color: var(--primary);
  background: var(--surface-2);
  font-size: 15px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 0 24px; border-radius: 9999px; margin-bottom: 16px;
  white-space: nowrap;
}
.hfq-subtitle { font-size: 16px; color: var(--text-muted); line-height: 1.65; margin: 0 0 20px; }
.hfq-checks {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.hfq-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); }
.hfq-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.hfq-check i { font-size: 10px; color: #fff; }
.hfq-btns { display: inline-flex; flex-direction: column; gap: 12px; }
.hfq-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hfq-btn-filled {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff;
  padding: 12px 24px; border-radius: 9999px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  text-decoration: none; transition: background var(--transition);
}
.hfq-btn-filled:hover { background: var(--primary-dark); text-decoration: none; }
.hfq-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary); color: var(--primary); background: transparent;
  padding: 12px 24px; border-radius: 9999px;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  text-decoration: none; transition: background var(--transition), color var(--transition);
}
.hfq-btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.hfq-btn-wide {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  border: 1.5px solid var(--border); color: var(--text); background: var(--surface);
  padding: 12px 24px; border-radius: 9999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; transition: border-color var(--transition), color var(--transition);
}
.hfq-btn-wide:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.hfq-right .faq-list { max-width: 100%; }
.hfq-right .faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}
.hfq-right .faq-item:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .hfq-grid { grid-template-columns: 1fr; }
  .hfq-btns { display: flex; align-items: center; width: 100%; }
  .hfq-btn-row { justify-content: center; }
}

/* ─── FAQ ─── */
.faq { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); margin-bottom: 8px; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px var(--space-md); font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text); border-radius: var(--radius-md);
}
.faq-q i { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 var(--space-md) var(--space-sm); font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── STANDOUT GRID ─── */
.standout-section { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.sg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.sg-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.sg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sg-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.sg-icon i { font-size: 20px; color: #fff; }
.sg-card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.sg-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .sg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sg-grid { grid-template-columns: 1fr; } }

/* ─── FEATURE SPLIT SECTIONS ─── */
.feat-section { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.feat-section.alt { background: var(--bg); }

.feat-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-xl); align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.feat-split.img-right { }
.feat-img { border-radius: var(--radius-lg); overflow: hidden; }
.feat-img img { width: 100%; height: auto; display: block; object-fit: contain; max-height: 380px; }

.feat-badge {
  display: inline-block;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 12px 32px; border-radius: 9999px; margin-bottom: var(--space-md);
  white-space: normal; line-height: 1.4;
  min-height: 44px; display: inline-flex; align-items: center;
}

.feat-text { max-width: 552px; }

.feat-nums { display: flex; flex-direction: column; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.feat-num-item { display: flex; gap: 20px; align-items: flex-start; }
.feat-num-circle {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--border); color: var(--text);
  font-size: 15px; font-weight: 800; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feat-num-body h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.feat-num-body p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0; }

.feat-cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--text);
  text-decoration: none; transition: color .18s;
}
.feat-cta-link:hover { color: var(--primary); }

@media (max-width: 768px) {
  .feat-split { grid-template-columns: 1fr; gap: var(--space-lg); }
  .feat-split.img-right .feat-img { order: -1; }
  .feat-img img { max-height: 240px; }
  .feat-badge { white-space: normal; font-size: 12px; padding: 10px 22px; min-height: unset; }
  .feat-text { max-width: 100%; }
  .feat-num-circle { width: 44px; height: 44px; font-size: 13px; }
  .feat-num-body h3 { font-size: 17px; }
  .feat-num-body p { font-size: 15px; }
  .feat-cta-link { font-size: 15px; }
}

/* ─── SPLIT ROW ─── */
.split-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg); align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 320px; object-fit: cover; }
.split-content .section-title { font-size: clamp(22px, 3vw, 34px); }
.check-list { margin: var(--space-sm) 0 var(--space-md); }
.check-list li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: '\2713'; color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ─── PRICING ─── */
.pricing-section { padding: var(--space-xl) var(--space-sm); }
.pricing-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  position: relative; transition: box-shadow var(--transition);
}
.pricing-card.popular {
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 0 0 4px rgba(32,201,151,.08);
}
.pricing-card:hover { box-shadow: var(--shadow-card); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 100px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: var(--space-xs); }
.pricing-price { font-size: 42px; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-sm); margin-top: 6px; }
.pricing-divider { height: 1px; background: var(--border); margin: var(--space-sm) 0; }
.pricing-features li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no::before { content: '\2715'; color: var(--border); }
.pricing-cta { width: 100%; padding: 13px; border-radius: 9999px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: var(--space-sm); display: block; text-align: center; transition: all var(--transition); background: var(--primary); color: #fff; border: none; text-decoration: none; }
.pricing-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.pricing-card.popular .pricing-cta { background: var(--primary); }

/* ─── IMAGE STRIP ─── */
.image-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm);
  max-width: 1100px; margin: 0 auto;
}
.image-strip-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.image-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── CONNECT SERVICES ─── */
.cs-section { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.cs-inner { max-width: 860px; margin: 0 auto; }
.cs-inner .section-title { margin-bottom: 16px; }
.cs-inner .section-sub { max-width: 700px; margin: 0 auto 40px; }
.cs-anim-wrap { display: flex; justify-content: center; }
.cs-anim { max-width: 900px; width: 100%; height: auto; display: block; border-radius: 16px; }
@media (max-width: 600px) {
  .cs-anim { border-radius: 10px; }
}

/* ─── SOCIAL PROOF ─── */
.sp-section { padding: var(--space-xl) var(--space-sm); background: var(--bg); }
.sp-panel {
  position: relative; overflow: hidden;
  max-width: 1100px; margin: 0 auto;
  background: linear-gradient(135deg, #dff0ff 0%, #edf8ff 55%, #f7fcff 100%);
  border-radius: 24px;
  min-height: 420px;
}
html.dark .sp-panel {
  background: linear-gradient(135deg, #1a2540 0%, #1c2440 60%, #1c2136 100%);
}
.sp-illo {
  position: absolute; bottom: 0; left: -10px;
  height: 400px; width: auto;
  pointer-events: none; user-select: none;
}
html.dark .sp-illo { opacity: 0.7; }
.sp-content {
  position: absolute; inset: 0 0 0 240px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 40px 56px;
}
.sp-heading {
  font-size: clamp(20px, 2.5vw, 30px); font-weight: 800;
  color: var(--text); margin: 0 0 14px; line-height: 1.25;
}
.sp-sub {
  font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0 0 36px;
}
.sp-stats { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.sp-stat { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.sp-num  { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--text); line-height: 1; }
.sp-label { font-size: 13px; color: var(--text-muted); max-width: 120px; line-height: 1.4; text-align: center; }
@media (max-width: 860px) {
  .sp-panel { min-height: 360px; border-radius: 16px; }
  .sp-illo {
    height: 300px; width: auto;
    bottom: 0; left: -20px;
    opacity: 0.18;
  }
  html.dark .sp-illo { opacity: 0.12; }
  .sp-content { inset: 0; padding: 40px 28px; }
  .sp-stats { gap: 24px; }
  .sp-doodle { display: none; }
}
@media (max-width: 600px) {
  .sp-panel {
    min-height: 0; overflow: visible;
    display: flex; flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg) var(--space-sm);
    gap: var(--space-md);
  }
  .sp-illo {
    display: none;
  }
  html.dark .sp-illo { opacity: 0.65; }
  .sp-content {
    position: static; inset: auto;
    padding: 0; order: 1;
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
  }
  .sp-stats { gap: 16px; justify-content: space-around; flex-wrap: wrap; }
  .sp-stat { min-width: 90px; }
}

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--bg);
  text-align: center;
  padding: var(--space-lg) var(--space-sm); border-radius: var(--radius-xl);
  margin: var(--space-lg) var(--space-sm);
}
html.dark .final-cta { background: var(--bg); }
.final-cta-banner { background: transparent; padding: 0; max-width: 1390px; margin-left: auto; margin-right: auto; }
html.dark .final-cta-banner { background: transparent; }
.banner-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.banner-img { width: 100%; height: auto; display: block; aspect-ratio: 1390/299; object-fit: cover; }
.banner-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 5% 0 5%;
  gap: 24px;
}
.banner-text { flex: 1; min-width: 0; max-width: 55%; }
.banner-h {
  font-size: clamp(15px, 2vw, 22px); font-weight: 800;
  color: #0d1b3e; margin: 0 0 8px; line-height: 1.25;
}
.banner-sub {
  font-size: clamp(11px, 1.2vw, 14px); color: #2a3a5c;
  line-height: 1.5; margin: 0;
}
.banner-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  background: #0d1b3e; color: #fff;
  font-size: clamp(13px, 1.3vw, 16px); font-weight: 700;
  padding: 12px 28px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.banner-btn:hover { background: #1a2e5a; }
@media (max-width: 1024px) {
  .banner-wrap { border-radius: 16px; }
  /* image becomes a true background — content drives the container height */
  .banner-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: right center;
  }
  .banner-overlay {
    position: relative; /* no longer inset:0 — height = content */
    flex-direction: column; align-items: center; justify-content: flex-start;
    text-align: center;
    padding: 40px 32px 44px;
    gap: 16px;
    background: rgba(220,235,255,0.92);
  }
  html.dark .banner-overlay { background: rgba(12,18,48,0.90); }
  html.dark .banner-h  { color: #e8f0ff; }
  html.dark .banner-sub { color: #b0c4e8; }
  .banner-text { max-width: 640px; }
  .banner-h   { font-size: clamp(18px, 3vw, 26px); color: #0d1b3e; }
  .banner-sub { font-size: clamp(13px, 1.6vw, 16px); color: #2a3a5c; }
  .banner-btn { font-size: clamp(14px, 1.8vw, 16px); padding: 13px 32px; flex-shrink: 0; }
}
@media (max-width: 700px) {
  .banner-wrap { border-radius: 12px; }
  .banner-overlay { padding: 28px 20px 32px; gap: 14px; }
  .banner-h   { font-size: clamp(16px, 4.5vw, 20px); }
  .banner-sub { font-size: 13px; }
  .banner-btn { font-size: 14px; padding: 12px 28px; }
}
.final-cta h2 { font-size: clamp(22px, 4vw, 36px); margin-bottom: var(--space-sm); color: var(--text); }
.final-cta p { font-size: 16px; color: var(--text-muted); margin-bottom: var(--space-md); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── PLATFORM ICONS ─── */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md); max-width: 860px; margin: 0 auto;
}
.platform-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.platform-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); text-decoration: none; }
.platform-card i { font-size: 40px; color: var(--primary); }
.platform-card > span { font-size: 15px; font-weight: 700; display: block; }
.platform-dl-btn {
  display: inline-block; margin-top: 6px;
  background: var(--primary); color: #fff !important;
  font-size: 13px; font-weight: 600; padding: 7px 20px; border-radius: 999px;
  transition: background var(--transition);
}
.platform-card:hover .platform-dl-btn { background: var(--primary-dark); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--bg);
  color: var(--text); text-align: center;
  padding: 72px var(--space-sm) var(--space-xl);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin-bottom: var(--space-sm); color: var(--text); }
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 860px; margin: 0 auto; }
.page-hero-p2 { font-size: 15px; color: var(--text-muted); max-width: 560px; margin: 10px auto 0; line-height: 1.6; }
.page-hero-cta { margin-top: var(--space-md); }

/* ─── PRICING COMPARISON TABLE ─── */
.cmp-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp-table thead tr { background: rgba(32,201,151,.08); }
.cmp-table th { padding: 14px 20px; font-weight: 700; font-size: 14px; text-align: center; color: var(--text); border-bottom: 2px solid var(--border); }
.cmp-table th.cmp-row-label { text-align: left; color: var(--text-muted); font-weight: 600; }
.cmp-table td { padding: 14px 20px; text-align: center; color: var(--text); border-bottom: 1px solid var(--border); }
.cmp-table td.cmp-row-label { text-align: left; font-weight: 600; }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr.cmp-alt td { background: var(--surface); }
.cmp-col-hi { background: rgba(32,201,151,.07); }
.cmp-head-hi { background: rgba(32,201,151,.18) !important; color: var(--primary) !important; font-weight: 800; }
.cmp-check { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: var(--primary); color: #fff; font-size: 12px; }
.cmp-none { color: var(--text-muted); font-size: 18px; line-height: 1; }
.cmp-accent { color: var(--primary); font-weight: 700; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-info { font-size: 15px; color: var(--text-muted); }
.contact-info h3 { color: var(--text); font-size: 18px; margin-bottom: 8px; }
.contact-info p { margin-bottom: 16px; }
.contact-info a { color: var(--primary); }

/* ─── PROSE (privacy/terms) ─── */
.prose-inner { max-width: 800px; margin: 0 auto; padding: var(--space-xl) var(--space-sm); font-size: 15px; line-height: 1.8; }
.prose-inner h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; color: var(--text); }
.prose-inner h3 { font-size: 17px; margin-top: 28px; color: var(--text); }
.prose-inner p { margin-bottom: 16px; color: var(--text-muted); }
.prose-inner ul { margin: 12px 0 16px 24px; list-style: disc; }
.prose-inner ul li { color: var(--text-muted); margin-bottom: 6px; }

/* ─── STEPS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-md); max-width: 1100px; margin: 0 auto; }
.step-card { text-align: center; padding: var(--space-md); }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-sm); }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: var(--space-xl) var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg); margin-bottom: var(--space-xl);
}
.footer-brand .logo-footer { height: 64px; width: 64px; object-fit: contain; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; color: var(--footer-text); }
.footer-col h4 { color: var(--footer-heading); font-size: 14px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--footer-link); font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--footer-link-hover); text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid var(--footer-divider); padding-top: var(--space-sm);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; margin: 0; color: var(--footer-text); }
.social-links { display: flex; gap: 12px; }
.social-links a { color: var(--footer-social); font-size: 18px; transition: color var(--transition); }
.social-links a:hover { color: var(--footer-link-hover); text-decoration: none; }

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--primary); color: var(--primary);
  box-shadow: 0 0 0 4px rgba(32,201,151,.15);
  outline: none;
}
/* CSS-controlled icon swap — no JS innerHTML needed, eliminates FA load-timing issues */
.toggle-sun { display: none; }
html.dark .toggle-sun { display: inline; }
html.dark .toggle-moon { display: none; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav { padding: 0 8px; position: relative; }
  .nav-links {
    display: none;
    position: absolute; top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    height: auto; max-height: none;
    overflow: visible;
    background: var(--header-bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,.10);
    padding: 12px 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; text-align: center; }
  .nav-links > li > a { display: block; width: 100%; padding: 14px 0; font-size: 17px; }
  .nav-links > li > a.active { color: var(--primary); font-weight: 600; }

  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: block; }
  .btn-login { font-size: 12px; padding: 6px 10px; max-width: none; overflow: visible; white-space: nowrap; }
  .btn-login .login-full { display: none; }
  .btn-login .login-short { display: inline; }

  /* Lang switcher INSIDE mobile menu */
  .mobile-lang {
    display: flex; justify-content: center; gap: 16px;
    padding: 14px 0; border-top: 1px solid var(--border);
    width: 100%;
  }
  .nav-links li.mobile-lang a {
    display: inline-block;
    width: auto;
    padding: 4px 10px;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
    color: var(--text-muted);
  }
  .nav-links li.mobile-lang a.active { color: var(--primary); font-weight: 700; }

  /* Hero split — stack on mobile, hide image */
  .hero-split { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero-image { display: none; }
  .hero-text { text-align: center; }
  .hero-text > p { margin-left: auto; margin-right: auto; }
  .hero-checks li { justify-content: flex-start; text-align: left; }
  .hero-actions { justify-content: center; }
  .hero-platforms { align-items: center; }
  .hero-platforms .platform-icons { justify-content: center; }
  .btn-secondary-lg { font-size: 15px; padding: 14px 28px; }

  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-logos-row i,
  .service-logos-row .si-logo { font-size: 24px; height: 24px; width: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .btn-cta-lg, .btn-cta, .hero-cta a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
  .hero-cta { flex-direction: column; align-items: center; }

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

  /* Reduce section vertical padding on mobile — 80px → 48px */
  .section,
  .home-pricing,
  .features,
  .home-faq,
  .faq,
  .standout-section,
  .feat-section,
  .pricing-section,
  .cs-section,
  .sp-section,
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .home-pricing .section-head { margin-bottom: 36px; }
  .feat-split { gap: var(--space-md); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── UTILITY ─── */
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.tag {
  display: inline-block; background: var(--surface-2); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .5px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
