/* ============================================================
   PAGE SURFER — Global Stylesheet
   Dynamic font: change --font-body and --font-heading below
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---- FONT TOKENS (edit here to change fonts site-wide) ---- */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Colors */
  --orange:       #F04E23;
  --orange-light: #FF6B3D;
  --blue:         #00AEEF;
  --blue-dark:    #0090C8;
  --dark:         #1A1A2E;
  --text:         #333333;
  --text-light:   #666666;
  --bg-light:     #F5F7FB;
  --bg-white:     #FFFFFF;
  --border:       #E0E0E0;

  /* Spacing */
  --section-gap: 80px;
  --container:   1180px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-gap) 0; }
.section--gray { background: var(--bg-light); }

.tag {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--dark);
}

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }

/* ---- NAVIGATION ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  z-index: 101;
}
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}
.nav__links a:hover { color: var(--orange); }
.nav__cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav__cta:hover { background: var(--orange-light) !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #fff 60%, #f0f7ff 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero__title span { color: var(--orange); }
.hero__subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}
.hero__desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* App Store badge */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: #fff;
  padding: 11px 22px;
  border-radius: 12px;
  transition: background .2s, transform .2s;
}
.btn-appstore:hover { background: #2d2d4a; transform: translateY(-2px); }
.btn-appstore__label { display: flex; flex-direction: column; line-height: 1.2; }
.btn-appstore__small { font-size: 11px; font-weight: 400; opacity: .8; font-family: var(--font-body); }
.btn-appstore__big   { font-size: 17px; font-weight: 700; font-family: var(--font-heading); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn--outline { border: 2px solid var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--download {
  background: var(--blue);
  color: #fff;
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 12px;
}
.btn--download:hover { background: var(--blue-dark); transform: translateY(-2px); }

.hero__image-wrap { display: flex; justify-content: center; position: relative; }

/* ---- SOCIAL PROOF STRIP ---- */
.social-proof { background: var(--dark); padding: 18px 0; }
.social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.social-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}
.social-proof__divider { width: 1px; height: 20px; background: rgba(255,255,255,0.2); }
.stars { display: flex; gap: 2px; }
.stars svg { fill: #FFB800; stroke: none; }

/* ---- PHONE PAIR ---- */
.app-img {
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.app-img img { width: 100%; object-fit: cover; }
.phone-pair { position: relative; width: 320px; height: 420px; }
.phone-pair .phone-back {
  position: absolute; left: 0; top: 30px; width: 220px;
  border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,.15); overflow: hidden;
}
.phone-pair .phone-front {
  position: absolute; right: 0; top: 0; width: 230px;
  border-radius: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.22); overflow: hidden; z-index: 2;
}
.phone-pair img { width: 100%; display: block; }

/* ---- FEATURES LIST ---- */
.features-list__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.features-list__content { padding-right: 20px; }
.features-list__image { display: flex; justify-content: center; }

.section-category {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 32px 0 12px;
}
.section-category:first-child { margin-top: 0; }

.feature-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.feature-bullets li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}
.feature-bullets li::before { content: '•'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.feature-bullets strong { color: var(--dark); }

/* ---- 3-COLUMN FEATURE GRID ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-card__desc {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 280px;
}
.feature-card__img {
  width: 100%;
  max-width: 280px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
.feature-card__img img { width: 100%; display: block; }

/* Image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aab;
  font-size: 13px;
  font-family: var(--font-body);
  gap: 8px;
  padding: 20px;
  text-align: center;
  min-height: 300px;
}
.img-placeholder svg { opacity: .4; }

/* ---- FEATURES PAGE HEADER ---- */
.features-header { background: var(--bg-light); padding: 60px 0 40px; text-align: center; }
.features-header .tag { margin-bottom: 12px; display: block; }
.features-header h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: var(--dark); }

/* ---- PRICING ---- */
.pricing-intro {
  text-align: center;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--blue);
  font-size: 15px;
}
.pricing__title {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 48px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}
.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}
.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  background: var(--bg-white);
  transition: box-shadow .2s, transform .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--orange);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(240,78,35,.12);
}
.pricing-card--featured:hover { box-shadow: 0 16px 48px rgba(240,78,35,.2); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card__price span { font-size: 18px; font-weight: 500; color: var(--text-light); }
.pricing-card__saving { font-size: 13px; font-weight: 600; color: var(--orange); min-height: 20px; margin-bottom: 4px; }
.pricing-card__divider { height: 1px; background: var(--border); margin: 20px 0; }
.pricing-card__features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
  flex: 1;
}
.pricing-card__features li { font-size: 14px; color: var(--text); }
.btn--get-started {
  width: 100%;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  margin-top: auto;
}
.btn--get-started:hover { background: var(--blue-dark); }
.pricing-card--featured .btn--get-started { background: var(--orange); }
.pricing-card--featured .btn--get-started:hover { background: var(--orange-light); }

/* ---- CONTACT ---- */
.contact { background: var(--bg-light); padding: var(--section-gap) 0; }
.contact h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.contact__desc { color: var(--text-light); font-size: 16px; margin-bottom: 28px; max-width: 500px; }
.contact__email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  padding-bottom: 2px;
}
.contact__email-link:hover { color: var(--blue-dark); border-bottom-color: var(--blue-dark); }

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__logo { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--orange); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 13px; }

/* ---- SECTION DIVIDER ---- */
.section-divider { height: 1px; background: var(--border); max-width: var(--container); margin: 0 auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero__inner,
  .features-list__header { grid-template-columns: 1fr; }
  .hero__image-wrap { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid--3 { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
  .pricing-grid--3 .pricing-card:first-child { grid-column: 1 / -1; max-width: 280px; margin: 0 auto; }
  .social-proof__divider { display: none; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid, .pricing-grid--3 { grid-template-columns: 1fr; max-width: 360px; }
  .pricing-grid--3 .pricing-card:first-child { grid-column: auto; max-width: 100%; }
  :root { --section-gap: 50px; }

  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 100;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 20px; font-weight: 600; }
  .nav__cta { padding: 14px 36px; font-size: 17px !important; }
}
