/* Cat VPN — playful cat-themed landing
   Fonts: Fraunces (serif headings) + Hanken Grotesk (sans body)
   Palette: warm orange + olive green on cream
   Axes: Hero-G (central card), Nav-E (accent bar), Cards-F (large icon top),
         Typo-A (serif+sans), Buttons-B (pill), Sections-G (white+colored blocks),
         Price-A (gradient), FAQ-D (open grid), Footer-C (3col + CTA above), Anim-E (hover) */

:root {
  --primary: #EA7C2E;
  --primary-dark: #C95F18;
  --accent: #6B8E23;
  --accent-dark: #4F6B17;
  --bg: #FFFCF5;
  --bg-alt: #FFF1DC;
  --text: #2D1F0F;
  --text-muted: #6B5945;
  --card-bg: #FFFFFF;
  --border: #F1DDB8;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(45, 31, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(234, 124, 46, 0.12);
  --shadow-lg: 0 16px 40px rgba(45, 31, 15, 0.10);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-variation-settings: "SOFT" 50, "WONK" 1; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }

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

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

/* ========== ACCENT BAR + NAV (axis: Nav-E) ========== */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  width: 100%;
}

.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
}
.logo img { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--primary); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--primary);
  padding: 11px 24px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.burger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: 0.3s;
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--card-bg);
  z-index: 200;
  padding: 70px 28px 28px;
  transition: right 0.35s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.mobile-nav.active { right: 0; }
.mobile-nav-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; font-size: 28px; cursor: pointer;
  color: var(--text);
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}
.mobile-nav a.nav-cta {
  margin-top: 20px;
  background: var(--primary);
  color: #000;
  font-weight: 800;
  text-align: center;
  padding: 13px;
  border-radius: 50px;
  border-bottom: none;
}

/* ========== BUTTONS (axis: pill) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 124, 46, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(234, 124, 46, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.btn-large { padding: 17px 38px; font-size: 1.06rem; }

/* ========== HERO (axis: Hero-G — central card) ========== */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; left: -8%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(234,124,46,0.18), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%; right: -6%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(107,142,35,0.16), transparent 70%);
  border-radius: 50%;
}

.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 48px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero h1 { margin-bottom: 20px; }
.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}
.trust-item {
  background: var(--bg-alt);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 500;
}

/* ========== STATS BAR ========== */
.stats {
  background: var(--card-bg);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 12px 8px;
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ========== SECTIONS — axis G: white bg + colored accent blocks ========== */
section { padding: 90px 0; }
.section-white { background: var(--card-bg); }
.section-cream { background: var(--bg); }
.section-peach { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.06rem;
}

/* Colored accent blocks */
.accent-block {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #FFE6C5 100%);
  border-radius: var(--radius);
  padding: 40px;
  border-left: 6px solid var(--primary);
}
.accent-block-olive {
  background: linear-gradient(135deg, #F2F5E6 0%, #E8EDD4 100%);
  border-left: 6px solid var(--accent);
}

/* ========== FEATURES — axis Cards-F: large icon top ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-alt), #FFE6C5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 22px;
  color: var(--primary);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  border: 2px solid var(--primary);
}
.feature-card:nth-child(even) .feature-icon {
  background: linear-gradient(135deg, #F2F5E6, #E8EDD4);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.96rem; }

/* ========== PLATFORMS ========== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.platform-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}
.platform-icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}
.platform-card:nth-child(3n+2) .platform-icon { background: #F2F5E6; color: var(--accent-dark); }
.platform-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.platform-card p { font-size: 0.86rem; margin: 0; }

/* ========== WHY-CAT (text + image block) ========== */
.why-cat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-cat-text h2 { margin-bottom: 22px; }
.why-cat-text p { margin-bottom: 16px; font-size: 1.04rem; }
.why-cat-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.trait {
  background: var(--bg-alt);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}
.trait:nth-child(even) { border-left-color: var(--accent); background: #F2F5E6; }
.trait strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.trait span { font-size: 0.92rem; color: var(--text-muted); }

.why-cat-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 28px;
  padding: 56px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why-cat-visual::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.why-cat-visual h3 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.why-cat-visual p { color: rgba(255,255,255,0.9); font-size: 1rem; }
.cat-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* ========== USE-CASES ========== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.usecase {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 30px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.usecase:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.usecase-num {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.usecase:nth-child(even) .usecase-num { color: var(--accent-dark); }
.usecase h3 { font-size: 1.2rem; margin-bottom: 10px; }
.usecase p { font-size: 0.96rem; }

/* ========== PRICING — axis A: gradient card ========== */
.pricing-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 28px;
  padding: 56px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card h2 { color: #fff; margin-bottom: 14px; }
.pricing-card .price-line {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 24px 0 8px;
}
.pricing-card .price-sub {
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  font-size: 1.04rem;
}
.pricing-features {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 32px;
}
.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  gap: 12px;
}
.pricing-features li::before {
  content: '◆';
  color: #fff;
  font-size: 0.8rem;
}
.pricing-card .btn {
  background: #fff;
  color: var(--primary-dark);
}
.pricing-card .btn:hover {
  background: var(--text);
  color: #fff;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(120deg, var(--bg-alt) 0%, #FFE6C5 100%);
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  border: 1px dashed var(--primary);
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { font-size: 1.08rem; margin-bottom: 28px; max-width: 560px; margin-left:auto; margin-right:auto; }

/* ========== FAQ — axis D: open card grid ========== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.faq-card h3::before {
  content: '?';
  background: var(--primary);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 800;
}
.faq-card:nth-child(odd) h3::before { background: var(--accent); }
.faq-card p { font-size: 0.96rem; }

/* ========== INSTRUKTSIYA-specific ========== */
.steps-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  position: absolute;
  top: -22px; left: 36px;
  width: 56px; height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  border: 4px solid var(--bg);
}
.step-card:nth-child(2) .step-num { background: var(--accent); }
.step-card h3 { margin-top: 14px; margin-bottom: 14px; font-size: 1.4rem; }
.step-card p { font-size: 1rem; margin-bottom: 14px; }
.step-card .btn { margin-top: 8px; }

.after-pay {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 60px;
  border-left: 6px solid var(--accent);
}
.after-pay h2 { margin-bottom: 16px; }
.after-pay p { margin-bottom: 14px; font-size: 1.02rem; }

/* ========== FOOTER — axis C: 3 cols + CTA above ========== */
.footer-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.footer-cta h2 { color: #fff; margin-bottom: 14px; }
.footer-cta p { color: rgba(255,255,255,0.92); font-size: 1.06rem; margin-bottom: 28px; max-width:560px; margin-left:auto; margin-right:auto; }
.footer-cta .btn {
  background: #fff;
  color: var(--primary-dark);
}
.footer-cta .btn:hover { background: var(--text); color: #fff; }

.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.78);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.72); transition: color 0.2s; font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.94rem; margin-top: 14px; max-width: 320px; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer-brand .logo { color: #fff; }

/* ========== FADE ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cat { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-wrap { grid-template-columns: 1fr; }
  .hero-card { padding: 44px 28px; }
  section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .features-grid, .platforms-grid, .usecases-grid, .faq-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 50px 0 70px; }
  .hero-card { padding: 36px 22px; border-radius: 20px; }
  .pricing-card { padding: 40px 24px; }
  .pricing-card .price-line { font-size: 2.2rem; }
  .cta-banner { padding: 40px 22px; }
  .accent-block { padding: 28px 22px; }
  .why-cat-traits { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}
