:root {
  --primary: #7C3AED;
  --primary-light: #A855F7;
  --pink: #EC4899;
  --tint: #EDE9FE;
  --ink: #1C1C2E;
  --secondary: #6B7280;
  --bg: #F9FAFB;
  --card: #FFFFFF;
  --border: #ECEAF5;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px -20px rgba(124, 58, 237, 0.25);
  --shadow-sm: 0 8px 20px -12px rgba(28, 28, 46, 0.15);
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.02em; }

section { padding: 96px 0; scroll-margin-top: 84px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--secondary); font-size: 17px; margin: 0; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -18px rgba(124, 58, 237, 0.45); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  background: var(--tint);
  border: 1px solid #DDD6FE;
  padding: 13px 22px;
  border-radius: 999px;
}

.badge-soon .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -18px rgba(28, 28, 46, 0.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .company { display: block; font-size: 11px; font-weight: 600; color: var(--secondary); letter-spacing: 0.02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}

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

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero { padding: 76px 0 40px; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead { font-size: 18px; color: var(--secondary); max-width: 480px; margin-bottom: 32px; }

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-note { font-size: 13.5px; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.hero-note svg { flex: none; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -10% -10% 10%;
  background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(236,72,153,0.28));
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}
.phone-frame {
  position: relative;
  z-index: 1;
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(28,28,46,0.35);
  border: 6px solid #1C1C2E;
  background: #1C1C2E;
}
.phone-frame img { border-radius: 30px; }

.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  padding: 22px 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
}
.trust-strip .wrap span { display: flex; align-items: center; gap: 8px; }

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.features-grid-3 { max-width: 940px; margin: 0 auto; }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -18px rgba(124, 58, 237, 0.28);
  border-color: #DDD6FE;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--tint), #fff);
  color: var(--primary);
  margin-bottom: 18px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--secondary); margin: 0; }

.feature-card.premium { position: relative; border-color: #DDD6FE; }
.premium-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  padding: 4px 10px;
  border-radius: 999px;
}

/* How it works */
.how-it-works { background: linear-gradient(180deg, #fff, var(--bg)); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step { position: relative; text-align: left; padding-left: 4px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.step:hover { transform: translateY(-4px); }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 16px;
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.step:hover .step-num { transform: scale(1.1) rotate(-6deg); }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--secondary); font-size: 15px; margin: 0; }

/* Privacy */
.privacy-section .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.privacy-card {
  background: linear-gradient(135deg, #1C1C2E, #2E1B4D);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
}
.privacy-card .eyebrow { background: rgba(255,255,255,0.1); color: #E9D5FF; }
.privacy-card h2 { color: #fff; font-size: 30px; margin-bottom: 16px; }
.privacy-card p { color: #C9C6DA; font-size: 15.5px; margin: 0; }

.privacy-list { display: flex; flex-direction: column; gap: 22px; }
.privacy-item { display: flex; gap: 16px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.privacy-item:hover { transform: translateX(4px); }
.privacy-item .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--tint), #fff);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.privacy-item:hover .ico { transform: scale(1.1); }
.privacy-item h3 { font-size: 16px; margin-bottom: 6px; }
.privacy-item p { font-size: 14.5px; color: var(--secondary); margin: 0; }

/* Currencies */
.currency-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.currency-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.currency-pill:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 24px -14px rgba(124, 58, 237, 0.35);
  border-color: #DDD6FE;
}
.currency-note { text-align: center; color: var(--secondary); font-size: 14.5px; margin-top: 24px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: #DDD6FE; }
.faq-item.open { border-color: #DDD6FE; box-shadow: 0 12px 28px -18px rgba(124, 58, 237, 0.3); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-family: inherit;
}
.faq-question .plus { flex: none; transition: transform 0.2s ease; color: var(--primary); }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { margin: 0 24px 20px; color: var(--secondary); font-size: 15px; }

/* Final CTA */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, #7C3AED, #EC4899);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
  overflow: hidden;
}
.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}
.final-cta::before { width: 140px; height: 140px; top: -50px; left: -40px; }
.final-cta::after { width: 100px; height: 100px; bottom: -30px; right: -20px; animation-delay: -3s; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.9); max-width: 500px; margin: 0 auto 30px; font-size: 16px; }
.final-cta .badge-soon { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; }
.final-cta .badge-soon .dot { background: #fff; }

/* Footer */
footer { background: #14121F; color: #B9B6C9; padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-grid p { font-size: 14.5px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7C7891;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.features-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.features-grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.features-grid .reveal:nth-child(8) { transition-delay: 0.42s; }
.features-grid .reveal:nth-child(9) { transition-delay: 0.48s; }
.steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3) { transition-delay: 0.2s; }
.privacy-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.privacy-list .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-anim { opacity: 1; animation: none; }
  .phone-frame, .hero-visual::before, .badge-soon .dot { animation: none !important; }
}

/* Hero entrance */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* Hero floating motion */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.phone-frame { animation: float 5s ease-in-out infinite; }

@keyframes blobDrift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-14px, 12px); }
}
.hero-visual::before { animation: blobDrift 9s ease-in-out infinite; }

/* Carousel */
.carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #F5F3FF, #EDE9FE);
  padding: 44px 28px 32px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}

.carousel-slide h3 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 12px;
  color: #1E1B4B;
}
.carousel-slide h3 .accent { color: var(--primary); display: block; }

.carousel-slide .desc {
  color: var(--secondary);
  font-size: 15px;
  max-width: 380px;
  margin: 0 auto 28px;
}

.carousel-media { width: 100%; display: flex; justify-content: center; }
.carousel-media img {
  width: 300px;
  max-width: 100%;
  filter: drop-shadow(0 24px 40px rgba(124, 58, 237, 0.28));
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: transform 0.15s ease;
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.carousel-dot.active { background: var(--primary); width: 24px; }

@media (max-width: 600px) {
  .carousel { padding: 36px 18px 26px; border-radius: var(--radius-md); }
  .carousel-arrow { width: 36px; height: 36px; }
  .carousel-arrow.prev { left: 4px; }
  .carousel-arrow.next { right: 4px; }
  .carousel-media img { width: 230px; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .phone-frame { width: 220px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .privacy-section .wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost,
  .nav-cta .badge-soon { display: none; }
  .nav-toggle { display: block; }
  .brand span { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .final-cta { margin: 0 12px; padding: 48px 24px; }

  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .nav-links.mobile-open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links.mobile-open a:last-child { border-bottom: none; }
}
