/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #4DB86A;
  --green-dim: #3a9654;
  --teal: #2ABFBF;
  --dark: #0B0D17;
  --dark-card: #111325;
  --dark-border: rgba(255, 255, 255, 0.06);
  --dark-surface: #161830;
  --gray-100: #F4F5F7;
  --gray-200: #E2E4E9;
  --gray-400: #8B8FA3;
  --gray-500: #6B6F83;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--green), var(--teal));
  --gradient-reverse: linear-gradient(135deg, var(--teal), var(--green));
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

/* ===== UTILITIES ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 520px;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(77, 184, 106, 0.3), 0 0 0 0 rgba(77, 184, 106, 0);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(77, 184, 106, 0.4), 0 0 0 4px rgba(77, 184, 106, 0.1);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--delay {
  transition-delay: 0.15s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 23, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--dark-border);
  transition: background 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.25s;
}

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

.nav .btn {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--dark);
  padding: 120px 0 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--green);
  top: -200px;
  right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: var(--teal);
  bottom: -150px;
  left: -150px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.35; }
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero__content {
  max-width: 540px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(77, 184, 106, 0.1);
  border: 1px solid rgba(77, 184, 106, 0.2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 420px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__platforms-row {
  display: flex;
  gap: 0;
}

.hero__platform-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-surface);
  border: 2px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  margin-right: -8px;
  transition: transform 0.25s var(--ease-spring), color 0.25s;
}

.hero__platform-icon:hover {
  transform: translateY(-3px) scale(1.1);
  color: var(--white);
  z-index: 2;
}

.hero__social-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-left: 8px;
}

/* Phone mockup */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__phone-frame {
  position: relative;
  width: 280px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(77, 184, 106, 0.15);
  overflow: hidden;
}

.hero__phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.hero__phone-screen {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.hero__phone-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0.15;
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: orbPulse 6s ease-in-out infinite;
}

.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(244, 245, 247, 0.05) 20%,
    rgba(244, 245, 247, 0.15) 35%,
    rgba(244, 245, 247, 0.35) 50%,
    rgba(244, 245, 247, 0.6) 65%,
    rgba(244, 245, 247, 0.85) 80%,
    var(--gray-100) 100%
  );
  z-index: 3;
}

/* ===== SECTION FADES ===== */
.section-fade {
  height: 200px;
  position: relative;
  z-index: 4;
  pointer-events: none;
}

.section-fade--light-to-white {
  background: linear-gradient(to bottom,
    var(--gray-100) 0%,
    rgba(244, 245, 247, 0.8) 25%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.85) 75%,
    var(--white) 100%
  );
}

.section-fade--white-to-dark {
  background: linear-gradient(to bottom,
    var(--white) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(11, 13, 23, 0.15) 45%,
    rgba(11, 13, 23, 0.55) 70%,
    var(--dark) 100%
  );
}

.section-fade--dark-to-white {
  background: linear-gradient(to bottom,
    var(--dark) 0%,
    rgba(11, 13, 23, 0.8) 20%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.6) 70%,
    var(--white) 100%
  );
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0 120px;
  background: var(--gray-100);
  position: relative;
}

.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.features__header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(77, 184, 106, 0.12), 0 0 0 1px rgba(77, 184, 106, 0.15);
}

.feature-card:hover::before {
  opacity: 0.04;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(77, 184, 106, 0.1), rgba(42, 191, 191, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
  background: var(--white);
}

.how__header {
  text-align: center;
  margin-bottom: 72px;
}

.how__header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.how__steps {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(77, 184, 106, 0.25);
  flex-shrink: 0;
}

.step__line {
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(77, 184, 106, 0.3), rgba(77, 184, 106, 0.05));
  margin: 8px 0;
}

.step__content {
  padding-top: 6px;
  padding-bottom: 32px;
}

.step__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step__desc {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== PLATFORMS ===== */
.platforms {
  padding: 120px 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.platforms__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.platforms__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.platforms__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--green);
  opacity: 0.08;
  top: -100px;
  left: -100px;
}

.platforms__orb--2 {
  width: 350px;
  height: 350px;
  background: var(--teal);
  opacity: 0.06;
  bottom: -80px;
  right: -80px;
}

.platforms__header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.platforms__header .section-title {
  color: var(--white);
}

.platforms__header .section-desc {
  color: var(--gray-500);
  margin-left: auto;
  margin-right: auto;
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.platform-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(77, 184, 106, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 24px rgba(77, 184, 106, 0.08);
}

.platform-card__icon {
  margin-bottom: 14px;
  color: var(--gray-400);
  transition: color 0.3s;
  display: flex;
  justify-content: center;
}

.platform-card:hover .platform-card__icon {
  color: var(--white);
}

.platform-card__name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.3s;
}

.platform-card:hover .platform-card__name {
  color: var(--white);
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0 120px;
  background: var(--white);
}

.cta__box {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--dark-border);
}

.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(77, 184, 106, 0.2), transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(42, 191, 191, 0.15), transparent 50%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta__desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--white);
  color: var(--dark);
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn--store:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.btn__store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn__store-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn__store-name {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--dark);
}

.footer__bottom {
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__content {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__social-proof {
    justify-content: center;
  }

  .hero__phone-frame {
    width: 240px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 13, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 99;
    padding: 24px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    font-size: 1.3rem;
    color: var(--white);
  }

  .nav .btn {
    margin-left: 0;
    margin-top: 8px;
    font-size: 1rem;
    padding: 14px 36px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero__container {
    padding-bottom: 60px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__phone-frame {
    width: 220px;
  }

  .features {
    padding: 80px 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how {
    padding: 80px 0;
  }

  .platforms {
    padding: 80px 0;
  }

  .platforms__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .platform-card {
    padding: 24px 16px;
  }

  .cta {
    padding: 60px 0 80px;
  }

  .cta__box {
    padding: 56px 24px;
    border-radius: var(--radius-lg);
  }

  .footer__top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__bottom {
    text-align: center;
  }
}
