*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --probs-red: #d94f5c;
  --probs-cream: #faf7f4;
  --probs-dark: #1a1a1a;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--probs-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

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

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

/* ========== NAV ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--probs-red);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--probs-red);
  letter-spacing: -0.02em;
}

.nav-cta {
  background: var(--probs-dark);
  color: #fff;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.85;
}

.nav-cta:active {
  transform: scale(0.96);
}

/* ========== HERO ========== */

.hero {
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill {
  display: inline-block;
  background: var(--probs-cream);
  color: var(--probs-red);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--probs-dark);
  margin-bottom: 20px;
}

.hero-title-fade {
  color: #999;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #666;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-free {
  font-size: 0.85rem;
  color: #999;
  margin-top: 12px;
  font-weight: 500;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: 300px;
  max-width: 100%;
  border-radius: 32px;
  box-shadow: 0 24px 80px -16px rgba(0, 0, 0, 0.15);
}

/* ========== APP STORE BADGE ========== */

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 10px 22px;
  border-radius: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.appstore-badge:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.25);
}

.appstore-badge:active {
  transform: scale(0.97);
}

.appstore-badge svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.appstore-small {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}

.appstore-big {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

.appstore-badge-light {
  background: #fff;
  color: #000;
}

.appstore-badge-light svg {
  fill: #000;
}

/* ========== FEATURE SECTIONS ========== */

.feature-section {
  padding: 80px 24px;
  background: #fff;
}

.feature-section.feature-alt {
  background: var(--probs-cream);
}

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-section.feature-alt .feature-inner {
  direction: rtl;
}

.feature-section.feature-alt .feature-inner > * {
  direction: ltr;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--probs-dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.feature-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #666;
  max-width: 440px;
}

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

.phone-frame img {
  width: 220px;
  border-radius: 24px;
  box-shadow: 0 12px 48px -12px rgba(0, 0, 0, 0.12);
}

/* ========== WHY DIFFERENT ========== */

.why-section {
  padding: 100px 24px;
  background: #fff;
}

.why-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.why-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  color: var(--probs-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 20px;
  border-radius: 20px;
  background: var(--probs-cream);
  text-align: center;
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: var(--probs-red);
  stroke: var(--probs-red);
  fill: none;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--probs-dark);
}

.why-card p {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.5;
}

/* ========== PERFECT FOR ========== */

.perfect-section {
  padding: 80px 24px;
  background: var(--probs-cream);
}

.perfect-inner {
  max-width: 700px;
  margin: 0 auto;
}

.perfect-card {
  background: var(--probs-dark);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  text-align: center;
}

.perfect-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.perfect-card ul {
  list-style: none;
  margin-bottom: 36px;
}

.perfect-card li {
  font-size: 1.05rem;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.perfect-card li:last-child {
  border-bottom: none;
}

.perfect-card .appstore-badge-light {
  margin: 0 auto;
}

/* ========== FOOTER ========== */

.site-footer {
  padding: 48px 24px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #aaa;
  flex-wrap: wrap;
}

.footer-links a {
  color: #888;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--probs-red);
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
}

/* ========== SCROLL ANIMATIONS ========== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feature-section.feature-alt .feature-inner {
    direction: ltr;
  }

  .feature-text {
    align-items: center;
  }

  .feature-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .phone-frame img {
    width: 180px;
  }
}

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

  .perfect-card {
    padding: 32px 24px;
  }

  .phone-frame img {
    width: 150px;
  }

  .hero-phone img {
    width: 240px;
  }
}
