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

:root {
  --bg: hsl(40, 33%, 98%);
  --fg: hsl(228, 19%, 22%);
  --border: hsl(40, 20%, 88%);
  --card: #ffffff;
  --muted: hsl(40, 20%, 92%);
  --muted-fg: hsl(228, 10%, 45%);
  --primary: hsl(13, 68%, 63%);
  --primary-dk: hsl(13, 68%, 55%);
  --secondary: hsl(151, 28%, 60%);
  --accent: hsl(44, 80%, 85%);
  --accent-fg: hsl(228, 19%, 22%);
  --destructive: hsl(0, 70%, 60%);
  --radius: 1rem;
  --shadow-sm: 0 2px 8px -2px rgba(36, 32, 28, 0.05);
  --shadow: 0 4px 16px -4px rgba(36, 32, 28, 0.07);
  --shadow-md: 0 8px 24px -6px rgba(36, 32, 28, 0.09);
  --shadow-lg: 0 16px 32px -8px rgba(36, 32, 28, 0.11);
  --shadow-xl: 0 24px 48px -12px rgba(36, 32, 28, 0.13);
  --font-body: 'Nunito', sans-serif;
  --font-head: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}

/* ============================================================
   UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in[data-dir="right"] {
  transform: translateX(-32px);
}

.fade-in[data-dir="left"] {
  transform: translateX(32px);
}

.fade-in[data-dir="right"].visible,
.fade-in[data-dir="left"].visible {
  transform: none;
  opacity: 1;
}

.fade-in[data-delay="1"] { transition-delay: .1s; }
.fade-in[data-delay="2"] { transition-delay: .2s; }
.fade-in[data-delay="3"] { transition-delay: .3s; }

/* ============================================================
   STICKY NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 251, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted-fg);
  transition: color .2s;
}

.navbar__links a:hover {
  color: var(--fg);
}

.btn-nav {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.3rem;
  border-radius: 99px;
  transition: background .2s, box-shadow .2s, transform .15s;
}

.btn-nav:hover {
  background: var(--primary-dk);
  box-shadow: 0 4px 16px rgba(205, 101, 68, .3);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: .3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
}

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

.mobile-nav a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted-fg);
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn-nav {
  text-align: center;
  margin-top: .5rem;
  display: block;
}

/* ============================================================
   APP STORE IMAGE BUTTONS
============================================================ */
.app-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: .95;
}

.store-badge img {
  height: 52px;
  width: auto;
  display: block;
}

.download-cta .store-badge img {
  height: 56px;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero__blob1 {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: hsla(13, 68%, 63%, .12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__blob2 {
  position: absolute;
  bottom: -120px;
  left: -160px;
  width: 500px;
  height: 500px;
  background: hsla(151, 28%, 60%, .10);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  background: hsla(13, 68%, 63%, .12);
  color: var(--primary);
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted-fg);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 28px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
  background: var(--muted);
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__float {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .9rem;
  animation: float-bounce 3s ease-in-out infinite;
}

.hero__float-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: hsla(151, 28%, 60%, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}

.hero__float p {
  line-height: 1.2;
}

.hero__float strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--fg);
}

.hero__float small {
  font-size: .75rem;
  color: var(--muted-fg);
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, hsl(40, 33%, 97%), hsl(44, 50%, 96%));
}

.about h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.about p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: hsl(228, 15%, 35%);
  line-height: 1.8;
  max-width: 780px;
  margin: 0 auto;
  font-weight: 500;
}

/* ============================================================
   PROBLEM SECTION
============================================================ */
.problem {
  padding: 6rem 0;
  background: #fff;
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem__img-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 1;
  background: linear-gradient(135deg, hsl(151, 20%, 92%), hsl(40, 30%, 94%));
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.problem p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.problem p.highlight {
  font-weight: 600;
  color: var(--fg);
}

.problem p.highlight span {
  color: var(--primary);
  font-weight: 800;
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services {
  padding: 6rem 0;
  background: hsl(40, 20%, 96%);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: .75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.65;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border-radius: 24px;
  padding: 2rem 2rem 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: hsla(13, 68%, 63%, .2);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__icon--blue  { background: hsl(210, 80%, 95%); color: hsl(210, 80%, 50%); }
.service-card__icon--rose  { background: hsl(350, 80%, 95%); color: hsl(350, 70%, 55%); }
.service-card__icon--green { background: hsl(145, 60%, 93%); color: hsl(145, 55%, 42%); }
.service-card__icon--amber { background: hsl(40, 90%, 93%); color: hsl(38, 75%, 45%); }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .55rem;
}

.service-card p {
  font-size: .95rem;
  color: var(--muted-fg);
  line-height: 1.65;
}

/* ============================================================
   PAYMENTS SECTION
============================================================ */
.payments {
  padding: 6rem 0;
  background: #f3e6df;
  text-align: center;
}

.payments__shield {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.payments__shield svg {
  width: 30px;
  height: 30px;
  color: hsl(38, 65%, 45%);
}

.payments h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #2b2728;
}

.payments > .container > p {
  font-size: 1.05rem;
  color: #5f5653;
  max-width: 620px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.payment-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 88px;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.payment-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, .8);
}

.payment-logo-card img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   DOWNLOAD CTA SECTION
============================================================ */
.download-cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
  background: var(--primary);
}

.download-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  filter: blur(40px);
}

.download-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(0, 0, 0, .05);
  border-radius: 50%;
  filter: blur(50px);
}

.download-cta .container {
  position: relative;
  z-index: 1;
}

.download-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}

.download-cta > .container > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.download-cta .app-btns {
  justify-content: center;
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact {
  padding: 6rem 0;
  background: var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact__left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact__left > p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: hsla(13, 68%, 63%, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact__detail h4 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

.contact__detail a,
.contact__detail span {
  font-size: .95rem;
  color: var(--primary);
}

.contact__detail span {
  color: var(--muted-fg);
}

.contact__form-card {
  background: var(--card);
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .45rem;
  color: var(--fg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--fg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: hsl(228, 10%, 65%);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px hsla(13, 68%, 63%, .12);
}

.form-group textarea {
  resize: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  font-size: .78rem;
  color: var(--destructive);
  margin-top: .3rem;
  display: none;
}

.form-error.show {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: .9rem 1.5rem;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 4px 20px hsla(13, 68%, 63%, .25);
  margin-top: .5rem;
}

.btn-submit:hover {
  background: var(--primary-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px hsla(13, 68%, 63%, .3);
}

.btn-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success.show {
  display: block;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: hsla(151, 28%, 60%, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.form-success__icon svg {
  width: 36px;
  height: 36px;
  color: var(--secondary);
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: .6rem;
}

.form-success p {
  color: var(--muted-fg);
  line-height: 1.65;
}

.form-success button {
  margin-top: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  background: none;
  text-decoration: underline;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--fg);
  color: #fff;
  padding: 3.5rem 0 2rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer__logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
}

.footer__nav a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  transition: color .2s;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .navbar__links {
    display: none;
  }

  .btn-nav.desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__float {
    left: 8px;
  }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .payment-logos {
    gap: 1.25rem;
  }

  .payment-logo-card {
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer__nav {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .store-badge img {
    height: 48px;
  }

  .download-cta .store-badge img {
    height: 50px;
  }

  .payment-logo-card {
    min-width: 110px;
    min-height: 80px;
    padding: .85rem 1rem;
  }

  .payment-logo-card img {
    max-height: 38px;
  }
}