/* Kakadu VPN — Tropical Light Theme */
/* Fonts: Playfair Display (headings) + Lato (body) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800;900&family=Lato:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #D4A017;
  --accent: #2E8B57;
  --bg: #FFFEF8;
  --bg-alt: #F5F0E8;
  --card-bg: #FFFFFF;
  --text: #2C2C2C;
  --text-muted: #7A7A6E;
  --border: #D4C9A8;
  --footer-bg: #1F2617;
  --radius: 12px;
  --pill: 50px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* ========== HEADER / NAV (Axis: White sticky + shadow) ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 26px;
  border-radius: var(--pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(46,139,87,0.35);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transition: right 0.35s ease;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav ul a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.mobile-nav ul a:hover {
  color: var(--accent);
}

.mobile-nav .nav-cta {
  margin-top: 24px;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ========== HERO (Axis C: Split-screen) ========== */
.hero {
  background: var(--bg);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '✓';
  font-weight: 700;
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: var(--pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,139,87,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: var(--pill);
  border: 2px dashed var(--border);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge .icon {
  font-size: 1.15rem;
}

/* Hero visual — decorative CSS art */
.hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: 20px;
  right: 10px;
  animation: float1 6s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: 40px;
  left: 30px;
  animation: float2 8s ease-in-out infinite;
}

.hero-shape-3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #E8C547 0%, transparent 70%);
  top: 60px;
  left: 60px;
  animation: float3 7s ease-in-out infinite;
}

.hero-shape-4 {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 180px;
  right: 80px;
  opacity: 0.35;
  animation: morph 10s ease-in-out infinite;
}

.hero-shield {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shield svg {
  width: 120px;
  height: 140px;
  filter: drop-shadow(0 8px 24px rgba(212,160,23,0.25));
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 16px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -10px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -14px); }
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--bg-alt);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ========== FEATURES (Axis: Dashed border) ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: border-style 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-style: solid;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(212,160,23,0.12);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========== DOWNLOAD / PLATFORMS ========== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--card-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-style 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: block;
}

.platform-card:hover {
  border-style: solid;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46,139,87,0.1);
}

.platform-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.platform-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== TRIAL / PRICE (Axis E: Minimal line) ========== */
.trial-section {
  text-align: center;
}

.trial-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.trial-highlight {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.trial-text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ========== FAQ (Axis A: Accordion) ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 40px 22px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  position: relative;
  transition: color 0.25s;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #E8C547 60%, var(--accent) 100%);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #000;
  font-weight: 800;
  padding: 16px 40px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ========== FOOTER (Axis A: 4-column dark) ========== */
.footer {
  background: var(--footer-bg);
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #9a9a8a;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: #9a9a8a;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #6a6a5a;
}

/* ========== FADE-UP ANIMATION ========== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== INSTRUKTSIYA PAGE ========== */
.instr-hero {
  background: var(--bg-alt);
  padding: 72px 0 56px;
  text-align: center;
}

.instr-hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.instr-hero p {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.step-section {
  padding: 60px 0;
}

.step-card {
  max-width: 720px;
  margin: 0 auto 40px;
  background: var(--card-bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.step-card:hover {
  border-style: solid;
  border-color: var(--primary);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.step-card .btn-primary {
  margin-top: 16px;
}

.after-payment {
  background: var(--bg-alt);
  padding: 60px 0;
}

.after-payment-content {
  max-width: 720px;
  margin: 0 auto;
}

.after-payment-content h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.after-payment-content > p {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.instr-cta {
  text-align: center;
  padding: 60px 0;
}

.instr-cta h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.instr-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-visual {
    height: 280px;
  }

  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }

  .hero-shape-2 {
    width: 140px;
    height: 140px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .step-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-bar .container {
    flex-direction: column;
    gap: 20px;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .trial-line {
    flex-direction: column;
    gap: 12px;
  }
}
