:root {
  --bg: #02050c;
  --bg-soft: #050b16;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f7fbff;
  --muted: rgba(224, 235, 255, 0.65);
  --blue: #1cb8ff;
  --blue-soft: rgba(28, 184, 255, 0.12);
  --yellow: #ffd84d;
  --yellow-soft: rgba(255, 216, 77, 0.12);
  --black-glass: rgba(2, 5, 12, 0.75);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  
  /* Кольори банків */
  --privat-green: #70b719;
  --pumb-red: #ff3b30;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Кастомний преміум-скроллбар */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-soft);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(28, 184, 255, 0.14), transparent 45%),
    linear-gradient(180deg, #030713 0%, var(--bg) 60%, #000 100%);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.45;
}

.glow-blue {
  width: 600px;
  height: 600px;
  left: -250px;
  top: -200px;
  background: rgba(28, 184, 255, 0.22);
}

.glow-yellow {
  width: 500px;
  height: 500px;
  right: -200px;
  bottom: -150px;
  background: rgba(255, 216, 77, 0.12);
}

.line {
  position: absolute;
  width: 60vw;
  height: 1px;
  opacity: 0.3;
  background: linear-gradient(90deg, transparent, rgba(28, 184, 255, 0.3), rgba(255, 216, 77, 0.2), transparent);
}

.line-one { top: 25%; right: -10%; transform: rotate(-14deg); }
.line-two { bottom: 25%; left: -15%; transform: rotate(-14deg); opacity: 0.15; }

.page {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 24px;
}

/* Навігація */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 216, 77, 0.2);
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.menu-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.menu-link:hover {
  color: var(--text);
}

.font-highlight {
  color: var(--yellow);
}

.nav-link, .copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover, .copy-button:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 184, 255, 0.4);
  background: rgba(28, 184, 255, 0.08);
  box-shadow: 0 10px 30px rgba(28, 184, 255, 0.15);
}

/* Hero Секція */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.hero-copy, .status-panel, .card, .donate-section, .faq-item {
  position: relative;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), rgba(3, 7, 18, 0.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
}

.hero-copy {
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 216, 77, 0.2);
  border-radius: 999px;
  color: #fff1b6;
  background: rgba(255, 216, 77, 0.05);
  font-size: 13px;
  font-weight: 800;
}

.font-yellow { color: #fff1b6; border-color: rgba(255, 216, 77, 0.2); background: rgba(255, 216, 77, 0.05); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.accent {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), #a3e5ff 35%, #ffffff 50%, var(--yellow));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
}

.notice {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(28, 184, 255, 0.15);
  border-radius: var(--radius-lg);
  color: rgba(247, 251, 255, 0.85);
  background: linear-gradient(135deg, rgba(28, 184, 255, 0.06), rgba(255, 216, 77, 0.02));
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.button-primary {
  color: #02050c;
  background: linear-gradient(135deg, var(--yellow), #fff3b3 50%, var(--blue));
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Панель статусу */
.status-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.panel-badge {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid rgba(28, 184, 255, 0.2);
  border-radius: 999px;
  color: #ccefff;
  background: rgba(28, 184, 255, 0.05);
  font-size: 11px;
  font-weight: 800;
}

.panel-title {
  margin: 10px 0 0;
  font-size: 28px;
  font-weight: 800;
}

.panel-text {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.status-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.2);
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.status-label { color: rgba(247, 251, 255, 0.5); }
.status-value { font-weight: 700; }
.status-value.warning { color: #ffe27a; }
.status-value.success { color: #4cd964; }
.address { color: #cdefff; font-family: monospace; }
.copy-button { width: 100%; min-height: 46px; border-radius: var(--radius-md); }

/* Розширена сітка переваг */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.card {
  padding: 28px;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 184, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(28, 184, 255, 0.15);
}

.card h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* СЕКЦІЯ ДОНАТУ */
.donate-section {
  margin-top: 24px;
  padding: 44px;
}

.donate-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 36px;
}

.donate-header h2 {
  font-size: 36px;
  font-weight: 900;
  margin: 12px 0;
}

.donate-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}

.donate-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  overflow: hidden;
}

/* Тонкі лінії брендів на картках */
.donate-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.donate-card.privatbank::after { background: var(--privat-green); }
.donate-card.pumb::after { background: var(--pumb-red); }

.bank-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-logo-placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-green-dot { width: 10px; height: 10px; background: var(--privat-green); border-radius: 50%; box-shadow: 0 0 8px var(--privat-green); }
.logo-red-dot { width: 10px; height: 10px; background: var(--pumb-red); border-radius: 50%; box-shadow: 0 0 8px var(--pumb-red); }

.bank-name { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.card-system { font-size: 11px; color: rgba(255, 255, 255, 0.3); font-weight: 600; }

.bank-middle {
  margin: 20px 0;
}

.card-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.card-number-display {
  font-size: 20px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}


.bank-actions {
  display: grid;
  gap: 10px;
}

.bank-copy-btn {
  width: 100%;
  min-height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bank-copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.bank-jar-btn {
  background: rgba(255, 216, 77, 0.06);
  border-color: rgba(255, 216, 77, 0.18);
}

.bank-jar-btn:hover {
  background: rgba(255, 216, 77, 0.12);
  border-color: rgba(255, 216, 77, 0.35);
}

.donate-footer-notice {
  max-width: 920px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.donate-footer-notice p {
  margin: 0;
}

/* ВЕРТИКАЛЬНИЙ ТАЙМЛАЙН РОЗРОБКИ */
.roadmap-section {
  margin-top: 60px;
}

.section-title {
  font-size: 32px;
  text-align: center;
  font-weight: 900;
  margin-bottom: 40px;
}

.accent-text { color: var(--blue); }

.roadmap-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 30px;
}

/* Центральна вертикальна вісь */
.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--bg);
  z-index: 2;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.timeline-content h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.timeline-content p { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.step-status-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.4);
}

/* Стани кроків */
.timeline-item.done .timeline-dot { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.timeline-item.done .step-status-badge { background: rgba(28, 184, 255, 0.1); color: var(--blue); }

.timeline-item.active .timeline-dot { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.timeline-item.active .step-status-badge { background: rgba(255, 216, 77, 0.1); color: var(--yellow); }
.timeline-item.active .timeline-content { border-color: rgba(255, 216, 77, 0.15); background: rgba(255, 216, 77, 0.01); }

/* FAQ СЕКЦІЯ */
.faq-section { margin-top: 60px; }
.faq-grid { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s ease; }
.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: transparent; border: none; color: var(--text);
  font-size: 16px; font-weight: 700; text-align: left; cursor: pointer;
}
.faq-chevron { transition: transform 0.25s ease; color: var(--muted); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); padding: 0 24px; }
.faq-content p { margin: 0; padding-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.faq-item.active { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.15); }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--blue); }
.faq-item.active .faq-content { max-height: 300px; transition: max-height 0.3s cubic-bezier(1, 0, 1, 0); }

/* Футер */
.footer { display: flex; justify-content: center; text-align: center; padding: 50px 0 24px; color: rgba(247, 251, 255, 0.35); font-size: 13px; line-height: 1.4; border-top: 1px solid rgba(255, 255, 255, 0.03); margin-top: 60px; }

/* АДАПТИВНІСТЬ ДЛЯ СМАРТФОНІВ */
@media (max-width: 990px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .donate-grid { grid-template-columns: 1fr; gap: 16px; }
  .nav-menu { display: none; } /* Сховуємо посилання меню на планшетах/мобільних */
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .donate-section { padding: 24px; }
  .card-number-display { font-size: 17px; }
  .donate-header h2 { font-size: 28px; }
  .actions .button { width: 100%; }
}