/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #2563eb;
  --blue-dk: #1d4ed8;
  --navy:    #0f172a;
  --gray:    #64748b;
  --light:   #f8fafc;
  --white:   #ffffff;
  --radius:  12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

/* ── Buttons ── */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 2px solid transparent;
}
.btn--primary  { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dk); }
.btn--outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--sm  { padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn--lg  { padding: 0.85rem 2rem; font-size: 1rem; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 1.75rem;
  flex: 1;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}
.nav__links a:hover { color: var(--navy); }

/* ── Hero ── */
.hero {
  position: relative;
  background: url('assets/background.png') center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 60, 0.68);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 3rem;
}
.hero__text {
  padding-bottom: 4rem;
}
.hero__text h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero__sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Phone image */
.hero__phone-img {
  display: block;
  height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
  margin: 0 auto;
}

/* Phone mockup (unused, kept for reference) */
.phone__btn {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: default;
  color: var(--white);
}
.phone__btn--in  { background: #16a34a; }
.phone__btn--out { background: #dc2626; }

/* ── Pills ── */
.pills {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.pills__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pill {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.pill__icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  background: #eff6ff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pill strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.pill p { font-size: 0.85rem; color: var(--gray); }

/* ── Features ── */
.features {
  background: var(--light);
  padding: 5rem 1.5rem;
  text-align: center;
}
.features__inner { max-width: 1100px; margin: 0 auto; }
.features h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.5rem; }
.features__sub { color: var(--gray); margin-bottom: 3rem; font-size: 1.05rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: left;
}
.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: #eff6ff;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--blue); }
.card p  { font-size: 0.875rem; color: var(--gray); line-height: 1.55; }

/* ── CTA ── */
.cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
}
.cta__inner { max-width: 600px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta p  { color: #94a3b8; margin-bottom: 2rem; font-size: 1.05rem; }

/* ── Footer ── */
.footer {
  background: var(--white);
  border-top: 1px solid #e2e8f0;
  padding: 1.75rem 1.5rem;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__copy { font-size: 0.825rem; color: var(--gray); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; align-items: center; padding-bottom: 2rem; }
  .hero__text  { padding-bottom: 0; }
  .hero__sub   { margin-left: auto; margin-right: auto; }
  .hero__phone-img { height: 300px; }
  .pills__inner { grid-template-columns: 1fr; }
  .cards        { grid-template-columns: 1fr; }
  .nav__links   { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
}
