/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
}
.btn--primary { background: #6C63FF; color: #fff; }
.btn--primary:hover { background: #5a52e0; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(108,99,255,0.35); }
.btn--ghost { background: transparent; color: #6C63FF; border-color: #6C63FF; }
.btn--ghost:hover { background: #6C63FF; color: #fff; }
.btn--nav { padding: 10px 20px; font-size: 14px; background: #6C63FF; color: #fff; border-radius: 10px; }
.btn--nav:hover { background: #5a52e0; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid #f0f0f0; }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #1a1a2e; }
.nav__links { display: flex; gap: 28px; flex: 1; }
.nav__links a { font-size: 14px; font-weight: 500; color: #555; transition: color 0.2s; }
.nav__links a:hover { color: #6C63FF; }
.nav__burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ── Gradient text ── */
.gradient-text { background: linear-gradient(135deg, #6C63FF, #ff6b9d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Hero ── */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__badge { display: inline-block; background: #ede9ff; color: #6C63FF; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero__text h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero__sub { font-size: 18px; color: #555; margin-bottom: 32px; max-width: 480px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { opacity: 0.9; transition: opacity 0.2s; }
.store-badge:hover { opacity: 1; }

/* Phone mock */
.hero__visual { display: flex; justify-content: center; }
.phone-mock { width: 280px; height: 560px; background: #1a1a2e; border-radius: 40px; padding: 20px; box-shadow: 0 40px 80px rgba(108,99,255,0.25); position: relative; }
.phone-mock::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 6px; background: #333; border-radius: 3px; }
.phone-screen { background: #0f0f23; border-radius: 28px; height: 100%; display: flex; align-items: center; justify-content: center; }
.vpn-ui { text-align: center; padding: 20px; }
.vpn-status--on { background: #00c97720; color: #00c977; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; display: inline-block; }
.vpn-globe { margin: 16px auto; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.vpn-location { color: #fff; font-size: 14px; font-weight: 600; margin-top: 16px; }
.vpn-speed { color: #888; font-size: 12px; margin-top: 8px; }

/* ── Stats ── */
.stats { padding: 48px 0; border-bottom: 1px solid #f0f0f0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: 36px; font-weight: 800; color: #6C63FF; }
.stat__label { font-size: 14px; color: #888; margin-top: 4px; }

/* ── Sections shared ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: #666; }

/* ── Features ── */
.features { padding: 80px 0; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #fafafa; border: 1px solid #f0f0f0; border-radius: 20px; padding: 32px; transition: all 0.2s; }
.feature-card:hover { border-color: #6C63FF; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(108,99,255,0.1); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 15px; }

/* ── Countries ── */
.countries { padding: 80px 0; background: #f8f7ff; }
.countries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.country { background: #fff; border: 1px solid #ede9ff; border-radius: 12px; padding: 14px 18px; font-weight: 500; font-size: 14px; text-align: center; transition: all 0.2s; }
.country:hover { border-color: #6C63FF; background: #ede9ff; }

/* ── Pricing ── */
.pricing { padding: 80px 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { border: 2px solid #f0f0f0; border-radius: 24px; padding: 36px; position: relative; }
.plan--featured { border-color: #6C63FF; box-shadow: 0 20px 60px rgba(108,99,255,0.15); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #6C63FF; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan__name { font-size: 18px; font-weight: 700; color: #888; margin-bottom: 12px; }
.plan__price { font-size: 42px; font-weight: 800; color: #1a1a2e; }
.plan__price span { font-size: 16px; font-weight: 500; color: #888; }
.plan__sub { font-size: 12px; color: #aaa; margin-top: 4px; margin-bottom: 24px; }
.plan__features { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.plan__features li { font-size: 14px; color: #555; }
.plan .btn { width: 100%; justify-content: center; }

/* ── Download CTA ── */
.download { padding: 80px 0; background: linear-gradient(135deg, #6C63FF, #5a52e0); }
.download__inner { text-align: center; color: #fff; }
.download__inner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.download__inner p { font-size: 18px; opacity: 0.85; margin-bottom: 36px; }
.download__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download .btn--primary { background: #fff; color: #6C63FF; }
.download .btn--primary:hover { background: #f0f0f0; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.download .btn--ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.download .btn--ghost:hover { background: rgba(255,255,255,0.15); }

/* ── Footer ── */
.footer { padding: 60px 0 0; background: #0f0f1a; color: #aaa; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid #222; }
.footer__brand .logo { color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: 14px; max-width: 280px; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: #888; margin-bottom: 10px; transition: color 0.2s; }
.footer__col a:hover { color: #6C63FF; }
.footer__bottom { padding: 20px 0; text-align: center; font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { order: -1; }
  .hero__cta, .hero__stores { justify-content: center; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .countries__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .features__grid { grid-template-columns: 1fr; }
  .countries__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .phone-mock { width: 220px; height: 440px; }
}

/* Mobile nav open */
.nav__links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 20px 24px; border-bottom: 1px solid #f0f0f0; gap: 16px; z-index: 99; }

/* ── Inner pages ── */
.page-hero { padding: 60px 0; background: #f8f7ff; text-align: center; }
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #666; font-size: 17px; }
.page-content { max-width: 760px; margin: 60px auto; padding: 0 24px 80px; }
.page-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; color: #1a1a2e; }
.page-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: #333; }
.page-content p, .page-content li { font-size: 15px; color: #555; line-height: 1.75; margin-bottom: 12px; }
.page-content ul { padding-left: 20px; list-style: disc; }
.page-content a { color: #6C63FF; }

/* ── App Screenshots in Hero ── */
.screens-showcase {
  position: relative;
  width: 320px;
  height: 520px;
  margin: 0 auto;
}
.screen-wrap {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(108,99,255,0.3);
}
.screen-wrap--front {
  width: 200px;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.screen-wrap--back {
  width: 200px;
  top: 0;
  right: 0;
  z-index: 1;
  opacity: 0.9;
}
.app-screen {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Screenshots section ── */
.screenshots { padding: 80px 0; background: #f8f7ff; }
.screenshots__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.screenshot-item {
  text-align: center;
}
.screenshot-item img {
  width: 220px;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(108,99,255,0.2);
  display: block;
  margin: 0 auto 14px;
}
.screenshot-item p {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* ── Download App Store button ── */
.download-appstore img {
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.download-appstore:hover img { opacity: 0.85; }

@media (max-width: 900px) {
  .screens-showcase { width: 260px; height: 420px; }
  .screen-wrap--front, .screen-wrap--back { width: 160px; }
}

/* ── Single phone screen in hero ── */
.hero__phone { display: flex; justify-content: center; align-items: center; }
.hero__phone-img {
  width: 260px;
  border-radius: 36px;
  box-shadow: 0 40px 80px rgba(108,99,255,0.3);
  display: block;
}
@media (max-width: 900px) { .hero__phone-img { width: 200px; } }
