/* Outline VPN — outlinevpn.lol
   Plus Jakarta Sans + Inter
   Deep ocean blue + green-light on white
   Hero: gradient + form-card overlay
   Cards: shadow + hover lift
   FAQ: two-column open grid
*/

:root {
  --primary: #0F4C81;
  --primary-dark: #0A3866;
  --primary-soft: #1E5F9C;
  --accent: #4ADE80;
  --accent-dark: #22C55E;
  --bg: #FFFFFF;
  --bg-alt: #ECFDF5;
  --bg-deep: #0B2A47;
  --text: #0F172A;
  --text-muted: #475569;
  --card-bg: #FFFFFF;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 6px rgba(15, 76, 129, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 76, 129, 0.10);
  --shadow-lg: 0 18px 44px rgba(15, 76, 129, 0.16);
  --gradient: linear-gradient(135deg, #0F4C81 0%, #1E5F9C 45%, #4ADE80 100%);
  --gradient-soft: linear-gradient(135deg, #ECFDF5 0%, #F0F9FF 100%);
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.18;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; margin-bottom: .9rem; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { color: var(--text-muted); }

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

.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(74, 222, 128, 0.14);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo img { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta):hover { color: var(--primary); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-links a.nav-cta {
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 10px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.nav-links a.nav-cta:hover {
  background: #38c46e;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 222, 128, 0.45);
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: none;
  z-index: 90;
}
.mobile-nav.is-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;
  margin-top: 12px;
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-align: center;
  border-radius: 10px;
  padding: 13px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 11px;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 8px 22px rgba(74, 222, 128, 0.36);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.48);
}
.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--primary);
  color: #FFFFFF;
}
.btn-dark:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--gradient);
  color: #FFFFFF;
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(74, 222, 128, 0.28), transparent 50%),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.10), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero-text .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 22px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.hero-text p.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  margin-top: 8px;
}
.trust-row > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.94);
  font-size: .92rem;
  font-weight: 500;
}
.trust-dot {
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

/* Hero form-card overlay */
.hero-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 30px 70px rgba(7, 28, 51, 0.32);
  color: var(--text);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 88px; height: 88px;
  background: var(--accent);
  border-radius: 24px;
  z-index: -1;
  opacity: .55;
}
.hero-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.hero-card .price-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  margin-bottom: 18px;
  border: 1px solid #BBF7D0;
}
.hero-card .card-list {
  list-style: none;
  margin: 18px 0 22px;
}
.hero-card .card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: .94rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.hero-card .card-list li:last-child { border-bottom: 0; }
.hero-card .card-list li strong {
  color: var(--text);
  font-weight: 600;
}
.tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #064E3B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .7rem;
  margin-top: 2px;
}
.hero-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.hero-card .price-row .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary);
}
.hero-card .price-row .small {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ===== STATS ===== */
.stats {
  background: var(--bg);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--primary);
  display: block;
  line-height: 1.1;
}
.stat .label {
  margin-top: 8px;
  font-size: .92rem;
  color: var(--text-muted);
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74, 222, 128, 0.4);
}
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid #BBF7D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .96rem; line-height: 1.65; }

/* ===== DOWNLOAD / PLATFORMS ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.platform:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.platform-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #DBEAFE, #ECFDF5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.platform-icon svg { width: 30px; height: 30px; }
.platform h3 { font-size: 1.05rem; }
.platform p {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  flex-grow: 1;
}
.platform .btn {
  font-size: .87rem;
  padding: 10px 20px;
  width: 100%;
}

/* ===== WHY OUTLINE TEXT BLOCK ===== */
.why {
  background: var(--bg-alt);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-text h2 { margin-bottom: 18px; }
.why-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.78;
}
.why-points {
  list-style: none;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.why-points li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why-points li:last-child { border-bottom: 0; }
.why-points .ic {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-soft);
  border: 1px solid #BBF7D0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-display);
}
.why-points strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  color: var(--text);
}
.why-points span {
  font-size: .94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== USE CASES ===== */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.use-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.use-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.use-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.use-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #BBF7D0;
}
.use-card p {
  font-size: .96rem;
  line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient);
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #FFFFFF; margin-bottom: 14px; }
.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}
.cta-banner .btn-primary { font-size: 1.05rem; padding: 16px 36px; }

/* ===== FAQ — two-column open grid ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #BBF7D0;
}
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
  display: flex;
  gap: 10px;
}
.faq-num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.faq-item p {
  font-size: .94rem;
  line-height: 1.7;
}

/* ===== FOOTER — 4 columns dark ===== */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: .95rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.footer-col .logo {
  color: #FFFFFF;
  margin-bottom: 14px;
}
.footer-col p {
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255, 255, 255, 0.78);
  font-size: .92rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== INSTRUKTSIYA PAGE ===== */
.page-hero {
  background: var(--gradient);
  color: #FFFFFF;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(74, 222, 128, 0.22), transparent 55%);
  pointer-events: none;
}
.page-hero h1 { color: #FFFFFF; margin-bottom: 16px; }
.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
}
.step-num {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: var(--gradient);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  box-shadow: 0 10px 26px rgba(15, 76, 129, 0.32);
}
.step h2 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { margin-bottom: 14px; line-height: 1.75; }
.step .btn { margin-top: 8px; }

.after-pay {
  background: var(--bg-alt);
}
.after-pay-text {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.after-pay-text p {
  font-size: 1.02rem;
  margin-top: 12px;
  line-height: 1.75;
}

.cta-final {
  text-align: center;
}
.cta-final h2 { margin-bottom: 12px; }
.cta-final p { margin-bottom: 24px; }

.footer-min {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  text-align: center;
  font-size: .88rem;
}
.footer-min .logo { justify-content: center; color: #FFFFFF; margin-bottom: 8px; }

/* ===== ANIMATIONS — fade-up ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 80px 0 100px; }
  .features-grid, .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .burger { display: block; }
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .features-grid, .platforms-grid, .uses-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .step { grid-template-columns: 1fr; padding: 28px 22px; }
  .step-num { width: 56px; height: 56px; font-size: 1.4rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { padding: 28px 24px; }
  .cta-banner { padding: 60px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .container { padding: 0 18px; }
}
