@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --accent: #e8ff00;         /* Новий яскравий колір */
  --accent-hover: #d4e600;   /* Трохи темніший для ефекту при наведенні */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #334155;
  --container-width: 1140px;
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: rgba(30, 41, 59, 0.5);
}

/* Typography */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
}

h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent);
}

p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

strong {
  color: #fff;
}

/* Header & Navigation */
.top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.top__inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__name {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -1px;
}

.nav {
  display: none;
}

@media (min-width: 992px) {
  .nav {
    display: flex;
    gap: 30px;
  }
  .nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
  }
  .nav a:hover {
    color: var(--accent);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
  border: none;
}

.btn--primary {
  background-color: var(--accent);
  color: #0f172a;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--border);
  color: #fff;
}

.btn--outline:hover {
  background: var(--border);
}

.btn--mobile {
  background: var(--bg-card);
  color: #fff;
  padding: 8px 15px;
}

@media (min-width: 992px) {
  .btn--mobile { display: none; }
}

/* Об'єднуємо Header та Banner */
.top {
  position: fixed; /* Робимо фіксованим над банером */
  width: 100%;
  background: rgba(15, 23, 42, 0.7); /* Більш прозорий */
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(232, 255, 0, 0.1); /* Ледь помітна жовта лінія */
}

/* Оновлений банер */
.banner {
  padding: 140px 0 80px; /* Збільшуємо верхній відступ, щоб контент не заліз під Header */
  background: radial-gradient(circle at 20% 30%, rgba(232, 255, 0, 0.05) 0%, transparent 40%), 
              linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.banner-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  background: transparent; /* Прибираємо окремий фон картки */
  padding: 0;               /* Прибираємо внутрішні відступи картки */
  border: none;             /* Прибираємо рамку */
}

@media (min-width: 992px) {
  .banner-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Додаємо світіння картинці, щоб вона "вписалася" */
.banner-img img {
  filter: drop-shadow(0 0 30px rgba(232, 255, 0, 0.15));
  animation: float 6s ease-in-out infinite; /* Легке плавання для живості */
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Акцентна лінія під банером для переходу */
.banner::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  margin-top: 60px;
}

@media (min-width: 992px) {
  .banner-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 60px;
  }
}

.banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

/* Tables Customization */
.table-wrapper {
  background: var(--bg-card);
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid var(--border);
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.table th {
  background: rgba(51, 65, 85, 0.5);
  padding: 18px 20px;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-main);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Features & Steps */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.steps-list p {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border-left: 4px solid var(--accent);
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.faq-item p strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #020617;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  color: var(--text-muted);
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.disclaimer {
  font-size: 0.75rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

.copy {
  font-size: 0.85rem;
}

/* Drawer Mobile */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  padding: 40px 20px;
}

.drawer.is-open {
  display: flex;
  flex-direction: column;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 50px;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Progress Bar */
.progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
}

.progress__bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
}
/* Додаємо ефект світіння для головної кнопки */
.btn--primary {
  box-shadow: 0 0 15px rgba(232, 255, 0, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 0 25px rgba(232, 255, 0, 0.4);
}