/* VPN Prime — brand stylesheet (self-contained). Sibling brand to Star VPN (app family 2),
   sharing the same backend + PayPal account. Palette matches the Prime app brand tokens
   (peach/ReactNative/src/brands/prime): vibrant blue primary, green savings, orange premium. */

:root {
  --brand: #5577ff; /* Prime primary (vibrant blue from the app banner) */
  --brand-deep: #4461e6; /* Prime primaryDark / hover */
  --brand-dark: #161d3d; /* deep navy-blue — header / footer bg */
  --brand-darker: #0f1430;
  --brand-soft: #eef3ff; /* primary50 — soft fills */
  --brand-soft2: #dce7ff; /* primary100 */
  --accent: #ff9800; /* premium/trial orange — CTA pop */
  --accent-dark: #f57c00; /* warning600 — CTA hover */
  --save: #00b248; /* success — savings / discount */
  --save-soft: #e4f7ec;
  --text: #333333; /* neutral700 */
  --text-muted: #666666; /* neutral500 */
  --border: #e0e0e0; /* neutral200 */
  --white: #ffffff;
  --bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(22, 30, 61, 0.08);
  --shadow: 0 14px 34px rgba(22, 30, 61, 0.14);
  --radius: 14px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img,
svg {
  max-width: 100%;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-primary {
  background: var(--accent);
  color: var(--brand-dark);
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--brand-dark);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---- Header ---- */
.site-header {
  background: var(--brand-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.logo:hover {
  text-decoration: none;
}
.logo img {
  width: 30px;
  height: 30px;
}
.logo b {
  color: #8eaaff; /* primary400 — pops on the dark navy bar */
  font-weight: 800;
}
.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.main-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
.nav-cta {
  background: var(--accent);
  color: var(--brand-dark) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover {
  background: var(--accent-dark);
}
@media (max-width: 720px) {
  .main-nav ul {
    gap: 16px;
  }
  .main-nav .hide-sm {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  background:
    radial-gradient(1100px 520px at 72% -15%, rgba(85, 119, 255, 0.85), transparent 62%),
    linear-gradient(160deg, #3a54cc, var(--brand-darker));
  color: var(--white);
  text-align: center;
  padding: 84px 0 92px;
}
.hero.compact {
  padding: 64px 0 56px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto 0.4em;
}
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
  margin: 0 auto 2em;
}
.hero .hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .micro {
  margin: 22px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Trust bar ---- */
.trust {
  background: var(--brand-darker);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.trust .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust span {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust b {
  color: var(--accent);
}

/* ---- Sections ---- */
.section {
  padding: 76px 0;
}
.section.alt {
  background: var(--brand-soft);
}
.section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---- Feature grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.feature .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature .ico svg {
  width: 24px;
  height: 24px;
}
.feature h3 {
  font-size: 1.15rem;
}
.feature p {
  color: var(--text-muted);
  margin: 0;
}

/* ---- Pricing ---- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
@media (max-width: 680px) {
  .pricing {
    grid-template-columns: minmax(0, 360px);
  }
}
.price-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.price-card .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.price-card .amt {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-card .amt small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.price-card .note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.price-card .note s {
  opacity: 0.7;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}
.price-card li {
  display: flex;
  gap: 10px;
}
.price-card li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 800;
}
.price-card .btn {
  margin-top: auto;
  text-align: center;
}
.btn-block {
  display: block;
  width: 100%;
}

/* ---- Steps (thank-you) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.step .num {
  width: 38px;
  height: 38px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-size: 1.1rem;
}
.step p {
  color: var(--text-muted);
  margin: 0;
}

/* ---- App badges (thank-you) ---- */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--brand-dark);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 12px;
}
.app-badge:hover {
  text-decoration: none;
  background: var(--brand-deep);
}
.app-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.app-badge .label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.app-badge .small {
  font-size: 0.65rem;
  opacity: 0.8;
}
.app-badge .big {
  font-size: 1rem;
  font-weight: 700;
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 50ch;
  margin: 0 auto 1.4em;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer .logo {
  font-size: 1.05rem;
}
.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.site-footer nav a:hover {
  color: var(--accent);
  text-decoration: none;
}
.site-footer .copyright {
  width: 100%;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}
