/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(26, 26, 46, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-text h1 .line2 {
  color: var(--red);
  font-weight: 300;
}
.hero-text p {
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.3);
}
.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-badge .badge-text small {
  font-size: 0.65rem;
  opacity: 0.7;
  font-weight: 300;
  letter-spacing: 0.03em;
}
.store-badge .badge-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}
.coming-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--red);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 14px 0 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-frame {
  width: 280px;
  height: 560px;
  border-radius: 40px;
  background: #000;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 30px 80px rgba(26, 26, 46, 0.25),
    0 10px 30px rgba(255, 107, 107, 0.1);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #eeeeee;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

/* ── FLOATING CARDS (decorative) ── */
.float-card {
  position: absolute;
  border-radius: 12px;
  opacity: 0.15;
  pointer-events: none;
}
.float-card-1 {
  width: 120px;
  height: 80px;
  background: var(--red);
  top: 60px;
  right: -30px;
  transform: rotate(12deg);
  animation: drift1 8s ease-in-out infinite;
}
.float-card-2 {
  width: 90px;
  height: 60px;
  background: var(--navy);
  bottom: 80px;
  left: -20px;
  transform: rotate(-8deg);
  animation: drift2 10s ease-in-out infinite;
}
@keyframes drift1 {
  0%,
  100% {
    transform: rotate(12deg) translateY(0);
  }
  50% {
    transform: rotate(15deg) translateY(-10px);
  }
}
@keyframes drift2 {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(8px);
  }
}

/* ── FEATURES ── */
.features {
  padding: 120px 0;
  position: relative;
}
.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.06),
    transparent
  );
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 64px;
  max-width: 560px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-icon img {
  width: 44px;
  height: 44px;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ── FEATURE ICON ANIMATIONS ── */

/* Redeem: scan line sweeps up and down */
.icon-redeem .scan-line {
  transition: none;
}
.feature-card:hover .icon-redeem .scan-line {
  animation: scanSweep 1.2s ease-in-out infinite;
}
@keyframes scanSweep {
  0%,
  100% {
    transform: translateY(-9px);
  }
  50% {
    transform: translateY(9px);
  }
}

/* Bell: swings on hover */
.icon-bell .bell {
  transition: none;
}
.feature-card:hover .icon-bell .bell {
  animation: bellSwing 0.6s ease-in-out 3;
}
@keyframes bellSwing {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

/* Share: card floats toward receivers */
.icon-share .share-card {
  transition: transform 0.4s ease;
}
.feature-card:hover .icon-share .share-card {
  animation: cardSend 1.4s ease-in-out infinite;
}
@keyframes cardSend {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  45% {
    transform: translateX(10px);
    opacity: 0.6;
  }
  55% {
    transform: translateX(10px);
    opacity: 0;
  }
  60% {
    transform: translateX(-4px);
    opacity: 0;
  }
  75% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Share: receivers pulse on hover */
.icon-share .avatar-right-top,
.icon-share .avatar-right-bottom {
  transition: transform 0.3s ease;
}
.feature-card:hover .icon-share .avatar-right-top {
  animation: receivePulse 1.4s ease-in-out infinite;
  animation-delay: 0.5s;
}
.feature-card:hover .icon-share .avatar-right-bottom {
  animation: receivePulse 1.4s ease-in-out infinite;
  animation-delay: 0.6s;
}
@keyframes receivePulse {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  60% {
    transform: scale(1);
  }
}

/* ── HOW IT WORKS ── */
.how {
  padding: 120px 0;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.12) 0%,
    transparent 70%
  );
}
.how .section-label {
  color: var(--red-light);
}
.how .section-title {
  color: #fff;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  font-family: "DM Sans", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 107, 107, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ── CTA / NEWSLETTER ── */
.cta-section {
  padding: 120px 0;
  text-align: center;
}
.cta-section .section-title {
  margin: 0 auto 20px;
  text-align: center;
}
.cta-subtitle {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.cta-form {
  display: flex;
  gap: 12px;
  margin: 0 auto;
  max-width: 800px;
}
.cta-form input {
  flex: 1;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: all 0.3s;
  outline: none;
}
.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.cta-form select {
  padding: 16px 22px;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
  transition: all 0.3s;
  outline: none;
  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='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b6b7b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.cta-form select:invalid,
.cta-form select option[value=""] {
  color: var(--text-soft);
}
.cta-form button {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}
.cta-form button:hover:not(:disabled) {
  background: #e85e5e;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.35);
}
.cta-form button.loading {
  pointer-events: none;
  min-width: 180px;
}
.cta-form button.loading::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.cta-hint {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 14px;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-title {
    max-width: 100%;
  }
  .cta-form {
    flex-direction: column;
  }
}
@media (max-width: 500px) {
  .store-badge {
    padding: 12px 20px;
  }
  .phone-frame {
    width: 240px;
    height: 480px;
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
  }
}
