/* ===== Base ===== */
:root {
  --primary: #1f6feb;
  --primary-dark: #1554b6;
  --whatsapp: #25d366;
  --text: #1c2430;
  --muted: #5b6675;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 40, 80, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Heebo", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { filter: brightness(0.92); }

.btn-lg { padding: 0.85rem 2rem; font-size: 1.1rem; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #0d1b2e 0%, #163a63 55%, #1f6feb 130%);
  color: #fff;
  padding-block: 4.5rem 3.5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: #d4e2f5;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.75rem; }

.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.store-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  border: 1px solid #3a3a3a;
}

.store-badge:hover { background: #1a1a1a; }

.hero-media img {
  margin-inline: auto;
}

/* ===== Device frames ===== */
.frame {
  position: relative;
  background: #101318;
  border: 1px solid #2a2f3a;
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  border-radius: inherit;
}

.frame-phone {
  padding: 12px 8px 18px;
  border-radius: 34px;
}

.frame-phone img { border-radius: 22px; }

/* speaker */
.frame-phone::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 4px;
  background: #2e3440;
}

/* home indicator */
.frame-phone::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 4px;
  border-radius: 4px;
  background: #2e3440;
}

.frame-tablet {
  padding: 16px;
  border-radius: 30px;
}

.frame-tablet img { border-radius: 14px; }

/* front camera */
.frame-tablet::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e3440;
}

/* Layered devices: iPad in back, phone popping in front */
.device-stack {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  padding-inline-start: 5.5rem; /* room for the phone overhang */
  padding-bottom: 2rem;
}

.device-ipad {
  width: min(400px, 62vw);
  animation: float-ipad 6s ease-in-out infinite;
}

.device-phone {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: min(170px, 30vw);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  animation: pop-phone 0.9s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.4s backwards,
             float-phone 6s ease-in-out 1.3s infinite;
}

@keyframes pop-phone {
  from { opacity: 0; transform: translateY(50px) scale(0.7); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-ipad {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

@media (prefers-reduced-motion: reduce) {
  .device-ipad, .device-phone { animation: none; }
}

/* ===== Sections ===== */
.section { padding-block: 4.5rem; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 2.75rem;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }

.feature-card p { color: var(--muted); font-size: 0.98rem; }

/* ===== How it works ===== */
.how-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 2.25rem;
}

.how-row + .how-row { border-top: 1px solid var(--border); }

.how-row-reverse { direction: ltr; }
.how-row-reverse > * { direction: rtl; }

.how-text h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.how-text p { color: var(--muted); margin-bottom: 0.65rem; }

.how-media .frame-phone {
  width: min(240px, 62vw);
  margin-inline: auto;
}

.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding-inline-start: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
}
.checklist li::before {
  content: "✔";
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin-inline: auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--bg);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 1.4rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.faq-item[open] summary::after { content: "–"; }

.faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq-body p { margin-bottom: 0.5rem; }

/* ===== Contact / Lead form ===== */
.section-contact { background: linear-gradient(160deg, #0d1b2e, #163a63); color: #fff; }
.section-contact .section-title { color: #fff; text-align: start; }

.contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-or { margin-block: 1rem; color: #b9cce6; }

.lead-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1rem; display: flex; flex-direction: column; }

.form-field label { font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfcfe;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-field input.invalid { border-color: #d64545; }

.form-status { margin-top: 0.9rem; font-weight: 600; min-height: 1.4em; }
.form-status.success { color: #1c8f4e; }
.form-status.error { color: #d64545; }

/* ===== Footer ===== */
.site-footer { background: #0d1b2e; color: #c8d6e8; }

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 3rem;
}

.footer-col a { color: #e8f0fa; text-decoration: none; display: inline-block; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col > a { display: block; margin-bottom: 0.4rem; }

.site-footer .brand { color: #fff; margin-bottom: 0.4rem; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .contact-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .how-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.9rem;
  }

  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-block: 3rem 2.5rem; }
}
