/* ============================================================
   Snapeex — shared stylesheet
   Monochrome (black / white), rounded modern type (Quicksand)
   ============================================================ */

:root {
  /* Monochrome system. "brand" = black so both stylesheets stay in sync. */
  --brand:        #111111;
  --brand-dark:   #000000;
  --brand-light:  #3A3A3A;
  --brand-50:     #F2F2F2;
  --accent:       #111111;
  --ink:          #0A0A0A;
  --ink-2:        #2C2C2C;
  --muted:        #7A7A7A;
  --line:         #ECECEC;
  --line-2:       #D8D8D8;
  --bg:           #FFFFFF;
  --bg-soft:      #F7F7F7;
  --bg-soft-2:    #F0F0F0;
  --danger:       #D92D20;
  --warning:      #B58100;
  --radius:       16px;
  --radius-sm:    11px;
  --radius-lg:    26px;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.05), 0 2px 10px rgba(0,0,0,.04);
  --shadow-md:    0 8px 30px rgba(0,0,0,.09);
  --shadow-lg:    0 24px 70px rgba(0,0,0,.16);
  --maxw:         1180px;
  --font:         "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas, video { max-width: 100%; }
img { display: block; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: var(--ink-2); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: .98rem;
  padding: .82em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 1.02em 2em; font-size: 1.05rem; }
.btn-sm { padding: .58em 1.05em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.32rem; letter-spacing: -.03em; }
.brand .logo {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--ink); display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 700;
}
.brand b { font-weight: 700; }
.nav-links { display: flex; gap: 26px; margin-left: 14px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 2rem; cursor: pointer; color: var(--ink); margin-right: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 44px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 460px at 84% 6%, rgba(0,0,0,.05), transparent 62%),
    radial-gradient(520px 400px at 6% 96%, rgba(0,0,0,.04), transparent 60%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: .8rem; padding: .5em 1.05em; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.section-head .eyebrow { background: var(--brand-50); color: var(--ink); }
.section-head .eyebrow .dot { background: var(--ink); }
.hero p.lead { font-size: 1.2rem; max-width: 540px; color: var(--ink-2); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 18px; }
.trust { display: flex; align-items: center; gap: 16px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.trust .stars { color: var(--ink); letter-spacing: 2px; }

/* Hero preview (before/after card) */
.preview-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px; position: relative;
}
.ba {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3;
  background:
    conic-gradient(#eee 90deg, #fff 90deg 180deg, #eee 180deg 270deg, #fff 270deg) 0 0 / 22px 22px;
}
.ba .half { position: absolute; inset: 0; display: grid; place-items: center; }
.ba .after-half { clip-path: inset(0 0 0 50%); }
.ba .label {
  position: absolute; bottom: 12px; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; background: rgba(10,10,10,.82); color: #fff; padding: .35em .7em; border-radius: 999px;
}
.ba .label.l { left: 12px; } .ba .label.r { right: 12px; }
.ba .divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.ba .divider::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 36px; height: 36px; background: var(--ink); border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); font-size: 15px; color: #fff;
}

/* ---------- Logos strip ---------- */
.logos { padding: 30px 0 8px; }
.logos .row { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; opacity: .42; }
.logos .row span { font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.7); }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feat-card .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 18px; background: var(--ink); color: #fff;
}
.feat-card h3 { font-size: 1.15rem; }
.feat-card p { margin: 0; font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step .num {
  counter-increment: step; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; margin: 0; }

/* CTA band */
.cta-band {
  background: var(--ink); border-radius: var(--radius-lg); padding: 60px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #f1f1f1; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .42em 1.05em; border-radius: 999px;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-card .tier-desc { font-size: .9rem; color: var(--muted); min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 6px; }
.price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 13px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.price-card li .ck { color: var(--ink); font-weight: 800; flex: none; }
.price-card li.off { color: var(--muted); }
.price-card li.off .ck { color: var(--line-2); }
.price-card .btn { margin-top: auto; }

.billing-toggle { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); padding: 6px; border-radius: 999px; margin: 0 auto; border: 1px solid var(--line); }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: .55em 1.3em; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.save-badge { background: #fff; color: var(--ink); font-size: .7rem; font-weight: 700; padding: .2em .6em; border-radius: 999px; margin-left: 4px; border: 1px solid var(--line-2); }
.billing-toggle button.active .save-badge { background: #fff; color: var(--ink); border: 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 64px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .logo { background: #fff; color: var(--ink); }
.site-footer p { color: #9a9a9a; font-size: .92rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; color: #9a9a9a; font-size: .92rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7d7d7d; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { padding: 56px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .preview-card { max-width: 460px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .section { padding: 60px 0; }
  .feat-grid, .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feat-card { padding: 20px 16px; }
  .feat-card .ico { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
  .feat-card h3 { font-size: 1rem; }
  .feat-card p { font-size: .86rem; }
  .step .num { width: 38px; height: 38px; font-size: .95rem; margin-bottom: 10px; }
  .step h3 { font-size: .95rem; }
  .step p { font-size: .82rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .container { padding: 0 18px; }
}
