section { padding: 80px 24px; position: relative; }

/* HERO */
.hero {
  padding: 64px 24px 48px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(225, 225, 32, 0.16), transparent 45%),
    radial-gradient(circle at 65% 35%, rgba(221, 38, 57, 0.14), transparent 45%),
    radial-gradient(circle at 60% 70%, rgba(178, 28, 223, 0.18), transparent 45%),
    radial-gradient(circle at 35% 65%, rgba(47, 34, 225, 0.14), transparent 45%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-text { max-width: 620px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--c-blue);
}
.hero-lede {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--muted);
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}
.meta-row .dot { width: 4px; height: 4px; background: #c7c7d6; border-radius: 50%; }

/* PHONE STAGE */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.phone-stage::before {
  content: '';
  position: absolute;
  inset: 5% 0%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(178, 28, 223, 0.18), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(47, 34, 225, 0.14), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.phone {
  position: relative;
  border-radius: 44px;
  background: #0a0a14;
  padding: 8px;
  box-shadow:
    0 30px 60px rgba(19, 19, 70, 0.18),
    0 0 0 2px #1d1d1f,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  width: 270px;
  aspect-ratio: 9 / 19.5;
}
.phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  display: block;
}
.phone-back {
  position: absolute;
  width: 230px;
  top: 30px;
  left: calc(50% - 190px);
  rotate: -8deg;
  opacity: 0.85;
  z-index: 1;
}
.phone-front {
  position: relative;
  z-index: 2;
  rotate: 4deg;
}
.phone-third {
  position: absolute;
  width: 210px;
  top: 60px;
  right: calc(50% - 190px);
  rotate: 10deg;
  opacity: 0.75;
  z-index: 1;
}

/* PEEK GALLERY */
.peek-head { text-align: center; margin-bottom: 48px; max-width: 620px; margin-left: auto; margin-right: auto; }
.peek-head p { font-size: 1.05rem; }
.peek-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.peek-phone {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  background: #0a0a14;
  padding: 7px;
  box-shadow:
    0 20px 40px rgba(19, 19, 70, 0.16),
    0 0 0 2px #1d1d1f,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin: 0 auto;
  transition: transform 0.3s;
}
.peek-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}
.peek-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}
.peek-phone:hover { transform: translateY(-6px); }

/* PERKS */
.perks-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
.perk-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 19, 70, 0.04);
}
.perk-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 0%), rgba(178, 28, 223, 0.10), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.perk-card:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(19, 19, 70, 0.12); background-image: linear-gradient(#ffffff, #ffffff), var(--brand-gradient); background-origin: border-box; background-clip: padding-box, border-box; }
.perk-card:hover::before { opacity: 1; }
.perk-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.perk-icon svg { width: 22px; height: 22px; }
.icon-red { background: rgba(221, 38, 57, 0.12); color: var(--c-red); }
.perk-card p { font-size: 0.95rem; }

/* FORM */
.form-section { padding-top: 32px; }
.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(19, 19, 70, 0.08);
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; color: var(--ink); }
.form-card .subtitle { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-card label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #9ca3af; }
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  border-color: rgba(178, 28, 223, 0.7);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(178, 28, 223, 0.18);
}
.form-card textarea { resize: vertical; min-height: 130px; }
.form-card select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b80' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-card select:invalid { color: #9ca3af; }
.form-card select option { background: #ffffff; color: var(--ink); }
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
button[type="submit"] {
  width: 100%;
  background: var(--brand-gradient);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background-position 0.4s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(178, 28, 223, 0.28);
  margin-top: 6px;
}
button[type="submit"]:hover:not(:disabled) {
  background-position: 100% 100%;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(178, 28, 223, 0.4);
}
button[type="submit"]:active:not(:disabled) { transform: scale(0.98); }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.message {
  display: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  margin-top: 16px;
}
.message.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* RESPONSIVE */
@media (min-width: 720px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 44px 40px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .peek-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  section { padding: 100px 24px; }
  .perks-grid { grid-template-columns: repeat(4, 1fr); }
  .phone { width: 290px; }
  .phone-back { width: 250px; }
  .phone-third { width: 230px; }
  .peek-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

/* MOTION */
@keyframes phoneFloatA {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes phoneFloatB {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}
@keyframes phoneFloatC {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .perks-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
  .perks-grid > .reveal:nth-child(2) { transition-delay: 0.15s; }
  .perks-grid > .reveal:nth-child(3) { transition-delay: 0.25s; }
  .perks-grid > .reveal:nth-child(4) { transition-delay: 0.35s; }
  .peek-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
  .peek-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
  .peek-grid > .reveal:nth-child(3) { transition-delay: 0.19s; }
  .peek-grid > .reveal:nth-child(4) { transition-delay: 0.26s; }
  .peek-grid > .reveal:nth-child(5) { transition-delay: 0.33s; }

  .hero .eyebrow { animation: fadeInUp 0.8s 0.1s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero h1 { animation: fadeInUp 0.9s 0.2s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-lede { animation: fadeInUp 0.9s 0.35s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero .meta-row { animation: fadeInUp 0.9s 0.5s cubic-bezier(.2,.7,.2,1) backwards; }

  .phone-back  { animation: fadeInUp 1s 0.5s cubic-bezier(.2,.7,.2,1) backwards, phoneFloatA 6s 1.5s ease-in-out infinite; }
  .phone-front { animation: fadeInUp 1s 0.65s cubic-bezier(.2,.7,.2,1) backwards, phoneFloatB 7s 1.65s ease-in-out infinite; }
  .phone-third { animation: fadeInUp 1s 0.8s cubic-bezier(.2,.7,.2,1) backwards, phoneFloatC 6.5s 1.8s ease-in-out infinite; }

  .hero h1 .accent { background-size: 200% 200%; animation: gradientShift 8s ease infinite; }
  .hero::before { animation: heroBlob 9s ease-in-out infinite; }
}
