*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

:root {
  --blue-dark: #10162f;
  --blue-mid: #2e3f8f;
  --blue-main: #8b5cf6;
  --blue-light: #f3f4f8;
  --text-dark: #131520;
  --text-mid: #54586a;
  --text-light: #8e92a3;
  --border: #e6e8ef;
  --bg: #f6f7fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --glow-pink: rgba(233, 114, 173, 0.35);
  --glow-violet: rgba(139, 92, 246, 0.3);
  --glow-orange: rgba(255, 142, 107, 0.28);
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(78, 92, 255, 0.12), transparent 28%),
    radial-gradient(circle at 100% 100%, var(--glow-orange), transparent 28%),
    linear-gradient(180deg, #fbfbfd 0%, #f3f4f8 100%);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(230, 232, 239, 0.9);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}
.header-inner {
  max-width: 720px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.03em;
}
.logo-text span {
  color: #ea5aa9;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 60px;
  position: relative;
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(89, 96, 255, 0.1), transparent 20%),
    radial-gradient(
      circle at 85% 84%,
      rgba(255, 120, 124, 0.14),
      transparent 22%
    ),
    radial-gradient(
      circle at 70% 68%,
      rgba(209, 108, 255, 0.1),
      transparent 18%
    );
  z-index: -1;
}

.hero {
  text-align: center;
  padding: 48px 24px 40px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6f7390;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.hero-h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #171a24;
  letter-spacing: -0.03em;
}
.hero-h1 .accent {
  color: #ea5aa9;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(230, 232, 239, 0.95);
  box-shadow: 0 18px 60px rgba(16, 22, 47, 0.08);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4c5eff, #ea5aa9 55%, #ff8e6b 100%);
}

.hero-card {
  border-color: rgba(139, 92, 246, 0.35);
  border-width: 1px;
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  margin-bottom: 24px;
}
.hero-card .card-eyebrow {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 400;
}
.hero-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.hero-card h2 .accent {
  color: #ea5aa9;
}

.video-wrap {
  position: relative;
  border-radius: 18px;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 40px rgba(28, 35, 73, 0.18);
  background: #000; /* на випадок, якщо відео не завантажиться */
}

.video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  z-index: 0;
  display: block;
}

.video-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
  display: none; /* спочатку прихований */
}

.video-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 40px 40px;
  z-index: 0;
  display: none;
}

.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(17, 22, 47, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.video-wrap:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 174, 239, 0.4);
}

.play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

.form-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 28px;
}
.form-section-title .accent {
  color: #ea5aa9;
}

.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(230, 232, 239, 0.95);
  box-shadow: 0 18px 60px rgba(16, 22, 47, 0.08);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-sm);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-input::placeholder {
  color: #b0bec5;
}
.form-input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.phone-wrap {
  position: relative;
}
.phone-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-mid);
  pointer-events: none;
}
.form-input.phone-input {
  padding-left: 56px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #1b2140 0%, #6a59c9 55%, #ea5aa9 100%);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: 6px;
  box-shadow: 0 12px 32px rgba(91, 74, 185, 0.28);
}
.submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(104, 86, 199, 0.34);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
}

.benefits-card {
  padding: 36px;
}
.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 10px;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.benefit-list {
  display: flex;
  flex-direction: column;
}
.benefit-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.benefit-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4c5eff, #ea5aa9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.benefit-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.benefit-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 400;
}

.quote-card {
  padding: 36px;
  text-align: center;
}
.quote-text {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 16px;
}
.quote-author {
  margin-top: 15px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.quote-avatar {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.quote-avatar img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
}

.quote-avatar {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: -10px;
}

.quote-avatar img {
  max-width: 230px;
  width: 100%;
  height: auto;
}

.stats-card {
  padding: 36px;
}
.stats-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 10px;
  text-align: center;
}
.stats-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.2;
}
.stats-title .accent {
  color: #ea5aa9;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-box {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(246, 247, 251, 0.98)
  );
  border: 1px solid rgba(230, 232, 239, 0.95);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
}
.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.stat-val {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-main);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

.partners-card {
  padding: 36px;
}
.partners-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin: 10px 0;
}
.partners-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(230, 232, 239, 0.95);
  border: 1px solid rgba(230, 232, 239, 0.95);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.partner-cell {
  background: var(--white);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: background 0.2s;
}
.partner-cell:hover {
  background: #f7f3ff;
}
.p-visa {
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 900;
  color: #1a1f71;
  letter-spacing: -0.02em;
}
.p-mc {
  display: flex;
  align-items: center;
}
.mc-r {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eb001b;
}
.mc-y {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f79e1b;
  margin-left: -10px;
}
.mc-label {
  margin-left: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #444;
}
.p-gpay {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.p-bp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bp-logo {
  display: flex;
  gap: 4px;
}
.bp-green {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00a651;
}
.bp-yellow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fed100;
}
.bp-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-mid);
}

.calc-card {
  padding: 36px;
}
.calc-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 10px;
  text-align: center;
}
.calc-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 8px;
}
.calc-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.calc-invest-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}
.calc-invest-max {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ea5aa9;
}

.range-input {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(90deg, #ea5aa9 0%, #e6e8ef 0%);
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #8b5cf6;
  box-shadow: 0 8px 20px rgba(91, 74, 185, 0.24);
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.range-input::-webkit-slider-thumb:hover {
  box-shadow: 0 8px 20px rgba(233, 90, 169, 0.34);
  transform: scale(1.15);
}

.range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 8px;
  font-weight: 500;
}

.calc-result-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  margin-top: 22px;
}
.calc-result-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 4px;
}
.calc-result-val {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue-dark);
}
.calc-result-val .lari {
  color: #ea5aa9;
}

.second-form-card {
  padding: 36px;
}
.second-form-tag {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 10px;
  text-align: center;
}
.second-form-eyebrow {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 8px;
}
.second-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 6px;
}
.second-form-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

.success-state {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4c5eff, #ea5aa9);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.success-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.success-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

footer {
  border-top: 1px solid rgba(230, 232, 239, 0.9);
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 0.73rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ea5aa9;
}
.footer-copy {
  font-size: 0.73rem;
  color: var(--text-light);
}
.footer-copy .accent {
  color: var(--blue-main);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 480px) {
  .hero-card,
  .benefits-card,
  .quote-card,
  .stats-card,
  .partners-card,
  .calc-card,
  .second-form-card {
    padding: 28px 18px;
  }
}

.lead-form-wrapper {
  background-color: var(--bg-grey);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--primaty-black);
}
.input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.input-wrapper label {
  font-size: 12px;
  font-weight: 200;
  color: var(--text-dark);
  margin-bottom: 5px;
  margin-left: 5px;
}
.input-wrapper + .input-wrapper {
  margin-top: 20px;
}
.input-wrapper input {
  color: var(--primaty-black);
  width: auto;
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 5px;
  font-size: 14px;
  display: block;
}
.form-submit-btn {
  outline: none;
  border: none;
  width: 100%;
  text-align: center;
}

/* PREFERENCE */
.preference_title {
  margin-bottom: 20px;
}

.preference-item_title {
  color: var(--primaty-blue);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.preference-item + .preference-item {
  margin-top: 20px;
}
