/* ARIV marketing site: shared styles (home, pricing, landing pages) */
:root {
  --primary: #673AB7; --primary-dark: #3B1F78; --primary-soft: #EDE7F6; --accent: #FFD666;
  --bg: #FFFFFF; --bg-alt: #F7F5FB; --text: #1C1B1F; --muted: #5F5A6B; --line: #E7E2EF;
  --radius: 18px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--primary); text-decoration: none; letter-spacing: .3px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 18px; margin-left: 8px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav a:hover { color: var(--primary); }
.header-cta .btn { white-space: nowrap; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; border: 0; background: none; font-size: 24px; cursor: pointer; }
@media (max-width: 1080px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
  .site-nav.open { display: flex; }
  .menu-btn { display: block; margin-left: 4px; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-ghost { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 700; text-decoration: none; font-size: 15px; border: 0; cursor: pointer; transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(103,58,183,.25); }
.btn-light { background: #fff; color: var(--primary); }
.btn-ghost { background: var(--primary-soft); color: var(--primary); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.play-badge { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; border-radius: 12px; padding: 9px 16px; text-decoration: none; line-height: 1.15; }
.play-badge small { display: block; font-size: 10px; opacity: .8; letter-spacing: .5px; } .play-badge b { font-size: 16px; }

/* Sections */
section { padding: 76px 0; }
.alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 16px 0; letter-spacing: -1px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 10px 0 12px; letter-spacing: -.5px; }
h3 { font-size: 19px; margin: 10px 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.center { text-align: center; } .center .lead { margin: 0 auto; }

/* Hero */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 500px at 80% 0%, #EFE7FF 0%, #fff 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; align-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; }
.proof b { color: var(--text); }
.hero-phones { position: relative; height: 560px; }
.hero-phones img { position: absolute; width: 270px; filter: drop-shadow(0 30px 40px rgba(59,31,120,.25)); }
.hero-phones img:first-child { left: 0; top: 40px; transform: rotate(-5deg); }
.hero-phones img:last-child { right: 0; top: 0; transform: rotate(4deg); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-phones { height: 420px; } .hero-phones img { width: 200px; } }

/* Grids & cards */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--primary-soft); }
.card p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.card a.more { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }
.step { counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; }
.steps { counter-reset: step; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { width: 300px; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(59,31,120,.2)); }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0; }
.ticks li { padding-left: 30px; position: relative; margin: 10px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Pricing */
.price { display: flex; flex-direction: column; }
.price .amt { font-size: 34px; font-weight: 800; margin: 6px 0; }
.price .amt small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price.featured { border: 2px solid var(--primary); position: relative; }
.price.featured::after { content: "Most popular"; position: absolute; top: -12px; right: 18px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: 28px; padding: 48px; text-align: center; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 18px; }

/* Footer */
.site-footer { background: #17121F; color: #CFC8DC; padding: 56px 0 30px; font-size: 14px; }
.site-footer .grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer a { color: #CFC8DC; text-decoration: none; display: block; margin: 7px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #2E2639; margin-top: 30px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }

/* Mobile sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 10px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); }
  .sticky-cta .btn { flex: 1; padding: 12px; }
  body { padding-bottom: 72px; }
}
