/* letsvpndownload.app — style.css — LetsVPN / 快连VPN brand tokens */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  /* LetsVPN brand gradient: pink #EB4EB1 → purple #9257F9 → blue #3150ED */
  --primary: #9257F9;
  --primary-dark: #6B35D4;
  --brand-gradient: linear-gradient(135deg, #EB4EB1 0%, #9257F9 50%, #3150ED 100%);
  --gold: #9257F9;
  --dark: #0d0d1a;
  --header-bg: linear-gradient(135deg, #EB4EB1 0%, #9257F9 50%, #3150ED 100%);
  --bg: #f7f7f7;
  --surface: #FFFFFF;
  --surface-2: #EEF0F8;
  --text: #333333;
  --text-muted: #666677;
  --green: #1AAE5B;
  --red: #E03060;
  --border: #E0E0EA;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 40px;
  --shadow-card: 0 2px 12px rgba(146,87,249,.12), 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(49,80,237,.14);
  --transition: 0.25s ease;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }
body { font-family: Helvetica, Charter, "PingFang SC", "Microsoft YaHei", Arial, 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: sticky; top: 0; z-index: 1000;
  background: var(--brand-gradient);
  box-shadow: 0 2px 10px rgba(49,80,237,.25);
}
.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: 36px; width: auto; max-width: 160px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  color: rgba(255,255,255,.85); 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: #fff; background: rgba(255,255,255,.15); text-decoration: none; }

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

.mobile-lang { display: none; }

/* ─── DROPDOWN ─── */
.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: #fff; 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(--surface-2); text-decoration: none; }

/* ─── CTA BUTTON ─── */
.btn-cta {
  background: #fff; color: var(--primary);
  padding: 10px 20px; border-radius: var(--radius-xl);
  font-size: 14px; font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap; display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.btn-cta:hover { background: #f5f0ff; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn-lg { padding: 16px 48px; font-size: 17px; }

/* inside hero (gradient bg) = white pill with purple text */
.hero .btn-cta, .page-hero .btn-cta {
  padding: 14px 44px; font-size: 16px;
  background: #fff; color: var(--primary);
}

/* purple gradient button (alternative) */
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-gradient); color: #fff;
  padding: 12px 28px; border-radius: var(--radius-xl);
  font-size: 15px; font-weight: 700;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(146,87,249,.35);
}
.btn-dl:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }

/* ─── HERO ─── */
.hero {
  background: var(--brand-gradient);
  color: #fff;
  padding: var(--space-xl) var(--space-sm);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg); align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 5px 14px; border-radius: var(--radius-xl);
  margin-bottom: var(--space-sm); backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin-bottom: var(--space-sm); font-weight: 800; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,.88); margin-bottom: var(--space-md); line-height: 1.65; }
.hero-cta-group { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }
.hero-img-col { position: relative; z-index: 1; }
.hero-phone { max-height: 420px; width: auto; margin: 0 auto; filter: drop-shadow(0 16px 48px rgba(0,0,0,.35)); border-radius: 24px; }

/* hero stats strip */
.hero-stats {
  display: flex; gap: var(--space-md); flex-wrap: wrap;
  margin: var(--space-md) 0; padding: var(--space-sm) 0;
  border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2);
}
.hero-stat-item { text-align: center; }
.hero-stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stat-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,.75); }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--brand-gradient);
  color: #fff; padding: var(--space-lg) var(--space-sm);
  text-align: center;
}
.page-hero .container { max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #fff; margin-bottom: var(--space-sm); }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,.88); margin-bottom: var(--space-md); }
.hero-cta-group { display: flex; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; }

/* ─── SECTION ─── */
.section { padding: var(--space-xl) var(--space-sm); }
.section-alt { background: var(--surface); }
.container { max-width: 1100px; margin: 0 auto; }
.section .container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--space-sm); color: var(--dark); text-align: center; font-weight: 700; }
.section-sub { color: var(--text-muted); text-align: center; max-width: 640px; margin: 0 auto var(--space-lg); font-size: 1.0rem; }

/* ─── SPLIT SECTION ─── */
.split-section { padding: var(--space-xl) var(--space-sm); }
.split-section-alt { background: var(--surface); }
.split-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg); align-items: center;
}
.split-text h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: var(--space-sm); color: var(--dark); font-weight: 700; }
.split-text p { color: var(--text-muted); margin-bottom: var(--space-md); line-height: 1.65; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

/* ─── FEATURE GRID ─── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}
.feature-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: var(--space-md); box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}
.feature-icon i { color: #fff; font-size: 20px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--dark); font-weight: 600; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ─── DEVICE CARDS ─── */
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-md); }
.device-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: var(--space-md); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.device-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.device-icon { font-size: 2.5rem; margin-bottom: var(--space-sm); line-height: 1; }
.device-icon i { font-size: 2.5rem; background: var(--brand-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.device-name { font-size: 1.05rem; font-weight: 700; margin-bottom: var(--space-sm); color: var(--dark); }
.device-card ul.bullets { flex: 1; margin-bottom: var(--space-sm); }
.device-card .btn-dl { margin-top: auto; text-align: center; justify-content: center; }

/* ─── BULLETS ─── */
.bullets { list-style: none; padding: 0; }
.bullets li { padding: 6px 0 6px 24px; position: relative; color: var(--text); font-size: 0.9375rem; line-height: 1.55; }
.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-gradient);
}

/* ─── PARAS ─── */
.paras p { color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-sm); font-size: 0.9375rem; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-md); }
.pricing-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: var(--space-md); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  border: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--space-xs); color: var(--dark); }
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.pricing-period { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.pricing-cta { margin-top: auto; padding-top: var(--space-sm); }
.pricing-cta .btn-cta { background: var(--brand-gradient); color: #fff; display: block; text-align: center; border-radius: var(--radius-md); padding: 10px; }
.pricing-cta .btn-cta:hover { opacity: .88; transform: none; }

/* ─── PAYMENT METHODS ─── */
.payment-methods { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
.payment-methods li {
  padding: 8px 20px; background: var(--surface-2);
  border-radius: var(--radius-md); font-size: 0.875rem;
  font-weight: 600; color: var(--text);
}

/* ─── COMPARE TABLE ─── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 10px 14px; border: 1px solid var(--border); text-align: center; }
.compare-table thead { background: var(--surface-2); }
.compare-table th.highlight { background: var(--brand-gradient); color: #fff; }
.compare-table td.highlight { background: rgba(146,87,249,.06); font-weight: 600; }
@media (max-width: 600px) { .compare-table { font-size: 0.75rem; } .compare-table th, .compare-table td { padding: 7px 8px; } }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: var(--space-sm) 0; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--dark);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
}
.faq-q .faq-icon { font-size: 0.75rem; color: var(--primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { color: var(--text-muted); padding-bottom: var(--space-sm); line-height: 1.65; margin: 0; font-size: 0.9375rem; }

/* ─── REVIEW CARDS ─── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-md); }
.review-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: var(--space-md); box-shadow: var(--shadow-card);
}
.review-stars { color: #FFAA00; font-size: 0.875rem; margin-bottom: 6px; }
.review-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.review-author { font-size: 0.8125rem; font-weight: 600; color: var(--dark); }
.review-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ─── CLOSING SECTION ─── */
.closing-section {
  background: var(--brand-gradient);
  padding: var(--space-xl) var(--space-sm); text-align: center; color: #fff;
}
.closing-section h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: var(--space-sm); }
.closing-section p { color: rgba(255,255,255,.85); margin-bottom: var(--space-md); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.65);
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto var(--space-md);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}
.footer-brand .logo-footer { height: 32px; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 0.8125rem; line-height: 1.6; max-width: 300px; }
.footer-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--space-sm); font-size: 0.8rem; text-align: center; }

/* ─── MOBILE NAV ─── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; font-size: 22px; }
@media (max-width: 768px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links, .nav-right { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 64px; left: 0; right: 0;
    background: linear-gradient(160deg, #2d1a60 0%, #1a0d40 100%);
    padding: var(--space-md); gap: 4px; z-index: 999;
    overflow-y: auto; height: auto;
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a {
    display: block; padding: 14px 16px; font-size: 16px;
    color: rgba(255,255,255,.9); border-radius: var(--radius-sm);
  }
  .nav-links.open ~ .nav-right { display: flex; }
  .mobile-lang { display: block; }
  .nav-right { display: none; }

  /* tighter vertical spacing on mobile */
  .hero { padding: 32px var(--space-sm) 24px; }
  .section { padding: 32px var(--space-sm); }
  .split-section { padding: 32px var(--space-sm); }
  .hero-img-col { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--space-sm); }
  .hero-stat-num { font-size: 1.3rem; }
  .hero-cta-group { justify-content: center; }
  .hero .btn-cta, .page-hero .btn-cta { text-align: center; }

  .split-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-brand { grid-column: 1 / -1; }

  .btn-cta, .btn-dl { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
