/* ============================================================
   NexaForge — portfolio site styles (v3: Apple-minimal)
   Plain CSS, no build step. Mobile-first.
   System: light #fbfbfd, hairline dividers, Inter, one accent.
   Accent: #22d3ee (logo cyan).
   ============================================================ */

:root {
  --bg: #fbfbfd;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #86868b;
  --hair: #e3e3e8;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, .10);
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -.011em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }

/* ---------- shared ---------- */
.wrap { max-width: 1020px; margin: 0 auto; }
section { padding: 96px 24px; }
@media (min-width: 768px) { section { padding: 120px 24px; } }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.h2 {
  font-size: clamp(34px, 8.5vw, 64px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.08; max-width: 20ch;
}
.lede {
  margin-top: 20px; font-size: clamp(16px, 4.4vw, 20px);
  color: var(--ink-2); line-height: 1.6; max-width: 56ch; font-weight: 400;
}
.divider { height: 1px; background: var(--hair); max-width: 1020px; margin: 0 auto; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  padding: 13px 28px; border-radius: 980px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(34, 211, 238, .35); background: #0fbfe0; }
.btn:active { transform: scale(.98); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--accent); border: none; cursor: pointer;
  font-family: inherit; font-weight: 500; font-size: 17px; text-decoration: none;
  padding: 12px 8px; transition: transform .35s var(--ease);
}
.btn-ghost:hover { transform: translateX(4px); }
.btn-ghost .arr { margin-left: 6px; transition: transform .35s var(--ease); }
.btn-ghost:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, 5vw);
  background: rgba(251, 251, 253, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: 30px; border-radius: 8px; }
.brand span { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.nav-links { display: none; gap: 28px; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 400; transition: color .25s; }
.nav-links a:hover { color: var(--ink); }

/* Apple-style hamburger: two lines, morphs to X */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; width: 40px; height: 40px; background: none; border: none;
  cursor: pointer; padding: 0;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(251, 251, 253, .94);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 40px; padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 24px; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-menu.open li { opacity: 1; transform: none; }
.mobile-menu.open li:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open li:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open li:nth-child(3) { transition-delay: .20s; }
.mobile-menu.open li:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open li:nth-child(5) { transition-delay: .32s; }
.mobile-menu a { text-decoration: none; color: var(--ink); font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.mobile-menu .menu-mail { font-size: 14px; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 48px) 24px 96px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(42% 34% at 50% 30%, rgba(34, 211, 238, .07), transparent 70%);
}
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px;
}
.booking-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft); color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 8px 16px; border-radius: 980px; margin-bottom: 24px;
}
.bp-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; flex: none; }
.hero h1 {
  font-size: clamp(44px, 11vw, 96px); font-weight: 700;
  line-height: 1.05; letter-spacing: -.035em; max-width: 14ch;
}
.hero h1 .thin { font-weight: 300; color: var(--ink-2); }
.hero .sub {
  margin-top: 28px; font-size: clamp(17px, 4.6vw, 22px); color: var(--ink-2);
  font-weight: 400; max-width: 44ch; line-height: 1.55; letter-spacing: -.01em;
}
.hero .cta-row { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; }
.hero-visual {
  margin-top: 64px; width: 100%; max-width: 880px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .12);
}
.hero-visual img { width: 100%; }
.hero-note { margin-top: 36px; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.scroll-hint {
  color: var(--ink-3); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  display: none; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 56px;
}
@media (min-width: 768px) { .scroll-hint { display: flex; } }
.scroll-hint::after {
  content: ""; width: 1px; height: 44px; background: var(--hair);
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- services ---------- */
.services { background: var(--bg); }
.svc-grid {
  margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--hair); border: 1px solid var(--hair);
  border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(3, 1fr); margin-top: 64px; } }
.svc { background: var(--bg); padding: 40px 32px; transition: background .4s var(--ease); }
.svc:hover { background: var(--bg-soft); }
.svc .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
  transition: transform .45s var(--ease);
}
.svc:hover .icon { transform: scale(1.1) rotate(-4deg); }
.svc .icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.svc p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ---------- demos ---------- */
.demos { background: #fff; }
.demo-note {
  display: inline-block; margin-top: 28px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--hair); border-radius: 980px; padding: 8px 18px; background: var(--bg);
}
.demo-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .demo-grid { grid-template-columns: repeat(2, 1fr); margin-top: 56px; } }
.demo {
  display: block; text-decoration: none; color: var(--ink);
  border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--bg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.demo:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .10); }
.browser { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.browser .bar { height: 30px; background: #ececee; display: flex; align-items: center; gap: 6px; padding: 0 14px; position: relative; z-index: 1; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2d2d7; }
.browser .bar i:first-child { background: #ff5f57; }
.browser .bar i:nth-child(2) { background: #febc2e; }
.browser .bar i:nth-child(3) { background: #28c840; }
.browser .cover {
  position: absolute; inset: 30px 0 0; width: 100%; height: calc(100% - 30px);
  object-fit: cover; transition: transform .8s var(--ease);
}
.demo:hover .cover { transform: scale(1.04); }
.demo-meta { padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; }
.demo-meta h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.demo-meta p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.demo-meta .go { font-size: 22px; color: var(--accent); transition: transform .35s var(--ease); flex-shrink: 0; }
.demo:hover .go { transform: translateX(6px); }

/* ---------- pricing ---------- */
.pricing { background: var(--bg-soft); }
.toggle { margin-top: 32px; display: inline-flex; background: #fff; border: 1px solid var(--hair); border-radius: 980px; padding: 4px; }
.toggle button {
  border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink-2); padding: 9px 22px; border-radius: 980px; cursor: pointer; transition: all .3s var(--ease);
}
.toggle button.on { background: var(--ink); color: #fff; }
.cards { margin-top: 44px; display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 420px; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); max-width: none; margin-top: 48px; } }
.card {
  background: #fff; border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 44px 36px; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, .08); }
.card.hot { border: 1.5px solid var(--ink); }
.card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px;
  border-radius: 980px; white-space: nowrap;
}
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.card .for { font-size: 14px; color: var(--ink-3); margin-top: 6px; min-height: 42px; line-height: 1.5; }
.card .price { margin: 24px 0 6px; font-size: 48px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.card .price small { font-size: 15px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.card ul { list-style: none; margin: 24px 0 0; }
.card li { font-size: 14px; color: var(--ink-2); padding: 9px 0; border-top: 1px solid var(--hair); line-height: 1.5; }
.card li:first-child { border-top: none; }
.terms { margin-top: 40px; text-align: center; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.terms strong { color: var(--ink-2); }
.pricing-cta { margin-top: 32px; text-align: center; }

/* ---------- 72-hour fixes ---------- */
.fixes { background: #fff; }
.fixes-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 420px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .fixes-grid { grid-template-columns: repeat(2, 1fr); max-width: 880px; } }
.fixes-grid .card { display: flex; flex-direction: column; }
.fix-time {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, .35); border-radius: 980px;
  padding: 6px 14px; margin-bottom: 22px;
}
.fix-credit {
  margin-top: 24px; padding: 16px 18px; font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2); background: var(--bg-soft); border-radius: 12px;
}
.fix-guarantee {
  margin-top: 14px; padding: 12px 18px; font-size: 13.5px; font-weight: 600; line-height: 1.55;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, .35); border-radius: 12px;
}
.fix-cta { margin-top: 28px; text-align: center; }
.fix-cta .btn { width: 100%; }
@media (min-width: 768px) { .fix-cta .btn { width: auto; } }

/* ---------- process / craft ---------- */
.process { background: #fff; }
.craft-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .craft-grid { grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; } }
.craft-visual { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .10); }
.craft-visual img { width: 100%; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.step:last-child { border-bottom: none; }
.step-n { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .06em; padding-top: 2px; }
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ---------- final CTA + footer ---------- */
.cta { background: #000; color: #f5f5f7; text-align: center; padding: 120px 24px 48px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .cta { padding: 160px 24px 80px; } }
.cta::before {
  content: ""; position: absolute; inset: -30%; z-index: 0;
  background: radial-gradient(40% 32% at 50% 40%, rgba(34, 211, 238, .14), transparent 70%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta .kicker { color: #7dd3fc; }
.cta h2 { font-size: clamp(36px, 9vw, 80px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; max-width: 16ch; margin: 0 auto; }
.cta p { margin: 28px auto 0; font-size: clamp(16px, 4.4vw, 20px); color: #a1a1a6; max-width: 46ch; line-height: 1.6; }
.cta .btn { margin-top: 48px; font-size: 17px; padding: 16px 40px; }
footer {
  position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .12);
  margin: 120px auto 0; padding: 40px 0 0; max-width: 1020px;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
  font-size: 13px; color: #86868b; text-align: center;
}
@media (min-width: 768px) { footer { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
footer .brand img { height: 24px; width: 24px; }
footer .brand span { font-size: 15px; color: #f5f5f7; }
/* footer sits inside .cta — needs higher specificity to beat .cta p */
footer .foot-tag { margin: 0; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .foot-links { flex-direction: row; gap: 24px; align-items: center; } }
footer a { color: #a1a1a6; text-decoration: none; transition: color .25s; }
footer a:hover { color: #f5f5f7; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 760px; margin-top: 40px; display: grid; gap: 28px; }
.faq-item h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.faq-item p { margin-top: 6px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* ---------- vertical landing pages (salon/dental/restaurant/gym) ---------- */
/* Moved verbatim from the 4 pages' inline <style> blocks, which the root CSP
   (style-src 'self', no 'unsafe-inline') blocks. Scoped under .vertical-page
   (body class on those 4 pages only) so these rules cannot leak onto other pages. */
.vertical-page .legal { max-width: 760px; }
.vertical-page .legal h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.vertical-page .legal .intro { margin-top: 22px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.vertical-page .legal h2 { margin-top: 44px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.vertical-page .legal p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.vertical-page .legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vertical-page .legal a:hover { color: var(--accent); }
.vertical-page .legal ul { margin-top: 12px; padding-left: 20px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.vertical-page .legal li { margin-top: 6px; }
.vertical-page .faq-item { margin-top: 24px; }
.vertical-page .faq-item h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.vertical-page .faq-item p { margin-top: 6px; }
.vertical-page .demo-card { margin-top: 28px; background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; }
.vertical-page .demo-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.vertical-page .demo-card p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.vertical-page .xlinks { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.vertical-page .cta-row { margin-top: 28px; }

/* CookieYes: hide the floating "revisit consent" cookie icon. Visitors can still change cookie choices via the "Cookie choices" link in the footer (class cky-banner-element) on every page. */
.cky-btn-revisit { display: none !important; }
