/* ProxyMaster VPN — proxymaster.lol
   Palette: deep navy slate + sky accent
   Fonts: Outfit (headings) + Karla (body)
   Vibe: professional, in-control, master-level
================================================ */

:root {
  --primary: #1F2A48;
  --primary-deep: #0F172A;
  --primary-soft: #2C3A5E;
  --accent: #60A5FA;
  --accent-hover: #3B82F6;
  --accent-soft: #BFDBFE;
  --bg: #FFFFFF;
  --bg-alt: #F1F5F9;
  --bg-dark: #0F172A;
  --text: #0F172A;
  --text-muted: #475569;
  --text-soft: #64748B;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --gradient: linear-gradient(135deg, #60A5FA 0%, #1F2A48 100%);
  --gradient-soft: linear-gradient(135deg, #DBEAFE 0%, #F1F5F9 100%);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--text-muted); }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-hover); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
  letter-spacing: .005em;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(96, 165, 250, .35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(59, 130, 246, .45);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-alt);
}

.btn-light {
  background: #FFFFFF;
  color: var(--primary);
}
.btn-light:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

.btn-large { padding: 16px 36px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--primary);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .96rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 10px;
  transition: background .2s;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--accent-hover);
}

.burger {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: 0; padding-top: 16px; }
.mobile-nav .btn { width: 100%; margin-top: 6px; }

/* ===== Hero (Axis B: dark, content left, visual right) ===== */
.hero {
  background: var(--primary-deep);
  color: #FFFFFF;
  padding: 88px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(96, 165, 250, .25), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(96, 165, 250, .15), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(96, 165, 250, .14);
  color: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(96, 165, 250, .3);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero h1 {
  color: #FFFFFF;
  margin: 22px 0 18px;
}
.hero h1 .accent-word { color: var(--accent); }
.hero-desc {
  font-size: 1.13rem;
  color: rgba(241, 245, 249, .82);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: rgba(241, 245, 249, .72);
  font-size: .9rem;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust span::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Visual: proxy routing diagram */
.hero-visual {
  position: relative;
  max-width: 460px;
  margin-left: auto;
}
.routing-card {
  position: relative;
  background: linear-gradient(160deg, rgba(31, 42, 72, .9), rgba(15, 23, 42, .95));
  border: 1px solid rgba(96, 165, 250, .25);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.routing-title {
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-soft);
  margin-bottom: 24px;
}
.route-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(96, 165, 250, .06);
  border: 1px solid rgba(96, 165, 250, .15);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: .92rem;
  color: rgba(241, 245, 249, .85);
}
.route-line .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}
.route-line .ms { margin-left: auto; color: var(--accent); font-weight: 600; font-family: 'Outfit', sans-serif; }
.route-line.active { background: rgba(96, 165, 250, .14); border-color: rgba(96, 165, 250, .4); }
.routing-status {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(96, 165, 250, .1);
  border-radius: 10px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
}

/* ===== Stats ===== */
.stats-bar {
  background: var(--bg);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-num .accent { color: var(--accent); }
.stat-label {
  color: var(--text-muted);
  font-size: .92rem;
}

/* ===== Sections ===== */
section { padding: 90px 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--bg-dark); color: #FFFFFF; }
section.dark h2, section.dark h3 { color: #FFFFFF; }
section.dark p { color: rgba(241, 245, 249, .8); }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 1.05rem;
  margin-top: 14px;
}

/* ===== Features (Axis B: coloured border-top cards) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 4px solid var(--accent);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature:nth-child(2) { border-top-color: #38BDF8; }
.feature:nth-child(3) { border-top-color: #818CF8; }
.feature:nth-child(4) { border-top-color: #34D399; }
.feature:nth-child(5) { border-top-color: #FBBF24; }
.feature:nth-child(6) { border-top-color: #F472B6; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}
.feature h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.feature p {
  font-size: .96rem;
  margin-bottom: 0;
}

/* ===== Platforms ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, transform .25s, box-shadow .25s;
  display: block;
}
.platform:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--primary);
}
.platform-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.platform h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.platform p {
  font-size: .85rem;
  margin: 0;
  color: var(--text-soft);
}

/* ===== Why Master (text block) ===== */
.why-master {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-master-text h2 { margin-bottom: 22px; }
.why-master-text p { margin-bottom: 16px; font-size: 1.02rem; }
.why-list {
  list-style: none;
  margin-top: 24px;
}
.why-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.why-list li:last-child { border-bottom: 0; }
.why-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
  margin-top: 2px;
}
.why-master-visual {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.why-master-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.why-master-visual h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.why-master-visual p {
  color: rgba(255,255,255,.88);
  margin-bottom: 24px;
}
.master-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.master-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
}
.master-stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.78);
}

/* ===== Use cases ===== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.usecase {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.usecase h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.usecase p {
  font-size: .96rem;
  margin: 0;
}

/* ===== Pricing (Axis A: gradient card) ===== */
.pricing-card {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #FFFFFF;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(31, 42, 72, .25);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card h2 { color: #FFFFFF; margin-bottom: 14px; }
.pricing-card .price-desc { color: rgba(255,255,255,.88); margin-bottom: 30px; font-size: 1.05rem; }
.price-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 36px;
}
.price-point {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 18px 14px;
}
.price-point-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-point-label {
  font-size: .85rem;
  color: rgba(255,255,255,.82);
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--bg-alt);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 {
  margin-bottom: 14px;
}
.cta-banner p {
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* ===== FAQ accordion ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--card-bg);
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}
.faq-q .icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform .25s, background .2s, color .2s;
}
.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #FFFFFF;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
}
.faq-a-inner p { margin: 0; }

/* ===== Footer (Axis A: 4 col dark) ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(241, 245, 249, .8);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: rgba(241, 245, 249, .7);
  font-size: .95rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-brand .logo {
  color: #FFFFFF;
  margin-bottom: 14px;
}
.footer-brand p {
  color: rgba(241, 245, 249, .65);
  font-size: .92rem;
  margin-bottom: 0;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(241, 245, 249, .5);
  font-size: .88rem;
}

/* ===== Instruction page ===== */
.instr-hero {
  background: var(--primary-deep);
  color: #FFFFFF;
  padding: 80px 0 70px;
  text-align: center;
}
.instr-hero h1 { color: #FFFFFF; margin-bottom: 14px; }
.instr-hero p {
  color: rgba(241, 245, 249, .82);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.steps {
  display: grid;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.step ul {
  margin: 16px 0;
  padding-left: 22px;
  color: var(--text-muted);
}
.step ul li { margin-bottom: 8px; }

.after-pay {
  background: var(--bg-alt);
}
.after-pay h2 { text-align: center; margin-bottom: 18px; }
.after-pay > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 720px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 64px 0; }
  .hero { padding: 60px 0 80px; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pricing-card { padding: 44px 24px; }
  .step { padding: 28px 22px; }
  .stat-num { font-size: 1.5rem; }
}

@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .hero-trust { gap: 14px; flex-direction: column; }
}
