:root {
  --purple: #7e66d6;
  --purple-deep: #4b3a9a;
  --night: #1f1846;
  --lavender: #f5f2fd;
  --lilac: #e7e0fa;
  --orange: #e8894f;
  --orange-light: #f0a855;
  --ink: #1f1846;
  --muted: #625b80;
  --line: #e4ddf6;
  --white: #ffffff;
  --radius: 18px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin-bottom: .9em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  transition: transform .15s, box-shadow .15s;
  overflow-wrap: anywhere;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(232,137,79,.35); }
.btn:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-small { padding: .55em 1.15em; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--purple);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; }

/* Hero */
.hero {
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(240,168,85,.28), transparent 65%),
    var(--purple);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero .eyebrow { color: var(--white); opacity: .85; }
.hero .lead { color: rgba(255,255,255,.92); }
.hl {
  background: linear-gradient(135deg, #ffb46a, #ffd29a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.18) no-repeat center / 11px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Hero visual: gift cards */
.hero-visual { position: relative; height: 340px; }
.gc {
  position: absolute;
  width: 300px; height: 190px;
  border-radius: 18px;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 24px 50px rgba(31,24,70,.35);
}
.gc-back { top: 20px; right: 30px; transform: rotate(8deg); background: linear-gradient(135deg, #9d89ea, #6a52c6); border: 1px solid rgba(255,255,255,.25); }
.gc-front { top: 110px; right: 110px; transform: rotate(-6deg); background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.gc-chip { width: 42px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.55); }
.gc-label { font-weight: 800; letter-spacing: .2em; font-size: .8rem; color: rgba(31,24,70,.7); }
.gc-back .gc-label { color: rgba(255,255,255,.75); }
.offer {
  position: absolute; bottom: 0; right: 10px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink);
  padding: 12px 18px; border-radius: 14px;
  box-shadow: 0 16px 34px rgba(31,24,70,.3);
}
.offer small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.offer strong { font-size: 1.05rem; }
.offer-dot { width: 12px; height: 12px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 5px rgba(47,191,113,.18); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--lavender); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple); color: var(--white);
  font-weight: 800; margin-bottom: 18px;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 1px 0 var(--line); }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--lilac);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--purple-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Uses */
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.use-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.use-list li {
  display: flex; flex-direction: column;
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  background: var(--lavender);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.use-list strong { font-size: 1.1rem; }
.use-list span { color: var(--muted); }

/* Contact */
.contact {
  text-align: center;
  background:
    radial-gradient(500px 300px at 15% 100%, rgba(240,168,85,.25), transparent 65%),
    var(--night);
  color: var(--white);
}
.contact .eyebrow { color: var(--orange-light); }
.contact .lead { color: rgba(255,255,255,.8); margin: 0 auto 1.6em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer { background: var(--purple); color: rgba(255,255,255,.9); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner img { height: 30px; width: auto; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-inner, .uses { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 56px 0 72px; }
  .hero-visual { height: 280px; max-width: 380px; width: 100%; margin: 0 auto; }
  .gc { width: 240px; height: 152px; }
  .gc-back { right: 10px; }
  .gc-front { top: 90px; right: 90px; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .container { padding: 0 16px; }
  .steps, .features { grid-template-columns: 1fr; }
  .brand img { height: 34px; }
  .hero-visual { height: 250px; }
  .gc { width: 210px; height: 133px; padding: 16px; }
  .gc-front { top: 80px; right: auto; left: 0; }
  .gc-back { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
