/* Homepage-only styles (site.css provides tokens, buttons, nav, form and footer basics) */
.home { background: var(--paper); overflow-x: hidden; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 500; }

.nav { transition: box-shadow .2s, background .2s; }
.nav.scrolled { box-shadow: 0 8px 30px -18px rgba(20,22,28,.35); background: rgba(250,247,242,.97); }

.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none !important; } }

/* HERO */
.hero2 { position: relative; padding: 70px 0 90px; }
.glow { position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at 60% 40%, rgba(255,90,31,.22), rgba(255,90,31,0) 60%); pointer-events: none; z-index: 0; }
.hero2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero2 h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -.025em; margin: 18px 0 22px; }
.hero2 .lede { font-size: 1.18rem; max-width: 33em; }
.hero2 .lede strong { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); padding: 7px 14px;
  border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin: 0; box-shadow: 0 6px 20px -14px rgba(0,0,0,.3); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 22px; }

/* Device mockups */
.devices { position: relative; height: 520px; }
.frame-clip { position: relative; overflow: hidden; background: #fff; }
.frame-clip iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.frame-clip.interactive iframe { pointer-events: auto; }
.laptop { position: absolute; right: 0; top: 10px; width: 92%; }
.laptop-screen { background: #1b1d23; border-radius: 16px 16px 6px 6px; padding: 10px 10px 12px; box-shadow: 0 40px 80px -40px rgba(20,22,28,.6); }
.browser-bar { display: flex; align-items: center; gap: 5px; background: #2a2d35; border-radius: 8px 8px 0 0; padding: 7px 10px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #4a4e59; }
.browser-bar span { margin-left: 8px; font-size: .7rem; color: #aab0bd; background: #1b1d23; padding: 2px 10px; border-radius: 999px; }
.laptop .frame-clip { aspect-ratio: 16 / 10; border-radius: 0 0 4px 4px; }
.laptop .frame-clip iframe { width: 1280px; height: 800px; }
.laptop-base { height: 14px; margin: 0 -5%; background: linear-gradient(#d9d4cb, #b9b3a8); border-radius: 0 0 14px 14px; }
.phone { position: absolute; left: 0; bottom: 0; width: 210px; background: #111318; border-radius: 34px; padding: 10px;
  box-shadow: 0 40px 70px -30px rgba(20,22,28,.7), inset 0 0 0 2px #2b2e36; }
.phone .frame-clip { aspect-ratio: 390 / 844; border-radius: 26px; }
.phone .frame-clip iframe { width: 390px; height: 844px; }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #111318; border-radius: 999px; z-index: 2; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 14px; box-shadow: 0 18px 40px -22px rgba(20,22,28,.45); font-size: .85rem; animation: float 6s ease-in-out infinite; z-index: 3; }
.float-card strong { display: block; font-size: .9rem; }
.float-card small { color: var(--muted); }
.fc-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff4ee; color: var(--accent); font-size: 1.05rem; }
.fc1 { right: -6px; bottom: 70px; }
.fc2 { left: 170px; top: -8px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: Fraunces, Georgia, serif; font-size: 1.25rem; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--accent); margin-left: 44px; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.problem h2 { font-size: clamp(2rem, 4vw, 3rem); }
.problem-points p { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 16px; }
.problem-points .strong { color: var(--ink); font-weight: 600; border-left: 3px solid var(--accent); padding-left: 16px; }

/* Section head */
.section-head.center { text-align: center; margin: 0 auto 34px; max-width: 680px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Showcase */
.showcase { background: linear-gradient(#f2ede4, var(--paper)); }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 600; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.show-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: center; max-width: 900px; margin: 0 auto; }
.show-copy h3 { font-size: 1.9rem; }
.show-points { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 12px; }
.show-points li { padding-left: 30px; position: relative; font-size: 1.05rem; }
.show-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(31,157,85,.12); color: var(--green); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 22px; }
.phone-lg { position: relative; width: 340px; border-radius: 46px; padding: 14px; }
.phone-lg .frame-clip { border-radius: 34px; }
.phone-lg .phone-notch { top: 22px; width: 100px; height: 24px; }

/* Steps */
.steps2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step2 { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; position: relative; overflow: hidden; }
.step2 p { color: var(--ink-2); margin: 0; }
.num2 { display: block; font-family: Fraunces, Georgia, serif; font-size: 3.2rem; font-weight: 600; color: var(--line); line-height: 1; margin-bottom: 18px; }
.step2-hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.step2-hl p { color: #c4c8d2; }
.step2-hl .num2 { color: var(--accent); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(20,22,28,.4); }
.feat h3 { font-family: Inter, sans-serif; font-size: 1.05rem; font-weight: 700; margin: 14px 0 8px; }
.feat p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.ficon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff4ee; font-size: 1.3rem; }

/* Compare */
.compare { background: #f2ede4; }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ctable th, .ctable td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.ctable thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ctable tbody th { font-weight: 600; }
.ctable td { color: var(--ink-2); }
.ctable .us { background: #fff4ee; color: var(--ink); font-weight: 700; }
.ctable thead .us { color: var(--accent-dark); }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; }
.pricing2 h2 { font-size: clamp(2rem, 4vw, 3rem); }
.guarantee { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin-top: 28px; }
.g-badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.4rem; font-weight: 700; }
.price-card2 { background: #fff; border-radius: 26px; padding: 38px; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(20,22,28,.55); position: relative; }
.price-card2::before { content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1.5px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin: 0; }
.big { font-size: 1.3rem; margin: 10px 0 0; }
.big span { font-family: Fraunces, Georgia, serif; font-size: 4rem; font-weight: 600; letter-spacing: -.02em; }
.then { color: var(--ink-2); margin: 2px 0 22px; }
.price-card2 .features { grid-template-columns: 1fr 1fr; margin: 0 0 28px; gap: 10px 18px; font-size: .95rem; }
.price-card2 .addon { margin-top: 18px; text-align: center; font-size: .88rem; }

/* FAQ spacing tweak */
.faq details { margin-top: 10px; }

/* Final CTA */
.cta-final { position: relative; overflow: hidden; }
.cta-final h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: #fff; }
.glow-2 { inset: auto auto -30% -20%; background: radial-gradient(circle, rgba(255,90,31,.25), rgba(255,90,31,0) 60%); }
.cta-final .wrap { position: relative; z-index: 1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero2 { padding: 40px 0 60px; }
  .hero2-grid, .problem-grid, .show-grid { grid-template-columns: 1fr; gap: 36px; }
  .devices { height: 380px; }
  .phone { width: 150px; border-radius: 26px; padding: 7px; }
  .phone .frame-clip { border-radius: 20px; }
  .phone-notch { width: 50px; height: 13px; top: 11px; }
  .fc2 { left: auto; right: 0; top: -14px; }
  .fc1 { bottom: 20px; }
  .steps2 { grid-template-columns: 1fr; }
  .show-grid { justify-items: center; text-align: left; }
  .phone-lg { position: relative; width: min(320px, 86vw); padding: 12px; border-radius: 42px; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .price-card2 { padding: 26px; }
  .price-card2 .features { grid-template-columns: 1fr; }
  .devices { height: 300px; }
  .laptop { width: 100%; }
  .float-card { display: none; }
}
