/* Pipl VPN — friendly community-vibe stylesheet
   Axes: Hero G (central card), Nav E (accent bar), Cards F (large icon top),
   Typo G (rounded), Buttons B (pill), Sections G (white + accent blocks),
   Price A (gradient card), FAQ D (open grid), Footer C (3 col + CTA above), Anim E (hover) */

:root {
  --primary: #F472B6;
  --primary-dark: #DB2777;
  --accent: #34D399;
  --accent-dark: #059669;
  --bg: #FFFAF5;
  --bg-alt: #FCE7F3;
  --bg-mint: #D1FAE5;
  --text: #292524;
  --text-muted: #78716C;
  --card-bg: #FFFFFF;
  --border: #FBCFE8;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 8px 28px rgba(244, 114, 182, 0.12);
  --shadow-hover: 0 16px 44px rgba(244, 114, 182, 0.22);
  --transition: 240ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

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

img { max-width: 100%; height: auto; display: block; }

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

/* === Accent bar at very top === */
.accent-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

/* === Header / Nav E === */
.site-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 1px 0 var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Comfortaa', cursive;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color var(--transition);
}
.nav-links a:not(.nav-cta):hover { color: var(--primary-dark); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--accent);
  padding: 11px 22px;
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--primary);
  transform: translateY(-2px);
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: #FFFFFF;
  padding: 18px 24px 26px;
  border-top: 1px solid var(--border);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px dashed var(--border);
}
.mobile-nav a:last-child {
  border: 0;
  margin-top: 12px;
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-align: center;
  border-radius: 50px;
  padding: 14px;
}

/* === Buttons (pill) === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(244, 114, 182, 0.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(219, 39, 119, 0.45);
}
.btn-secondary {
  background: #FFFFFF;
  color: var(--text);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
}

/* === Hero G — central card === */
.hero {
  padding: 70px 0 80px;
  background:
    radial-gradient(circle at 20% 10%, rgba(244, 114, 182, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(52, 211, 153, 0.18) 0%, transparent 45%),
    var(--bg);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(244, 114, 182, 0.18) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.35;
  pointer-events: none;
}
.hero-card {
  position: relative;
  background: #FFFFFF;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 56px 60px;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(244, 114, 182, 0.22);
  border: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-mint);
  color: var(--accent-dark);
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.0); }
}
.hero-card h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 22px;
  color: var(--text);
}
.hero-card h1 .gradient {
  background: linear-gradient(90deg, var(--primary-dark), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-card p.lead {
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px dashed var(--border);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust-item .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-mint);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* === Stats === */
.stats {
  padding: 50px 0;
  background: #FFFFFF;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: var(--bg-alt);
  padding: 30px 22px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition);
}
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat:nth-child(2) { background: var(--bg-mint); }
.stat:nth-child(3) { background: var(--bg-alt); }
.stat:nth-child(4) { background: var(--bg-mint); }
.stat-num {
  font-family: 'Comfortaa', cursive;
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Generic section === */
.section {
  padding: 90px 0;
  background: #FFFFFF;
}
.section-accent {
  background: var(--bg);
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 17px;
}

/* === Cards F — large icon top (60x60 colored squares) === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all var(--transition);
}
.feature:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 28px;
  color: #FFFFFF;
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
}
.feature:nth-child(1) .feature-icon { background: var(--primary); }
.feature:nth-child(2) .feature-icon { background: var(--accent); }
.feature:nth-child(3) .feature-icon { background: #A78BFA; }
.feature:nth-child(4) .feature-icon { background: #FBBF24; color: var(--text); }
.feature:nth-child(5) .feature-icon { background: var(--primary-dark); }
.feature:nth-child(6) .feature-icon { background: var(--accent-dark); }
.feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}
.feature p {
  font-size: 15px;
  line-height: 1.65;
}

/* === Platforms === */
.platforms {
  background: var(--bg);
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  display: block;
  color: var(--text);
}
.platform:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  transform: translateY(-6px) scale(1.02);
  color: var(--text);
}
.platform-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 16px;
  background: var(--bg-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--accent-dark);
  transition: transform var(--transition);
}
.platform:hover .platform-icon { transform: rotate(-6deg) scale(1.05); }
.platform h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.platform span {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Why-pipl text section === */
.why-pipl {
  background: #FFFFFF;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 22px;
}
.why-text p {
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.75;
  color: var(--text-muted);
}
.why-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.why-block {
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
}
.why-block:nth-child(1) { background: var(--bg-alt); color: var(--primary-dark); }
.why-block:nth-child(2) { background: var(--bg-mint); color: var(--accent-dark); transform: translateY(20px); }
.why-block:nth-child(3) { background: var(--bg-mint); color: var(--accent-dark); transform: translateY(-20px); }
.why-block:nth-child(4) { background: var(--bg-alt); color: var(--primary-dark); }
.why-block .big {
  font-size: 38px;
  line-height: 1;
}
.why-block .lbl {
  font-size: 14px;
  font-family: 'Lexend', sans-serif;
  font-weight: 500;
  color: var(--text);
}

/* === Use cases === */
.usecases {
  background: var(--bg);
}
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.usecase {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 32px 30px;
  border-left: 6px solid var(--primary);
  transition: all var(--transition);
}
.usecase:nth-child(2n) { border-left-color: var(--accent); }
.usecase:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}
.usecase h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.usecase p {
  font-size: 15px;
}

/* === Pricing card (gradient pink->mint) === */
.pricing {
  background: #FFFFFF;
}
.price-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 32px;
  padding: 56px 50px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(244, 114, 182, 0.35);
}
.price-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.price-card .label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}
.price-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  margin-bottom: 30px;
}
.price-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}
.price-card .price-num {
  font-family: 'Comfortaa', cursive;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}
.price-card .price-sub {
  font-size: 17px;
  opacity: 0.9;
}
.price-card .btn-light {
  background: #FFFFFF;
  color: var(--primary-dark);
  font-weight: 700;
}
.price-card .btn-light:hover {
  background: var(--text);
  color: #FFFFFF;
}
.price-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}
.price-features span {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === CTA banner === */
.cta-band {
  background: linear-gradient(120deg, var(--bg-alt), var(--bg-mint));
  padding: 80px 0;
}
.cta-band .container {
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}
.cta-band p {
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* === FAQ D — open card grid === */
.faq {
  background: #FFFFFF;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.faq-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  transition: all var(--transition);
}
.faq-card:hover {
  background: var(--bg-alt);
  transform: translateY(-4px);
  border-color: var(--primary);
}
.faq-card .q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.faq-card .q-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 17px;
}
.faq-card:nth-child(2n) .q-mark { background: var(--accent); }
.faq-card h3 {
  font-size: 17px;
  color: var(--text);
  line-height: 1.4;
}
.faq-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 46px;
}

/* === Footer C — 3 col + CTA banner above === */
.footer-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
  color: #FFFFFF;
  text-align: center;
}
.footer-cta h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}
.footer-cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.footer-cta .btn-primary {
  background: #FFFFFF;
  color: var(--primary-dark);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.footer-cta .btn-primary:hover {
  background: var(--text);
  color: #FFFFFF;
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--text);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.footer-col ul a:hover { color: var(--primary-dark); }
.footer-about {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
}
.footer-bottom {
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

/* === Instruction page === */
.steps {
  background: var(--bg);
  padding: 80px 0;
}
.step {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 40px 44px;
  margin-bottom: 28px;
  position: relative;
  border-left: 6px solid var(--primary);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  align-items: start;
}
.step:nth-child(2n) { border-left-color: var(--accent); }
.step-num {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #FFFFFF;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Comfortaa', cursive;
  font-size: 38px;
  font-weight: 700;
}
.step h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.step p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.step .step-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.step ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 8px;
}
.step ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 15px;
}
.step ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-mint);
  border: 3px solid var(--accent);
}

.afterpay {
  background: #FFFFFF;
  padding: 80px 0;
}
.afterpay-info {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px 38px;
  margin-bottom: 40px;
}
.afterpay-info h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.afterpay-info p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* === Animations (Anim E + utility fade-up) === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 980px) {
  .features-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { max-width: 460px; margin: 0 auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 740px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero { padding: 50px 0; }
  .hero-card { padding: 40px 26px 44px; border-radius: 24px; }
  .section { padding: 70px 0; }
  .features-grid, .platforms-grid, .faq-grid, .usecases-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .step { grid-template-columns: 1fr; padding: 30px 24px; }
  .step-num { width: 64px; height: 64px; font-size: 30px; }
  .price-card { padding: 40px 26px; }
  .price-card .price-num { font-size: 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .faq-card p { padding-left: 0; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 30px; }
}
