/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 20px;
  width: auto;
  display: block;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nav__link:hover {
  opacity: 0.5;
}

.nav .btn {
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Burger button — hidden on desktop */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: opacity 0.2s;
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #F5F3F2;
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
  pointer-events: none;
}

.mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  flex-shrink: 0;
}

.mobile-menu__close {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-menu__close svg {
  width: 22px;
  height: 22px;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 16px;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: opacity 0.15s;
}

.mobile-menu__link:hover {
  opacity: 0.5;
}

.mobile-menu__link::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.4;
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.mobile-menu__btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s;
}

.mobile-menu__btn--primary {
  background: #191919;
  color: #fff;
}

.mobile-menu__btn:hover {
  opacity: 0.85;
}

/* ============================================================
   RESPONSIVE — hide/show burger vs links
   ============================================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    font-size: 0.8rem;
    padding: 10px 18px;
  }

  .nav__burger {
    display: flex;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding-top: 110px;
  padding-bottom: 160px;
  text-align: center;
}

.hero__copy {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero__headline {
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  max-width: 520px;
  margin-inline: auto;
}

.hero__subline {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 340px;
  margin-inline: auto;
}

/* CTA */
.hero__cta {
  margin-bottom: 32px;
}

.hero__cta .btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 34px;
  gap: 8px;
}

.hero__cta .btn__arrow {
  font-style: normal;
  font-size: 0.95rem;
}

/* ============================================================
   APPLE BADGES
   ============================================================ */
.hero__badges {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 52px;
}

.hero__badge {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--color-text-muted);
  opacity: 0.6;
  width: 170px;
  flex-shrink: 0;
  justify-content: center;
}

.hero__badge-wreath {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
}

.hero__badge-wreath--flip {
  transform: scaleX(-1);
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.hero__badge-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero__badge-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: -2px;
}

.hero__badge-stars {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.hero__badge-stars svg {
  width: 18px;
  height: 18px;
  color: #aaa;
}

/* ============================================================
   PHONE MOCKUP CARD
   ============================================================ */
.hero__visual {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 40px;
  background: #F5F3F2;
  border-radius: 28px;
  overflow: hidden;
  padding: 44px 60px 0;
}

.hero__visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
}

/* ============================================================
   TRUST PILLS
   ============================================================ */
.hero__trust {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: left;
  width: 220px;
  flex-shrink: 0;
}

.hero__trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 60px;
  }

  .hero__badges {
    gap: 20px;
    margin-bottom: 40px;
  }

  .hero__visual {
    border-radius: 20px;
    padding: 32px 24px 0;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero__trust-item {
    width: 220px;
  }
}
