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

:root {
  --bg:           #ffffff;
  --bg-alt:       #f5f5f7;
  --border:       #d2d2d7;
  --text:         #1d1d1f;
  --text-muted:   #6e6e73;
  --accent:       #0071e3;
  --accent-hover: #0077ed;
  --green:        #1a9c5b;
  --red:          #c0392b;
  --radius:       18px;
  --radius-sm:    980px; /* Apple uses pill-shaped buttons */
  --font:         "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-align: center;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 56px;
  line-height: 1.6;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.85rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
}

.btn--small:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn--full {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
}

/* ============================================================
   PLACEHOLDER BOXES
============================================================ */
.placeholder-box {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

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

.nav__logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: var(--bg);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__logo {
  width: 180px;
  height: auto;
  border-radius: 36px;
  display: block;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  margin-bottom: 8px;
}

.hero__badge {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__headline {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 760px;
  color: var(--text);
}

.hero__tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.hero__banner {
  width: 100%;
  max-width: 860px;
  margin-top: 20px;
}

.hero__banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.hero__screenshot {
  width: 100%;
  max-width: 860px;
  height: 500px;
  margin-top: 32px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero__screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

/* ============================================================
   PROBLEM — BEFORE / AFTER
============================================================ */
.problem {
  background: var(--bg-alt);
}

.problem__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.problem__arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.exif-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  min-width: 240px;
  font-size: 0.875rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.exif-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.exif-card--good .exif-card__label { color: var(--green); }
.exif-card--bad  .exif-card__label { color: var(--red); }

.exif-card__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-muted);
}

.exif-card__row:last-child { border-bottom: none; }

.exif-card__row span:last-child {
  color: var(--text);
  font-weight: 500;
}

.exif-card__row--bad span:last-child  { color: var(--red); }
.exif-card__row--good span:last-child { color: var(--green); font-weight: 600; }

.problem__caption {
  text-align: center;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================
   WORKFLOW STEPS
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step {
  background: var(--bg);
  padding: 36px 28px 36px 28px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.step__num {
  position: absolute;
  top: -16px;
  right: 16px;
  font-size: 7rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

.step__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   FEATURES
============================================================ */
.features {
  background: var(--bg-alt);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--bg-alt);
  padding: 36px 28px;
}

.feature__icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.feature--coming-soon {
  opacity: 0.6;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ============================================================
   PRICING
============================================================ */
.pricing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.price-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 44px 44px 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.price-card__badge {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.price-card__amount {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text);
}

.price-card__currency {
  font-size: 1.75rem;
  font-weight: 400;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
  color: var(--text-muted);
}

.price-card__once {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.price-card__features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}

.price-card__features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}

.price-card__features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
}

.price-card__features li:last-child {
  border-bottom: none;
}

.pricing__note {
  max-width: 460px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============================================================
   BETA CTA
============================================================ */
.beta {
  background: var(--bg-alt);
}

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

.beta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.beta__sub {
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.65;
  font-size: 1.05rem;
}

.beta__form-placeholder {
  width: 100%;
  max-width: 500px;
  height: 76px;
}

.beta__platform {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__logo {
  font-weight: 500;
  color: var(--text-muted);
}

.footer__copy a {
  color: var(--text-muted);
}

.footer__copy a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 600px) {
  .section { padding: 72px 0; }

  .problem__inner { flex-direction: column; }
  .problem__arrow { transform: rotate(90deg); }

  .hero__screenshot { height: 220px; }

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

  .steps, .feature-grid { gap: 1px; }

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