/* GoFlyVPN Mirror — Neo-Brutalism Design System */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* ─── DESIGN TOKENS ─── */
:root {
  --bg-page:        #FFFDF8;
  --bg-card:        #ffffff;
  --color-shadow:   28, 25, 23;
  --primary:        #ffdf20;
  --primary-text:   #1c1917;
  --text-900:       #1c1917;
  --text-800:       #292524;
  --text-700:       #44403c;
  --text-600:       #57534e;
  --text-400:       #a8a29e;
  --border:         #292524;
  --dark:           #1c1917;
  --radius-btn:     12px;
  --radius-card:    16px;
  --radius-card-lg: 24px;
  --header-h:       64px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text-900); background: var(--bg-page);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-900); text-decoration: none; }
a:hover { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.2; font-weight: 900; }
p { margin-top: 0; margin-bottom: 1em; }

/* ─── NEO-SHADOW ─── */
.neo-shadow    { box-shadow: rgb(var(--color-shadow)) 4px 4px; }
.neo-shadow-sm { box-shadow: rgb(var(--color-shadow)) 2px 2px; }
.neo-hover:hover  { transform: translate(-2px,-2px); box-shadow: rgb(var(--color-shadow)) 6px 6px; }
.neo-hover:active { transform: translate(2px,2px);  box-shadow: rgb(var(--color-shadow)) 0 0; }
.neo-btn-hover:hover  { transform: translate(-1px,-1px); box-shadow: rgb(var(--color-shadow)) 6px 6px; }
.neo-btn-hover:active { transform: translate(1px,1px);   box-shadow: rgb(var(--color-shadow)) 0 0; }
/* Never put overflow:hidden on ancestor of neo-shadow element */

/* ─── ANIMATIONS ─── */
@keyframes orbit {
  0%   { transform: rotate(0deg) translate(150px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(150px) rotate(-360deg); }
}
@keyframes float {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-15px) rotate(4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes marquee {
  0%   { transform: translate(0); }
  100% { transform: translate(-50%); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-orbit       { animation: 15s linear 0s infinite normal  none running orbit; }
.animate-orbit-slow  { animation: 25s linear 0s infinite reverse none running orbit; }
.animate-float       { animation: 6s ease-in-out 0s infinite normal  none running float; }
.animate-float-delay { animation: 6s ease-in-out 3s infinite normal  none running float; }
.animate-marquee     { animation: 115s linear 0s infinite normal  none running marquee; }
.animate-marquee-rev { animation: 127s linear 0s infinite reverse none running marquee; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,253,248,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,25,23,.08);
}
.nav {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px; height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo  { height: 40px; width: 40px; object-fit: contain; }
.brand-name { font-weight: 900; font-size: 18px; color: var(--text-900); letter-spacing: -.02em; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  display: block; padding: 8px 12px;
  font-size: 14px; font-weight: 900; color: var(--text-700);
  text-transform: uppercase; letter-spacing: .025em;
  border-radius: 8px; transition: color .15s;
}
.nav-links > li > a:hover { color: var(--text-900); }

/* ─── NAV DROPDOWN (M3, M4, M26) ─── */
.dropdown { position: relative; }
.dropdown-toggle, .lang-btn {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 900; color: var(--text-700);
  text-transform: uppercase; letter-spacing: .025em;
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s;
}
.dropdown-toggle:hover, .lang-btn:hover { color: var(--text-900); }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 12px; padding: 8px;
  min-width: 140px; display: none; z-index: 100;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
}
/* M26: bridge prevents gap between trigger and panel */
.dropdown::before {
  content: ''; position: absolute; left: 0; right: 0;
  top: 100%; height: 10px; display: none;
}
.dropdown:hover::before { display: block; }
.dropdown:hover > .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block; padding: 8px 12px;
  font-size: 14px; font-weight: 700; color: var(--text-900);
  border-radius: 8px; transition: background .15s;
}
.dropdown-panel a:hover { background: #f5f4f1; }

/* ─── LANG SWITCHER ─── */
.lang-btn {
  border: 2px solid var(--border); border-radius: var(--radius-btn);
  background: var(--bg-card); color: var(--text-900);
  font-weight: 700; padding: 8px 14px; font-size: 14px;
  text-transform: none; letter-spacing: 0;
}
.lang-btn:hover { background: #f5f4f1; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ─── CTA BUTTON ─── */
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--primary-text);
  font-weight: 900; font-size: 15px;
  border: 2px solid var(--border); border-radius: var(--radius-btn);
  padding: 10px 20px; white-space: nowrap;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}
.btn-cta:hover  { transform: translate(-1px,-1px); box-shadow: rgb(var(--color-shadow)) 6px 6px; color: var(--primary-text); text-decoration: none; }
.btn-cta:active { transform: translate(1px,1px); box-shadow: rgb(var(--color-shadow)) 0 0; }
.btn-cta.btn-lg {
  font-size: 18px; padding: 18px 36px;
  border-radius: 16px;
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); color: var(--text-900);
  font-weight: 900; font-size: 15px;
  border: 2px solid var(--border); border-radius: var(--radius-btn);
  padding: 10px 20px;
  box-shadow: rgb(var(--color-shadow)) 2px 2px;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}
.btn-secondary:hover  { transform: translate(-2px,-2px); box-shadow: rgb(var(--color-shadow)) 6px 6px; color: var(--text-900); text-decoration: none; }
.btn-secondary:active { transform: translate(2px,2px); box-shadow: rgb(var(--color-shadow)) 0 0; }
.btn-android { background: var(--primary); }
.btn-windows { background: #7dd3fc; }
.btn-ios     { background: var(--dark); color: #fff; }

/* ─── HAMBURGER / MOBILE NAV ─── */
.nav-toggle {
  display: none; background: none; border: 2px solid var(--border);
  border-radius: 8px; width: 40px; height: 40px; cursor: pointer;
  font-size: 20px; align-items: center; justify-content: center;
  color: var(--text-900); flex-shrink: 0; margin-left: auto;
}
.mobile-lang { display: none; }

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-page);
  min-height: 85vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 60px;
}
.hero-orbit-container {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
}
.orbit-outer {
  width: 700px; height: 700px;
  border: 3px dashed rgba(28,25,23,.15);
}
.orbit-inner {
  width: 450px; height: 450px;
  border: 3px solid rgba(28,25,23,.2);
}
.orbit-marker {
  position: absolute; top: 0; left: 50%;
  width: 32px; height: 32px;
  background: #bae6fd; /* sky-200 */
  border: 2px solid var(--border); border-radius: 50%;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: rgb(var(--color-shadow)) 2px 2px;
}
.orbit-marker-inner {
  position: absolute; top: 50%; left: 0;
  width: 24px; height: 24px;
  background: #f87171; /* red-400 */
  border: 2px solid var(--border); border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: rgb(var(--color-shadow)) 2px 2px;
}
.glow-blob {
  position: absolute;
  width: 300px; height: 300px;
  background: var(--primary); border-radius: 50%;
  opacity: 0.3; filter: blur(80px);
  pointer-events: none;
}
.float-star {
  position: absolute; top: 10%; left: 20%;
  font-size: 40px; color: #facc15; /* yellow-400 */
  filter: drop-shadow(2px 2px 0 rgb(28,25,23));
  pointer-events: none;
}
.float-circle {
  position: absolute; bottom: 20%; right: 15%;
  font-size: 32px; color: #38bdf8; /* sky-400 */
  filter: drop-shadow(2px 2px 0 rgb(28,25,23));
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 20px; max-width: 600px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--primary-text);
  border: 2px solid var(--border); border-radius: 12px;
  padding: 8px 16px; font-size: 12px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900; letter-spacing: -.025em;
  color: var(--text-900); margin: 0;
}
.hero p { font-size: 18px; color: var(--text-600); max-width: 500px; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ─── SECTION ─── */
.section {
  background: var(--bg-page);
  padding: 80px 24px;
}
.section-alt { background: #f5f4f1; }
.container { max-width: 1024px; margin: 0 auto; }
.section-title { font-size: clamp(24px,4vw,36px); font-weight: 900; margin-bottom: 12px; letter-spacing: -.02em; }
.section-sub   { font-size: 17px; color: var(--text-600); margin-bottom: 40px; }

/* ─── SECTION BADGE ─── */
.section-badge {
  display: inline-block; margin-bottom: 16px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em;
  border: 1px solid;
}
.badge-green { background: #dcfce7; color: #16a34a; border-color: #22c55e; }
.badge-yellow { background: #fef9c3; color: #ca8a04; border-color: #eab308; }

/* ─── FEATURE GRID (Why Choose — 6 cards) ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: var(--radius-card); padding: 32px;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
  transition: transform .15s, box-shadow .15s;
}
.feature-card:hover { transform: translate(-2px,-2px); box-shadow: rgb(var(--color-shadow)) 6px 6px; }
.feature-icon-box {
  width: 56px; height: 56px; border-radius: 16px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 24px;
  box-shadow: rgb(var(--color-shadow)) 2px 2px;
}
.feature-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.feature-card p  { font-size: 15px; color: var(--text-600); margin: 0; }

/* Icon bg colors */
.ic-sky200   { background: #bae6fd; } /* sky-200 */
.ic-yellow   { background: #ffdf20; }
.ic-red      { background: #fca5a5; } /* red-300 */
.ic-green    { background: #86efac; } /* green-300 */
.ic-purple   { background: #d8b4fe; } /* purple-300 */
.ic-orange   { background: #fdba74; } /* orange-300 */
.ic-pink     { background: #f9a8d4; } /* pink-300 */
.ic-emerald  { background: #6ee7b7; } /* emerald-300 */
.ic-blue     { background: #93c5fd; } /* blue-300 */

/* ─── WHY-USE GRID (3 cards) ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 24px;
}

/* ─── GLOBE SECTION ─── */
.globe-section {
  background: var(--bg-page); padding: 80px 24px;
  text-align: center;
}
.globe-wrap {
  max-width: 600px; margin: 40px auto 0;
  position: relative;
}
#globe-canvas {
  width: 100%; aspect-ratio: 1/1;
  display: block;
}
.globe-fallback {
  width: 100%; aspect-ratio: 1/1;
  background: radial-gradient(circle at 40% 40%, #e7e5e4, #d6d3d1);
  border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: var(--text-600);
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
}

/* ─── REVIEWS MARQUEE ─── */
.reviews-section { background: var(--bg-page); padding: 80px 0; overflow: hidden; }
.reviews-section .container { overflow: hidden; }
.reviews-heading { padding: 0 24px; margin-bottom: 40px; }
.marquee-track { display: flex; gap: 24px; width: max-content; }
.marquee-row   { display: flex; gap: 24px; }
.marquee-wrap  { overflow: hidden; margin-bottom: 20px; }
.review-card {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 20px; padding: 20px 24px;
  width: 360px; flex-shrink: 0;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
}
.review-top    { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; color: var(--text-900);
  flex-shrink: 0;
}
.review-name   { font-weight: 900; font-size: 14px; color: var(--text-900); }
.review-date   { font-size: 12px; color: var(--text-400); }
.review-stars  { color: #eab308; font-size: 14px; letter-spacing: 1px; margin-bottom: 8px; }
.review-text   { font-size: 14px; color: var(--text-700); line-height: 1.6; margin: 0; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--bg-page); padding: 100px 24px 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px,5vw,48px); font-weight: 900; margin-bottom: 12px; letter-spacing: -.02em; }
.page-hero p  { font-size: 18px; color: var(--text-600); max-width: 560px; margin: 0 auto 28px; }

/* ─── DOWNLOAD CARDS ─── */
.platform-cards { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; display: flex; flex-direction: column; gap: 28px; }
.platform-card  {
  border: 2px solid var(--border); border-radius: 24px; padding: 32px 36px;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
}
.platform-card-android { background: #dcfce7; }
.platform-card-windows { background: #dbeafe; }
.platform-card-ios     { background: #f5f3ff; }
.platform-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.platform-icon  {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  box-shadow: rgb(var(--color-shadow)) 2px 2px;
}
.platform-icon-android { background: #16a34a; color: #fff; }
.platform-icon-windows { background: #0ea5e9; color: #fff; }
.platform-icon-ios     { background: #1c1917; color: #fff; }
.platform-card h2 { font-size: 26px; font-weight: 900; margin: 0 0 4px; }
.platform-card .platform-sub { font-size: 15px; color: var(--text-600); margin: 0; }
.platform-badge {
  display: inline-block; padding: 4px 10px; margin-bottom: 16px;
  border-radius: 999px; border: 2px solid var(--border);
  font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
  background: var(--bg-card); color: var(--text-900);
  box-shadow: rgb(var(--color-shadow)) 2px 2px;
}
.platform-benefits { margin-bottom: 20px; }
.platform-benefits li {
  font-size: 15px; color: var(--text-700); padding: 6px 0;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(28,25,23,.08);
}
.platform-benefits li::before { content: '✓'; font-weight: 900; color: #16a34a; }
.platform-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── FAQ ─── */
.faq-hero { background: var(--bg-page); padding: 100px 24px 40px; }
.faq-hero h1 { font-size: clamp(32px,6vw,48px); font-weight: 900; margin-bottom: 12px; letter-spacing: -.02em; }
.faq-hero p  { font-size: 18px; color: var(--text-600); font-weight: 700; }
.faq-wrap { max-width: 896px; margin: 0 auto; padding: 0 24px 80px; }
.faq-item {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 16px; margin-bottom: 20px;
  box-shadow: rgb(var(--color-shadow)) 4px 4px;
  overflow: hidden;
  animation: fadeSlideUp .4s ease both;
}
.faq-item[open] { background: #fef9c3; }
.faq-q {
  width: 100%; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: left;
}
.faq-q-text  { font-size: 17px; font-weight: 900; color: var(--text-900); flex: 1; }
.faq-toggle  {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 2px solid var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: transform .2s, background .2s;
}
.faq-item[open] .faq-toggle { background: var(--primary); transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; font-size: 15px; color: var(--text-600); line-height: 1.65; }
.faq-a ul { list-style: disc; padding-left: 20px; margin: 8px 0; }
.faq-a ul li { margin-bottom: 4px; }

/* ─── PRIVACY / CONTENT PAGES ─── */
.content-page { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.content-page h2 { font-size: 22px; font-weight: 900; margin-top: 36px; margin-bottom: 10px; }
.content-page p  { color: var(--text-700); font-size: 15px; line-height: 1.7; }
.content-page ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.content-page ul li { font-size: 15px; color: var(--text-700); margin-bottom: 6px; }

/* ─── CLOSING CTA ─── */
.closing-section {
  background: var(--bg-page); padding: 60px 24px; text-align: center;
  border-top: 2px solid rgba(28,25,23,.08);
}
.closing-section h2 { font-size: clamp(22px,4vw,32px); font-weight: 900; margin-bottom: 10px; }
.closing-section p  { font-size: 17px; color: var(--text-600); margin-bottom: 28px; }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); color: #fff; padding: 20px 24px; text-align: center; }
.site-footer p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }

/* ─── BULLETS (generic) ─── */
.bullets { list-style: none; padding: 0; }
.bullets li { padding: 6px 0; font-size: 15px; color: var(--text-700); display: flex; align-items: flex-start; gap: 8px; }
.bullets li::before { content: '✓'; font-weight: 900; color: #16a34a; flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-page); padding: 24px; z-index: 999;
    gap: 4px; border-top: 2px solid rgba(28,25,23,.12);
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a,
  .nav-links.open .dropdown-toggle {
    padding: 14px 16px; font-size: 16px; display: block; border-radius: 8px;
  }
  .nav-links.open .dropdown-panel {
    position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 20px;
    background: transparent; display: block;
  }
  .mobile-lang { display: block; padding: 16px 0 0; border-top: 1px solid rgba(28,25,23,.12); margin-top: 16px; }
  .mobile-lang a {
    display: block; padding: 10px 16px; font-weight: 700; font-size: 15px;
    color: var(--text-700); border-radius: 8px;
  }
  .mobile-lang a.active { background: var(--primary); color: var(--text-900); }

  .hero { min-height: auto; padding: 80px 24px 60px; }
  .orbit-outer, .orbit-inner { display: none; }
  .float-star, .float-circle { display: none; }
}

@media (max-width: 639px) {
  .platform-btns { flex-direction: column; }
  .platform-btns a { text-align: center; justify-content: center; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn-cta.btn-lg { width: 100%; justify-content: center; }
  .marquee-wrap { overflow: hidden; }
}

/* ─── QA: external links open in new tab (M1) ─── */
/* Handled by sitegen (target=_blank rel=noopener) */

/* ─── COMPARISON TABLE (M24) ─── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; }
.compare-table th, .compare-table td {
  padding: 12px 16px; border-bottom: 1px solid rgba(28,25,23,.1);
  font-size: 15px; text-align: left;
}
.compare-table th { font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-600); }
.compare-table td.highlight, .compare-table th.highlight { background: rgba(255,223,32,.15); font-weight: 900; }
