:root {
  --rose: #e11d48;
  --ink: #0f172a;
  --muted: #64748b;
  --bg1: #fff;
  --bg2: #fff7f9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  background: linear-gradient(180deg, #fff7f9, #ffffff);
  color: var(--ink);
}

/* NAVBAR */
.nav {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--rose);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

.links a {
  color: #334155;
  text-decoration: none;
  margin-left: 18px;
  font-weight: 500;
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
}

p.lead {
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
  margin: 0 0 18px;
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-weight: 600;
  transition: all 0.2s ease;
}

.badge:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

/* IPHONE MOCKUP */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.iphone {
  position: relative;
  width: 280px;
  height: 560px; /* More consistent visual ratio */
  border-radius: 40px;
  background: #0a0a0a;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  background: #0a0a0a;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 3;
}

.screen {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
}

.screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills entire screen without distortion */
  object-position: top center;
  display: block;
}

.homebar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #222;
  border-radius: 999px;
  opacity: 0.6;
}

:root {
  --rose: #e11d48;
  --ink: #0f172a;
  --muted: #64748b;
  --bg1: #fff;
  --bg2: #fff7f9;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  background: linear-gradient(180deg, #fff7f9, #ffffff);
}

/* NAV */
.nav {
  max-width: 1200px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--rose);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* HERO SECTION */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}

p.lead {
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
  margin: 0 0 18px;
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

/* FIXED IPHONE MOCKUP */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.iphone {
  position: relative;
  width: 300px;
  height: 620px;
  border-radius: 48px;
  background: #000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 3;
}

.screen {
  position: absolute;
  inset: 18px;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the phone completely */
  object-position: center; /* centers image */
  display: block;
}

.homebar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}
