/* Shadow Cloud VPN — style.css (based on YINGZI01-DESIGN-SPEC.md) */

:root {
  --primary:      #007BFF;
  --primary-vis:  #007BFC;
  --heading:      #142149;
  --body-c:       #5E7290;
  --dark-cta:     #0D1E67;
  --royal-blue:   #355CC2;
  --light-blue:   #4687FF;
  --white:        #FFFFFF;
  --pale-canvas:  #F4F6FF;
  --border:       #DDE5F0;
  --shadow-soft:  0 0 20px rgba(0,0,0,.15);
  --shadow-card:  4.871px 34.659px 30px rgba(0,0,0,.06);
  --shadow-blue:  0 5px 20px rgba(30,64,175,.22);
  --shadow-float: 0 5px 25px rgba(0,0,0,.133);
  --radius:       6px;
  --radius-cta:   10px;
  --radius-card:  12px;
  --radius-pill:  24px;
  --max-w:        1170px;
  --gutter:       47px;
  --section-v:    100px;
  --font:         Arial, "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --trans:        0.2s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--body-c); background: var(--white); }
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,h5 { margin-top: 0; color: var(--heading); line-height: 1.2; }
p { margin-top: 0; }
button { cursor: pointer; }

/* ─── CONTAINER ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  height: 62px; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 38px; width: auto; }

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

.nav-right {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; margin-left: auto;
}

.mobile-lang { display: none; }

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

.lang-btn {
  background: none; border: 1px solid var(--border);
  color: var(--heading); padding: 6px 12px;
  border-radius: var(--radius); font-size: 13px;
  display: flex; align-items: center; gap: 6px;
  transition: border-color var(--trans);
}
.lang-btn:hover { border-color: var(--primary); }

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

.btn-cta-lg {
  background: var(--primary-vis); color: #fff;
  padding: 14px 36px; border-radius: var(--radius-cta);
  font-size: 18px; font-weight: 700; display: inline-block;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-cta-lg:hover { background: #0064d6; text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-blue); }

.btn-cta-white {
  background: var(--white); color: var(--dark-cta);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; display: inline-block;
  transition: background var(--trans), box-shadow var(--trans);
}
.btn-cta-white:hover { background: #eef2ff; text-decoration: none; box-shadow: var(--shadow-float); }

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

/* ─── HERO ─── */
.hero-section {
  background: var(--pale-canvas);
  background-image: url('/assets/images/slider2.png');
  background-size: 55%; background-position: right center; background-repeat: no-repeat;
  padding: var(--section-v) 0;
  overflow: hidden; position: relative;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block; color: var(--primary-vis);
  font-size: 18px; font-weight: 700; margin-bottom: 16px; letter-spacing: .5px;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.5vw, 56px); font-weight: 800;
  color: var(--heading); margin-bottom: 20px; line-height: 1.15;
}
.hero-copy p.hero-sub {
  font-size: 17px; color: var(--body-c); margin-bottom: 12px; line-height: 1.7;
}
.hero-copy p.hero-tagline {
  font-size: 15px; color: var(--body-c); margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; align-items: center; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-main-img { width: 100%; max-width: 520px; animation: floatY 5s ease-in-out infinite; }
.hero-float { position: absolute; animation: floatY 4s ease-in-out infinite; }
.hero-float-1 { top: 8%; right: 5%; animation-delay: 0.5s; width: 90px; }
.hero-float-2 { top: 25%; left: 0; animation-delay: 1s; width: 70px; }
.hero-float-3 { bottom: 20%; right: 8%; animation-delay: 1.5s; width: 80px; }
.hero-float-4 { bottom: 5%; left: 10%; animation-delay: 2s; width: 75px; }
.hero-float-5 { top: 50%; right: 0; animation-delay: 0.8s; width: 75px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-main-img, .hero-float { animation: none; }
}

/* ─── SECTION SHARED ─── */
.section { padding: var(--section-v) 0; }
.section-alt { background: var(--pale-canvas); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 39px); font-weight: 800; margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--body-c); max-width: 600px; margin: 0 auto; }

/* ─── HOW IT WORKS ─── */
.how-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0;
}
.how-card {
  text-align: center; padding: 32px 24px;
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.how-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--pale-canvas); border: 2px solid #d0dcf8;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 28px;
}
.how-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--heading); }
.how-card p { font-size: 14px; color: var(--body-c); line-height: 1.7; margin: 0; }
.how-arrow {
  display: flex; align-items: center; justify-content: center;
  padding-top: 36px; flex-shrink: 0;
}
.how-arrow img { width: 80px; opacity: .6; }

/* ─── RELIABILITY ─── */
.reliability-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
}
.reliability-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 20px; }
.reliability-copy p { font-size: 16px; color: var(--body-c); margin-bottom: 28px; line-height: 1.8; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 600;
  color: var(--heading);
}
.check-list li:last-child { border-bottom: none; }
.check-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.reliability-img img { width: 100%; max-width: 480px; }

/* ─── STATS ─── */
.stats-section {
  background: url('/assets/images/other07.jpg') center/cover no-repeat;
  padding: 72px 0; position: relative;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(13,30,103,.75);
}
.stats-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 42px; font-weight: 700; color: var(--white); line-height: 1;
  display: block; margin-bottom: 8px;
}
.stat-label {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9);
  display: block; margin-bottom: 6px;
}
.stat-sub { font-size: 13px; color: rgba(255,255,255,.65); }

/* ─── TAILORED SERVICES ─── */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.service-card-icon {
  width: 64px; height: 64px; border-radius: var(--radius-card);
  background: var(--pale-canvas); display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; font-size: 30px;
}
.service-card h3 { font-size: 22px; font-weight: 800; color: var(--heading); margin-bottom: 12px; }
.service-card p.service-tagline { font-size: 15px; color: var(--body-c); margin-bottom: 20px; }
.service-list { list-style: none; padding: 0; }
.service-list li {
  padding: 8px 0; font-size: 14px; color: var(--body-c);
  display: flex; align-items: flex-start; gap: 8px;
}
.service-list li::before { content: '✓'; color: var(--primary); font-weight: 700; margin-top: 1px; flex-shrink: 0; }

/* ─── PLATFORM CAROUSEL ─── */
.carousel-section { overflow: hidden; }
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex; gap: 24px;
  transition: transform 0.4s ease;
}
.carousel-slide {
  flex: 0 0 calc((100% - 96px) / 4);
  min-width: 200px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--trans), transform var(--trans);
}
.carousel-slide:hover { box-shadow: var(--shadow-blue); transform: translateY(-3px); }
.carousel-slide img {
  width: auto; max-width: 100%; max-height: 160px;
  margin: 0 auto 20px;
}
.carousel-slide h4 { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.carousel-slide p { font-size: 13px; color: var(--body-c); margin: 0; }
.carousel-controls {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; margin-top: 32px;
}
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--heading);
  transition: background var(--trans), border-color var(--trans);
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0;
  transition: background var(--trans); cursor: pointer;
}
.carousel-dot.active { background: var(--primary); }

/* ─── UNIFIED CONSOLE ─── */
.console-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px;
}
.console-copy .console-eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary); margin-bottom: 12px; display: block;
}
.console-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 20px; }
.console-copy p { font-size: 16px; color: var(--body-c); line-height: 1.8; margin-bottom: 28px; }
.console-img { display: flex; justify-content: center; }
.console-img img { width: 100%; max-width: 500px; }

/* ─── PARTNER CTA ─── */
.partner-section {
  background: var(--dark-cta); padding: var(--section-v) 0;
}
.partner-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
}
.partner-copy h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 8px;
}
.partner-copy h3 {
  font-size: clamp(20px, 2.5vw, 30px); font-weight: 800; color: var(--light-blue); margin-bottom: 20px;
}
.partner-copy p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 32px; }
.partner-art {
  display: flex; justify-content: center; align-items: center;
}
.partner-art img { width: 100%; max-width: 440px; opacity: .9; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark-cta); border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 0;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter) 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-footer { height: 36px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 240px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: 14px; transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 20px var(--gutter) 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.45); margin: 0; }

/* ─── FLOATING SUPPORT BUTTON ─── */
.float-support {
  position: fixed; bottom: 24px; right: 24px; z-index: 9000;
  background: var(--primary); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-blue);
  transition: background var(--trans), transform var(--trans);
  text-decoration: none;
}
.float-support:hover { background: #0064d6; text-decoration: none; transform: translateY(-2px); }
.float-support svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── SUB-PAGE ─── */
.page-hero {
  background: var(--pale-canvas); padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--body-c); max-width: 640px; }

.prose { padding: 64px 0; }
.prose-inner {
  max-width: 760px; margin: 0 auto; padding: 0 var(--gutter);
}
.prose-inner h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.prose-inner h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.prose-inner p, .prose-inner li { font-size: 15px; color: var(--body-c); line-height: 1.8; margin-bottom: 16px; }
.prose-inner ul { list-style: disc; padding-left: 20px; }

/* ─── DOWNLOAD PAGE ─── */
.download-section { padding: var(--section-v) 0; }
.platforms-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
  margin-bottom: 48px;
}
.platform-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 32px 20px; text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--trans), box-shadow var(--trans);
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.platform-card img { max-height: 130px; width: auto; margin: 0 auto 20px; }
.platform-card h3 { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.platform-card p { font-size: 13px; color: var(--body-c); margin-bottom: 20px; }
.download-cta-wrap { text-align: center; margin-top: 16px; }

/* ─── PRICING PAGE ─── */
.pricing-section { padding: var(--section-v) 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto;
}
.pricing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 36px 28px; text-align: center;
  position: relative; box-shadow: var(--shadow-card);
  transition: transform var(--trans), box-shadow var(--trans);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.pricing-card.popular { border-color: var(--primary); border-width: 2px; }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 20px;
  border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--body-c); margin-bottom: 12px; }
.pricing-price { font-size: 44px; font-weight: 800; color: var(--heading); line-height: 1; }
.pricing-price sup { font-size: 22px; vertical-align: super; }
.pricing-period { font-size: 14px; color: var(--body-c); margin-top: 8px; margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: var(--body-c); display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.pricing-cta {
  display: block; width: 100%; padding: 13px; margin-top: 24px;
  background: var(--primary); color: #fff; border: none;
  border-radius: var(--radius); font-size: 15px; font-weight: 700;
  cursor: pointer; text-align: center;
  transition: background var(--trans), transform var(--trans);
  text-decoration: none;
}
.pricing-cta:hover { background: #0064d6; text-decoration: none; transform: translateY(-1px); }

/* ─── FAQ ─── */
.faq-section { padding: var(--section-v) 0; background: var(--pale-canvas); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; padding: 20px 24px;
  text-align: left; font-size: 16px; font-weight: 600; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color var(--trans);
}
.faq-q::after { content: '+'; font-size: 22px; flex-shrink: 0; transition: transform var(--trans); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; }
.faq-a p { font-size: 15px; color: var(--body-c); margin: 0; line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ─── CONTACT ─── */
.contact-section { padding: var(--section-v) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--body-c); margin-bottom: 20px; line-height: 1.8; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; padding: 16px; background: var(--pale-canvas); border-radius: var(--radius-card); }
.contact-item-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--body-c); margin: 0; }
.contact-cta-box { background: var(--dark-cta); border-radius: var(--radius-card); padding: 40px 32px; color: #fff; }
.contact-cta-box h3 { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.contact-cta-box p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 24px; }

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.section-cta { text-align: center; margin-top: 40px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  :root { --gutter: 24px; }
}

@media (max-width: 992px) {
  :root { --section-v: 80px; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-arrow { display: none; }
  .hero-section { background-size: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .reliability-inner { grid-template-columns: 1fr; }
  .reliability-img { order: -1; }
  .console-inner { grid-template-columns: 1fr; }
  .partner-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-v: 75px; --gutter: 15px; }

  /* Header mobile — §11: logo left, hamburger far-right, no switcher in header bar */
  .nav { display: flex; align-items: center; justify-content: space-between; padding-right: 8px; }
  .nav-right { display: none !important; }  /* §11: hide entirely so toggle is the last flex item */

  /* Mobile nav menu (drops below header) */
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--white); padding: 16px 15px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-top: 1px solid var(--border); z-index: 999;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 8px; font-size: 16px; display: block; }
  /* §12: mobile lang switcher centred, no line-wrap */
  .mobile-lang { display: flex !important; flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 0; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px; }
  .nav-links .mobile-lang a { padding: 4px 12px; font-size: 15px; line-height: 1.4; color: var(--body-c); display: block; white-space: nowrap; transition: color var(--trans); }
  .nav-links .mobile-lang a.active { color: var(--primary); font-weight: 600; }
  .nav-links .mobile-lang a:hover { color: var(--primary); text-decoration: none; }
  .nav-toggle { display: block; margin-left: auto; }

  /* Hero */
  .hero-copy h1 { font-size: 34px; }
  .hero-cta { flex-direction: column; align-items: center; width: 100%; }

  /* §14: center all CTA buttons on mobile */
  .btn-cta, .btn-cta-lg, .btn-cta-white {
    display: block; width: fit-content;
    margin-left: auto; margin-right: auto; text-align: center;
  }
  .section-cta, .hero-cta, .download-cta-wrap, .console-copy, .contact-cta-box {
    text-align: center;
  }

  /* Stats */
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-num { font-size: 32px; }

  /* Carousel */
  .carousel-slide { flex: 0 0 calc(100% - 48px); }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .partner-inner { text-align: center; }
  .partner-art { margin-top: 32px; }

  /* Float support */
  .float-support { bottom: 16px; right: 16px; padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 576px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 28px; }
  .section-head h2 { font-size: 24px; }
  .how-card { padding: 24px 16px; }
  .service-card { padding: 28px 20px; }
}
