/* Bee VPN — shared stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; height: auto; }

:root {
  --primary: #3D9E6E;
  --primary-dark: #2B7A52;
  --primary-light: #6FCF97;
  --accent: #F5A623;
  --accent-dark: #E08C0A;
  --bg: #FFFFFF;
  --bg-light: #F0FAF5;
  --bg-dark: #0F1F15;
  --text: #1A2A1A;
  --text-muted: #5A7265;
  --text-light: #FFFFFF;
  --border: #D4EDE0;
  --shadow: 0 4px 24px rgba(61,158,110,0.12);
  --shadow-lg: 0 8px 48px rgba(61,158,110,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --grad: linear-gradient(135deg, #2B7A52 0%, #3D9E6E 40%, #6FCF97 100%);
  --grad-accent: linear-gradient(135deg, #F5A623 0%, #E08C0A 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 68px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* Utility */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.text-center { text-align: center; }
.tag {
  display: inline-block; background: rgba(61,158,110,0.12); color: var(--primary);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 50px; padding: 4px 14px; margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none; transition: all .2s ease; text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent); color: #fff;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.5); color: #fff; }
.btn-green {
  background: var(--grad); color: #fff;
  box-shadow: var(--shadow);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: .875rem; }

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  height: var(--header-h);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 12px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.12); }

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

/* Language dropdown */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 7px 14px; border-radius: 50px; cursor: pointer;
  font-size: .85rem; font-weight: 600; transition: all .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.25); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: var(--radius-sm); min-width: 140px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18); overflow: hidden; z-index: 100;
}
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; color: var(--text); font-size: .875rem; font-weight: 500;
  transition: background .15s;
}
.lang-dropdown a:hover { background: var(--bg-light); }
.lang-dropdown a.active { color: var(--primary); font-weight: 700; }
.lang-switcher.open .lang-dropdown { display: block; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm);
  flex-direction: column; gap: 5px; transition: all .2s;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    width: 100vw; background: var(--primary-dark);
    flex-direction: column; align-items: stretch; gap: 0;
    overflow-y: auto; z-index: 999; padding: 16px 0 32px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 16px 28px; font-size: 1.1rem; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  /* Language switcher in mobile menu */
  .nav-lang-mobile {
    margin: 16px 24px 0;
    display: flex; flex-direction: column; gap: 4px;
  }
  .nav-lang-mobile a {
    color: rgba(255,255,255,.75); font-size: 1rem; padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; gap: 8px;
  }
  .nav-lang-mobile a.active { color: var(--accent); }
  .nav-desktop-cta { display: none; }
  .nav-desktop-lang { display: none; }
}
@media (min-width: 769px) {
  .nav-lang-mobile { display: none; }
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  background: var(--grad);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(111,207,151,.25) 0%, transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 50px;
  padding: 6px 16px; margin-bottom: 20px; color: #fff; font-size: .85rem; font-weight: 600;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap;
}
.hero-stat { color: #fff; }
.hero-stat strong { font-size: 1.8rem; font-weight: 800; display: block; }
.hero-stat span { font-size: .85rem; opacity: .8; }
.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img img {
  max-height: 420px; width: auto; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); object-fit: cover;
}

/* ── TRUST BAR ───────────────────────────────────── */
.trust-bar {
  background: var(--bg-dark); padding: 24px 0;
}
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ── FEATURES ────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all .3s; box-shadow: var(--shadow);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.5rem;
}
.feature-card h3 { margin-bottom: 10px; }

/* ── IMAGE SECTION ───────────────────────────────── */
.img-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.img-section.reverse { direction: rtl; }
.img-section.reverse > * { direction: ltr; }
.img-section img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover; max-height: 380px;
}
.img-section-text h2 { margin-bottom: 16px; }
.img-section-text p { margin-bottom: 24px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-muted); font-size: .95rem;
}
.check-list li::before {
  content: '✓'; color: var(--primary); font-weight: 800; font-size: 1rem;
  flex-shrink: 0; margin-top: 1px;
}

/* ── STATS ───────────────────────────────────────── */
.stats-section { background: var(--grad); padding: 72px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat-item strong { font-size: 2.8rem; font-weight: 800; color: #fff; display: block; line-height: 1; }
.stat-item span { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 6px; display: block; }

/* ── PRICING ─────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; align-items: start;
}
.pricing-card {
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  transition: all .3s; box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: var(--primary); transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-badge {
  background: var(--grad-accent); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; border-radius: 50px;
  padding: 4px 14px; display: inline-block; margin-bottom: 16px;
}
.pricing-price { margin: 20px 0; }
.pricing-price strong { font-size: 3rem; color: var(--text); font-weight: 800; }
.pricing-price span { font-size: .9rem; color: var(--text-muted); }
.pricing-features { list-style: none; text-align: left; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-muted);
}
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.testimonial-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { font-size: .95rem; color: var(--text-muted); margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-weight: 700; font-size: .875rem; color: var(--text); }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: #fff;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; gap: 16px;
}
.faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ──────────────────────────────────── */
.cta-section {
  background: var(--grad); padding: 80px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: .875rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(255,255,255,.45); font-size: .8rem; }
.footer-legal-links a:hover { color: rgba(255,255,255,.8); }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  background: var(--grad); padding: 72px 0 64px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── DOWNLOAD PAGE ───────────────────────────────── */
.download-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px;
}
.download-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px; box-shadow: var(--shadow); transition: all .3s;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.download-card .icon { font-size: 3rem; }
.download-card h3 { margin: 4px 0; }
.download-card p { font-size: .9rem; margin-bottom: 8px; }

/* ── LEGAL PAGES ─────────────────────────────────── */
.legal-content { max-width: 820px; margin: 0 auto; padding: 64px 20px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .last-updated { color: var(--text-muted); font-size: .875rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-content p { margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { margin: 12px 0 14px 24px; }
.legal-content ul li { margin-bottom: 6px; color: var(--text-muted); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img { order: -1; }
  .hero-img img { max-height: 260px; }
  .img-section { grid-template-columns: 1fr; gap: 32px; direction: ltr !important; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-inner { gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
