/* ===================== THEME ===================== */
:root {
  --brand: #6076FD;          /* app icon color */
  --brand-dark: #4a5ae0;
  --brand-darker: #3a48c4;
  --brand-100: #eef0ff;
  --brand-50: #f6f7ff;
  --ink: #1b1f3b;
  --ink-soft: #5a607e;
  --line: #e7e9f5;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(96, 118, 253, 0.18);
  --shadow-soft: 0 10px 30px rgba(27, 31, 59, 0.08);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name { font-family: 'Poppins', sans-serif; line-height: 1.15; }

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(96,118,253,.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 14px; font-size: 16px; }

.store-badge img { height: 54px; width: auto; border-radius: 10px; transition: transform .15s ease; }
.store-badge:hover img { transform: translateY(-2px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.brand-name { font-weight: 700; font-size: 19px; color: var(--ink); }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-weight: 500; color: var(--ink-soft); font-size: 15px; transition: color .15s ease; }
.main-nav a:hover { color: var(--brand); }
.header-cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===================== HERO (centered + phone fan) ===================== */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; text-align: center; }
.hero-spotlight {
  position: absolute; left: 50%; top: -120px; transform: translateX(-50%);
  width: min(1100px, 120vw); height: 720px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(96,118,253,.20), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--brand-dark); border: 1px solid var(--line);
  font-weight: 600; font-size: 13px; padding: 7px 16px; border-radius: 999px;
  letter-spacing: .02em; box-shadow: var(--shadow-soft);
}
.eyebrow i { color: var(--brand); }
.hero-inner h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; margin: 20px 0 16px; }
.hero-inner h1 .hl { color: var(--brand); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 600px; margin: 0 auto; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin: 30px 0 8px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-50); border: 1px solid var(--line); color: var(--ink-soft);
  font-size: .9rem; padding: 9px 16px; border-radius: 999px;
}
.hero-pill strong { color: var(--ink); }
.hero-pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #28c76f; box-shadow: 0 0 0 4px rgba(40,199,111,.18); }

/* Fanned trio of phones */
.hero-fan { position: relative; margin-top: 50px; height: 540px; }
.hero-fan .fan {
  position: absolute; bottom: 0; left: 50%;
  border-radius: 30px; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff;
}
.fan-main  { width: 252px; z-index: 3; transform: translateX(-50%); }
.fan-left  { width: 216px; z-index: 2; transform: translateX(calc(-50% - 168px)) rotate(-9deg); }
.fan-right { width: 216px; z-index: 2; transform: translateX(calc(-50% + 168px)) rotate(9deg); }

/* ===================== TRUST STRIP ===================== */
.trust-strip { background: var(--brand); color: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; padding: 16px 22px; font-weight: 500; font-size: 14.5px; }

/* ===================== SECTIONS ===================== */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 50px; }
.tag {
  display: inline-block; color: var(--brand-dark); background: var(--brand-100);
  font-weight: 600; font-size: 13px; padding: 5px 13px; border-radius: 999px; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

/* ===================== FEATURES ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand); margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: .94rem; }

/* ===================== SCREENSHOTS ===================== */
.screenshots { background: linear-gradient(180deg, #fff, var(--brand-50)); }
.shots-track {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shots-track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: 230px; scroll-snap-align: center; text-align: center; }
.shot img {
  width: 100%; border-radius: 26px; border: 6px solid #fff; box-shadow: var(--shadow);
  background: #fff;
}
.shot figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.shots-controls { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.shot-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--brand); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-soft);
  transition: background .15s, color .15s;
}
.shot-arrow:hover { background: var(--brand); color: #fff; }

/* ===================== WHY US (BENTO) ===================== */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
  gap: 22px;
}
.bento-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.bento-card h3 { font-size: 1.2rem; font-weight: 700; }
.bento-card p { color: var(--ink-soft); font-size: .96rem; }
.bento-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand); font-size: 22px; margin-bottom: 4px;
}

.bento-card .bento-list { margin-top: 4px; }

/* Tall feature card with phone image — spans 2 rows */
.bento-feature {
  grid-row: span 2; position: relative; overflow: hidden; padding: 30px;
  background: linear-gradient(160deg, var(--brand), var(--brand-darker)); color: #fff; gap: 16px;
}
.bento-feature h3 { font-size: 1.6rem; margin-top: 6px; }
.bento-feature p { color: rgba(255,255,255,.9); }
.bento-kicker {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28);
  font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 999px;
}
.bento-feature img {
  width: 82%; max-width: 256px; align-self: center; margin-top: auto;
  border-radius: 22px 22px 0 0; border: 6px solid rgba(255,255,255,.85); border-bottom: none;
  box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}

/* Wide card spanning 2 columns */
.bento-wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 22px; }
.bento-wide-body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.bento-wide h3 { margin-bottom: 2px; }

/* AI tool chips — stacked vertically to fill the card height */
.bento-chips { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; flex: 1 1 auto; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand-50); border: 1px solid var(--line); color: var(--ink);
  font-size: .94rem; font-weight: 600; padding: 0 18px; border-radius: 14px;
  flex: 1 1 auto; min-height: 48px;
}
.chip i {
  color: var(--brand); font-size: .95rem; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
}

/* Checklist inside cards */
.bento-list { list-style: none; display: grid; gap: 9px; margin-top: auto; padding-top: 6px; }
.bento-list li { position: relative; padding-left: 26px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.bento-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px; color: var(--brand); font-size: .78rem;
}

/* Full-width stats strip (sibling of the bento, auto height — no blank space) */
.why-stats {
  margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.why-stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 30px 18px; border-right: 1px solid var(--line);
}
.why-stat:last-child { border-right: none; }
.why-stat-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand); font-size: 19px;
  box-shadow: var(--shadow-soft); margin-bottom: 2px;
}
.why-stat strong { font-family: 'Poppins'; font-size: 2.4rem; line-height: 1; color: var(--brand); }
.why-stat-label { color: var(--ink-soft); font-size: .92rem; max-width: 180px; }

/* ===================== DOWNLOAD ===================== */
.download { padding-top: 30px; }
.download-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: #fff; border-radius: 28px; text-align: center; padding: 60px 24px; box-shadow: var(--shadow);
}
.download-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.download-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.download-card p { color: rgba(255,255,255,.9); max-width: 540px; margin: 14px auto 0; }
.download-badges { display: flex; justify-content: center; gap: 16px; margin: 26px 0 14px; }
.download-note { font-size: .88rem; color: rgba(255,255,255,.78); }

/* ===================== CONTACT ===================== */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 10px; }
.contact-copy p { color: var(--ink-soft); margin-top: 12px; }
.contact-mail { display: inline-block; margin-top: 18px; color: var(--brand); font-weight: 600; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--brand-50);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(96,118,253,.15);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 500; min-height: 20px; }
.form-status.ok { color: #1c9d63; }
.form-status.err { color: #d6453d; }

/* ===================== FOOTER ===================== */
.site-footer { background: #0f1330; color: #c7cbe6; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 56px 22px 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 320px; color: #9aa0c7; }
.footer-nav h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-nav a { display: block; color: #9aa0c7; font-size: .92rem; margin-bottom: 10px; transition: color .15s; overflow-wrap: anywhere; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { padding: 18px 0; font-size: .85rem; color: #7e84ad; text-align: center; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* Bento collapses to a clean two-column grid */
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-feature { grid-row: auto; grid-column: auto; }
  .bento-wide { grid-column: auto; flex-direction: column; }
  .bento-wide .bento-icon { margin-bottom: 0; }
}
/* Tablet / mobile: full-width dropdown nav */
@media (max-width: 860px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%; margin: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 6px 0;
    border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(27, 31, 59, .12);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 15px 22px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* Hamburger morphs into an X when open */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero { padding-top: 48px; }
  .hero-fan { height: 440px; }
  .fan-main { width: 220px; }
  .fan-left  { transform: translateX(calc(-50% - 130px)) rotate(-9deg); width: 184px; }
  .fan-right { transform: translateX(calc(-50% + 130px)) rotate(9deg);  width: 184px; }

  .contact-inner { grid-template-columns: 1fr; }
}

/* Single-column bento + one hero phone */
@media (max-width: 720px) {
  .hero-fan { height: 470px; }
  .fan-left, .fan-right { display: none; }
  .fan-main { width: 224px; }

  .bento { grid-template-columns: 1fr; }
  .bento-feature, .bento-wide { grid-column: 1; grid-row: auto; }
  .bento-wide { flex-direction: column; }
  .bento-wide .bento-icon { margin-bottom: 4px; }

  /* Stats strip: 2 x 2 grid */
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .why-stat { border-bottom: 1px solid var(--line); padding: 24px 14px; }
  .why-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .why-stat:nth-child(even) { border-right: none; }
  .why-stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 540px) {
  .section { padding: 56px 0; }
  .hero-inner h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero-inner h1 br { display: none; }
  .lead { font-size: 1.02rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer { margin-top: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; padding: 52px 20px 34px; }
  .trust-inner { font-size: 12.5px; gap: 8px 16px; }
  .section-head { margin-bottom: 38px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-fan { height: 420px; }
  .fan-main { width: 200px; }
  .hero-cta { gap: 12px; }
  .why-stats { grid-template-columns: 1fr; }
  .why-stat, .why-stat:nth-child(odd) { border-right: none; border-bottom: 1px solid var(--line); }
  .why-stat:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .download-card { padding: 44px 18px; }
  .contact-form { padding: 22px; }
}
