@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ═══════════════ CSS VARIABLES ═══════════════ */
:root {
  --bg:        #FFF8F0;
  --white:     #FFFFFF;
  --text:      #1A1A2E;
  --muted:     #6B7280;
  --border:    #F0E8DF;
  --primary:   #FF6B6B;
  --primary-2: #FF8E53;
  --font:      'Plus Jakarta Sans', sans-serif;
}

/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══════════════ NAVIGATION ═══════════════ */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,248,240,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}

.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: var(--text);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity .2s, transform .2s;
}
.btn-nav:hover { opacity: .85; transform: translateY(-1px); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
  min-height: 70vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,107,107,.1);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-text h1 span { color: var(--primary); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 440px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 99px;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255,107,107,.35);
  transition: transform .25s, box-shadow .25s;
}
.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255,107,107,.45);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.stars {
  color: #F5A623;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ═══════════════ SHOWCASE CARD (outer white card) ═══════════════ */
.showcase-card {
  background: var(--white);
  border-radius: 32px;
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
}

.showcase-card--hero {
  box-shadow: 0 12px 40px rgba(255,107,107,0.15), 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-10px);
}

/* ═══════════════ PHONE FRAME ═══════════════
   Using border + overflow:hidden so screenshot
   clips flush to rounded corners. No thick black
   background visible anywhere.
════════════════════════════════════════════ */
.phone-frame {
  position: relative;
  border: 2.5px solid #1c1c1e;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.08);
}

.phone-frame--hero {
  box-shadow:
    0 20px 50px rgba(0,0,0,0.14),
    0 6px 16px rgba(0,0,0,0.1);
}

.phone-frame--feature {
  box-shadow:
    0 16px 40px rgba(0,0,0,0.1),
    0 4px 12px rgba(0,0,0,0.07);
}

/* Android Punch-hole Camera (Top Left) */
.phone-notch {
  display: none;
}

/* Screen fills full frame width, no inner border-radius needed */
.phone-screen {
  display: block;
  width: 100%;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* Home indicator: hidden for Android look */
.phone-home-bar {
  display: none;
}

/* ═══════════════ HERO PHONES SHOWCASE ═══════════════ */
.hero-phones-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.phone-wrap.phone-left .phone-frame,
.phone-wrap.phone-right .phone-frame {
  width: 148px;
}

.phone-wrap.phone-left  { transform: rotate(-3deg) translateY(20px); }
.phone-wrap.phone-right { transform: rotate(3deg)  translateY(20px); }

.phone-wrap.phone-center .phone-frame { width: 182px; }
.phone-wrap.phone-center { position: relative; z-index: 2; }

.phone-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ═══════════════ FEATURES ═══════════════ */
.features {
  background: var(--white);
  margin-top: 6rem;
  padding: 6rem 2rem;
  border-radius: 48px 48px 0 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(255,107,107,.1);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  margin-bottom: 7rem;
}

.feature-row.reverse {
  direction: rtl;
}

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

.feature-text { padding: 1rem 0; }

.feature-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,107,107,.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.feature-text h3 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.feature-list li svg { color: var(--primary); flex-shrink: 0; }

.feature-phone-box {
  display: flex;
  justify-content: center;
}

.phone-frame--feature {
  width: 260px;
}

/* ═══════════════ FAQ ═══════════════ */
.faq {
  background: var(--bg);
  padding: 6rem 2rem 7rem;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.faq-container h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.faq-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.accordion { text-align: left; }

.accordion-item {
  background: var(--white);
  border-radius: 18px;
  margin-bottom: 0.75rem;
  border: 1.5px solid transparent;
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}

.accordion-item.active {
  border-color: rgba(255,107,107,.25);
  box-shadow: 0 4px 20px rgba(255,107,107,.08);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  gap: 1rem;
}

.acc-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,107,107,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.accordion-content {
  display: none;
  padding: 0 1.5rem 1.25rem;
}

.accordion-content p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3.5rem;
  }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-cta { display: flex; flex-direction: column; align-items: center; }
  .trust-row { justify-content: center; }
  .hero-phones-showcase { padding-bottom: 2rem; }
  .phone-wrap.phone-left, .phone-wrap.phone-right { display: none; }
  .phone-wrap.phone-center .phone-frame { width: 240px; }

  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; text-align: center; gap: 3rem; }
  .feature-list { align-items: center; }
  .feature-phone-box { order: -1; }
  .feature-num { text-align: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 2.2rem; }
}
