/* ══════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  --yellow: #ffd900;
  --yellow-soft: rgba(255, 217, 0, 0.12);
  --dark: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f8f8f5;
  --white: #ffffff;
  --green: #10b981;
  --green-soft: #ecfdf5;
  --red: #ef4444;
  --red-soft: #fef2f2;
  --indigo: #6366f1;
  --indigo-soft: #eef2ff;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

section {
  padding: 80px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 640px;
  margin-bottom: 48px;
}

.center {
  text-align: center;
}

.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 26px;
  text-decoration: none;
  color: var(--dark);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--slate-500);
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 26px;
  color: var(--dark);
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 16px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 6px 20px rgba(255, 217, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255, 217, 0, 0.5);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--slate-200);
}

.btn-outline:hover {
  border-color: var(--dark);
}

/* ══════════════════════════════════════════════
   STORE BADGES (APP STORE / GOOGLE PLAY)
   ══════════════════════════════════════════════ */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.store-badge {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.store-badge img,
.store-badge svg {
  height: 44px; /* Одинаковая высота для обоих бейджей */
  width: auto;
  display: block;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 0, 0.22), transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 20px;
}

.hero h1 .hl {
  background: linear-gradient(180deg, transparent 55%, var(--yellow) 55%);
  padding: 0 4px;
}

.hero-sub {
  font-size: 19px;
  color: var(--slate-500);
  margin-bottom: 32px;
  max-width: 560px;
}

/* ══════════════════════════════════════════════
   WHY SECTION
   ══════════════════════════════════════════════ */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--slate-500);
  font-size: 15px;
}

/* ══════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--slate-500);
  font-size: 16px;
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-700);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* ══════════════════════════════════════════════
   AUTHOR STORY
   ══════════════════════════════════════════════ */
.author {
  background: var(--white);
}

.author-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  border: 1px solid var(--slate-100);
}

.author-card h2 {
  text-align: center;
  margin-bottom: 24px;
}

.author-text {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--slate-700);
  text-align: center;
}

/* ══════════════════════════════════════════════
   MISSION
   ══════════════════════════════════════════════ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mission-text h2 {
  margin-bottom: 16px;
}

.mission-text p {
  color: var(--slate-500);
  font-size: 16px;
  line-height: 1.7;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lang-pill {
  background: var(--bg);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--slate-100);
}

.lang-pill .flag {
  font-size: 22px;
  display: block;
  margin-bottom: 6px;
}

/* ══════════════════════════════════════════════
   SUPPORT / DONATIONS
   ══════════════════════════════════════════════ */
.support {
  background: linear-gradient(180deg, #fffbeb 0%, var(--bg) 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-weight: 900;
}

.support-icon svg {
  width: 32px;
  height: 32px;
}

.support-icon.pix {
  background: #d9f2e6;
  color: #047857;
}

.support-icon.kofi {
  background: #fdeaea;
  color: #b91c1c;
}

.support-icon.crypto {
  background: #fff4d6;
  color: #92400e;
}

.support-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.support-card p {
  color: var(--slate-500);
  font-size: 15px;
  flex: 1;
  margin-bottom: 24px;
}

.crypto-addresses {
  display: none;
  margin-top: 16px;
  text-align: left;
  gap: 10px;
  width: 100%;
}

.crypto-addresses.open {
  display: flex;
  flex-direction: column;
}

.crypto-row {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
  width: 100%;
  overflow: hidden;
}

.crypto-row .net {
  font-size: 12px;
  font-weight: 800;
  color: var(--slate-400);
  width: 50px;
  flex-shrink: 0;
}

.crypto-row code {
  flex: 1;
  font-size: 11px;
  color: var(--slate-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
  min-width: 0;
}

.copy-btn {
  background: var(--yellow);
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font);
  transition: transform 0.15s;
  flex-shrink: 0;
}

.copy-btn:hover {
  transform: scale(1.06);
}

/* ══════════════════════════════════════════════
   PRIVACY
   ══════════════════════════════════════════════ */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.privacy-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.privacy-visual .big {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

.privacy-visual .small {
  color: var(--slate-400);
  font-size: 14px;
  font-weight: 700;
}

.privacy-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.p-badge {
  background: var(--green-soft);
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  align-items: flex-start;
}

.check-list .dot {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  margin-top: 2px;
}

.check-list b {
  display: block;
  font-size: 17px;
}

.check-list span {
  color: var(--slate-500);
  font-size: 15px;
}

.link-quiet {
  display: inline-block;
  margin-top: 20px;
  color: var(--indigo);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--indigo-soft);
  padding-bottom: 2px;
}

.link-quiet:hover {
  border-color: var(--indigo);
}

.shield-visual {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--green);
}

.shield-visual svg {
  width: 48px;
  height: 48px;
}

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  text-align: left;
}

.faq-q .chev {
  transition: transform 0.3s;
  font-size: 14px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
}

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

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--slate-500);
  font-size: 15px;
}

/* ══════════════════════════════════════════════
   FINAL CTA + FOOTER
   ══════════════════════════════════════════════ */
.final-cta {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 18px;
}

footer {
  background: var(--dark);
  color: var(--slate-400);
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

footer a {
  color: var(--slate-400);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 36px;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .why-grid,
  .features-grid,
  .mission-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .burger {
    display: block;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .lang-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .store-badges {
    justify-content: center;
  }

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

  .crypto-row code {
    font-size: 10px;
  }

  .crypto-row .net {
    width: 40px;
  }
}