/* Gulf Pro VPN — landing page */
:root {
  --night: #050716;
  --navy: #0b1033;
  --indigo: #4c5bff;
  --indigo-soft: #8e9bff;
  --violet: #7b4dff;
  --sky: #2d8ce8;
  --safe: #2ee59d;
  --alert: #ff5c7a;
  --sand: #e8d6b0;
  --ink: #eef0fb;
  --ink-dim: #a3abcf;
  --line: rgba(255, 255, 255, 0.1);
  --display: 'Unbounded', 'Poppins', system-ui, sans-serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo-soft); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: #fff; }
h2 { font: 700 var(--step-2)/1.15 var(--display); letter-spacing: -0.01em; max-width: 22ch; }
h3 { font: 600 var(--step-1)/1.3 var(--body); }
.body { color: var(--ink-dim); max-width: 60ch; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
section { padding-block: clamp(64px, 9vw, 120px); scroll-margin-top: 68px; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(5, 7, 22, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1rem/1 var(--display); letter-spacing: 0.02em; }
.brand svg { width: 30px; height: 30px; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--ink-dim); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.top nav a:hover { color: #fff; }
.top nav .nav-cta { color: #fff; background: var(--indigo); padding: 9px 16px; border-radius: 999px; }
.top nav .nav-cta:hover { background: #5d6bff; }
@media (max-width: 720px) { .top nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: hidden;
  background: radial-gradient(900px 520px at 78% 40%, rgba(76, 91, 255, 0.22), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
h1 { font: 700 var(--step-3)/1.02 var(--display); letter-spacing: -0.025em; max-width: 11ch; }
.lede { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); color: var(--ink-dim); max-width: 34ch; margin: 26px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.play { display: inline-block; margin-left: -12px; }
.play img { width: 194px; height: auto; }
.req { margin: 0; color: var(--ink-dim); font-size: 0.9rem; }

/* The stage: concentric rings that switch from unprotected to protected once */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; }
.rings i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 92, 122, 0.35); transition: border-color 1.2s ease, box-shadow 1.2s ease; }
.rings i:nth-child(1) { width: 380px; height: 380px; }
.rings i:nth-child(2) { width: 500px; height: 500px; opacity: 0.7; }
.rings i:nth-child(3) { width: 620px; height: 620px; opacity: 0.45; }
.rings i:nth-child(4) { width: 740px; height: 740px; opacity: 0.25; }
.phone { position: relative; width: 300px; aspect-ratio: 390 / 844; border-radius: 44px; padding: 10px; background: #12173a; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(0, 0, 0, 0.6); }
.phone .scr { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; border-radius: 34px; }
.scr-on { opacity: 0; transition: opacity 0.9s ease; }
  font-weight: 600; font-size: 0.9rem; color: var(--alert); background: rgba(255, 92, 122, 0.12); border: 1px solid rgba(255, 92, 122, 0.35); transition: all 0.9s ease; }

.stage.on .rings i { border-color: rgba(46, 229, 157, 0.5); box-shadow: 0 0 40px rgba(46, 229, 157, 0.08) inset; }
.stage.on .scr-on { opacity: 1; }
.stage.on .stage.on 
/* One orchestrated load moment: rings ripple out, then the phone connects */
@media (prefers-reduced-motion: no-preference) {
  .rings i { animation: ripple 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .rings i:nth-child(2) { animation-delay: .12s; }
  .rings i:nth-child(3) { animation-delay: .24s; }
  .rings i:nth-child(4) { animation-delay: .36s; }
}
@keyframes ripple { from { transform: scale(.6); opacity: 0; } }

/* Features: a quiet two-column list */
.features { border-top: 1px solid var(--line); }
.feature-list { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
.feature-list svg { grid-row: span 2; width: 30px; height: 30px; fill: var(--indigo-soft); margin-top: 2px; }
.feature-list p { margin: 6px 0 0; color: var(--ink-dim); max-width: 46ch; }

/* Locations */
.locations { background: var(--navy); }
.loc-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.phone-tilt { width: 280px; justify-self: center; transform: rotate(-4deg); }
.locations .body { margin: 18px 0 30px; }
.flags { display: flex; flex-wrap: wrap; gap: 10px; }
.flag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; }
.flag img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.flags-note { margin: 0; color: var(--ink-dim); }

/* How it works: a real sequence, so it's numbered */
.steps { list-style: none; counter-reset: step; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; position: relative; padding-top: 74px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.2rem/1 var(--display); color: var(--night); background: var(--sand); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 26px; left: 64px; right: -20px; height: 1px; background: linear-gradient(90deg, rgba(232, 214, 176, .5), transparent); }
.steps p { margin: 8px 0 0; color: var(--ink-dim); max-width: 30ch; }

/* Privacy ledger */
.privacy { background: linear-gradient(180deg, var(--night), #0a0d29); border-block: 1px solid var(--line); }
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 48px 0 28px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.ledger > div { padding: 32px 36px; }
.ledger > div + div { border-left: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.ledger h3 { margin-bottom: 14px; }
.ledger ul { margin: 0; padding: 0; list-style: none; }
.ledger li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--ink-dim); }
.ledger > div:first-child li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 14px; height: 2px; background: var(--alert); }
.ledger > div:last-child li::before { content: ''; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo-soft); }

/* FAQ */
.faq h2 { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.08rem; color: #fff; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--indigo-soft); border-bottom: 2px solid var(--indigo-soft); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 22px; color: var(--ink-dim); max-width: 62ch; }

/* Closing + footer */
.closing { padding-block: clamp(56px, 8vw, 96px); background: radial-gradient(700px 300px at 20% 50%, rgba(123, 77, 255, 0.22), transparent 70%), var(--navy); }
.closing-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot { padding-block: 32px; color: var(--ink-dim); font-size: 0.9rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: var(--ink-dim); }
.foot .legal { flex-basis: 100%; font-size: 0.78rem; opacity: 0.75; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .loc-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .stage { min-height: 520px; margin-top: 8px; }
  .rings i:nth-child(3), .rings i:nth-child(4) { display: none; }
  .loc-grid .phone-tilt { order: 2; }
}
@media (max-width: 720px) {
  .feature-list, .steps, .ledger { grid-template-columns: 1fr; }
  .ledger > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ledger > div { padding: 26px 22px; }
  .steps li:not(:last-child)::after { display: none; }
  .phone { width: 250px; }
  .rings i:nth-child(1) { width: 320px; height: 320px; }
  .rings i:nth-child(2) { width: 420px; height: 420px; }
  .stage { min-height: 470px; }
  }

/* ---------- Dynamic site additions (country pages, blog) ---------- */
.preview-bar { background: var(--sand); color: var(--night); text-align: center; font-weight: 600; font-size: 0.85rem; padding: 6px 12px; }
.brand svg { width: 30px; height: 30px; flex: none; }

.countries .body { margin-top: 14px; }
.country-links { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.country-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: #fff; text-decoration: none; font-weight: 600; transition: border-color .2s, background .2s; }
.country-links a:hover { border-color: rgba(142, 155, 255, 0.6); background: rgba(76, 91, 255, 0.1); }
.country-links img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.countries-compact { padding-block: clamp(48px, 6vw, 72px); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 18px; }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero-country h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); max-width: 14ch; }
.country-badge { position: absolute; right: 16%; top: 12%; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--night); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); object-fit: cover; }
.hero-country .stage { min-height: 540px; }

.prose-section { padding-block: clamp(48px, 6vw, 80px); }
.prose { color: #d6daf0; font-size: 1.06rem; line-height: 1.8; }
.prose h2 { font: 700 clamp(1.4rem, 1.1rem + 1vw, 1.8rem)/1.25 var(--display); margin: 2em 0 0.6em; max-width: none; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin: 0.35em 0; }
.prose a { color: var(--indigo-soft); }
.prose strong { color: #fff; }
.prose img { border-radius: 16px; margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sand); color: var(--ink); }
.prose > :first-child { margin-top: 0; }

.page-head { padding-block: clamp(48px, 7vw, 96px) 12px; }
.page-head .lede { margin-bottom: 0; max-width: 52ch; }
.blog-list { padding-top: 40px; }
.latest { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head a { font-weight: 600; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-top: 40px; }
.post-item h3 { font: 600 1.2rem/1.35 var(--body); margin: 6px 0 8px; }
.post-item h3 a { color: #fff; text-decoration: none; }
.post-item h3 a:hover { color: var(--indigo-soft); }
.post-item p { margin: 0; color: var(--ink-dim); }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 14px; border: 1px solid var(--line); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.85rem; color: var(--ink-dim); }
.post-item .post-meta { margin: 0; }
.pager { display: flex; justify-content: space-between; margin-top: 48px; font-weight: 600; }

.article-head { padding-top: clamp(40px, 6vw, 80px); }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.1; max-width: 22ch; margin-bottom: 18px; }
.draft-flag { display: inline-block; background: var(--sand); color: var(--night); font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.article-cover { margin: 36px auto 40px; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); }
.article .prose { padding-bottom: 32px; padding-top: 28px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 72px; padding: 26px 28px; border-radius: 24px; background: var(--navy); border: 1px solid var(--line); }
.article-cta h2 { font-size: 1.25rem; max-width: none; }
.article-cta p { margin: 6px 0 0; color: var(--ink-dim); }

.foot { padding-block: 56px 28px; border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 32px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 8px; }
.foot-cols nav a { color: var(--ink-dim); text-decoration: none; }
.foot-cols nav a:hover { color: #fff; }
.foot-h { font: 600 1rem/1.4 var(--body); margin-bottom: 6px; max-width: none; }
.foot-blurb { margin: 14px 0 0; max-width: 34ch; }
.foot .legal { margin-top: 40px; font-size: 0.8rem; opacity: 0.8; }

@media (max-width: 960px) {
  .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .post-list { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .country-badge { right: 8%; }
}
