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

:root {
  --brand: #18181b;
  --brand-hover: #3f3f46;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --fg: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

/* ── Header ── */
header {
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--fg);
}

.btn {
  background: var(--brand);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.btn:hover {
  background: var(--brand-hover);
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2.5rem 5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 420px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #111;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
}

.app-badge svg {
  width: 22px;
  height: 22px;
  fill: white;
  flex-shrink: 0;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-badge-text small {
  font-size: 0.65rem;
  opacity: 0.75;
}

.app-badge-text strong {
  font-size: 0.95rem;
}

/* ── Phone mockups ── */
.hero-phones {
  display: flex;
  justify-content: center;
  position: relative;
  height: 460px;
}

.phone-wrap {
  position: absolute;
}

.phone-wrap:nth-child(1) {
  transform: rotate(-9deg) translateX(-68px);
  z-index: 1;
  top: 30px;
}

.phone-wrap:nth-child(2) {
  transform: rotate(0deg);
  z-index: 3;
  top: 0;
}

.phone-wrap:nth-child(3) {
  transform: rotate(9deg) translateX(68px);
  z-index: 2;
  top: 30px;
}

.phone {
  width: 168px;
  height: 346px;
  border: 7px solid #1a1a1a;
  border-radius: 36px;
  overflow: hidden;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Section label ── */
.section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4rem 0 0;
}

/* ── Features ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.feature:last-child {
  border-bottom: none;
}

.feature.rev .fp {
  order: 2;
}

.feature.rev .ft {
  order: 1;
}

.fp {
  display: flex;
  justify-content: center;
}

.fp .phone {
  width: 205px;
  height: 420px;
}

.ft h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ft p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.flist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--fg);
}

.flist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.badge-premium {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
}

/* ── Contact ── */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 4.5rem 2.5rem;
}

.contact h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.contact a {
  color: var(--brand);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact a:hover {
  text-decoration: underline;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

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

footer a:hover {
  color: var(--fg);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3.5rem 1.5rem;
    gap: 3rem;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-phones {
    height: 310px;
  }

  .phone {
    width: 120px;
    height: 247px;
    border-width: 5px;
    border-radius: 28px;
  }

  .phone-wrap:nth-child(1) {
    transform: rotate(-9deg) translateX(-48px);
  }

  .phone-wrap:nth-child(3) {
    transform: rotate(9deg) translateX(48px);
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }

  .feature.rev .fp {
    order: -1;
  }

  .fp .phone {
    width: 185px;
    height: 380px;
  }

  .features {
    padding: 0 1.5rem 3rem;
  }

  nav a:not(.btn) {
    display: none;
  }
}
