/* ============================================================
   Zevra — style.css
   ============================================================ */

:root {
  --bg: #0b0b0e;
  --bg-alt: #101014;
  --surface: #15151b;
  --surface-2: #1b1b23;
  --text: #ffffff;
  --muted: #c4c4cf;
  --accent: #4d7cff;
  --accent-hover: #6c93ff;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --container: 1120px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }
p { color: var(--muted); }
a { color: var(--text); text-decoration: none; }
img, svg { display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2, .split__copy h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 14px; }
.section-head p { max-width: 56ch; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent);
  white-space: nowrap;
}
.link-arrow:hover { color: var(--accent-hover); }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Cursor light ---------- */
.cursor-light {
  position: fixed;
  top: 0; left: 0;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(77, 124, 255, 0.07) 0%, rgba(77, 124, 255, 0.02) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  will-change: transform;
}
@media (pointer: coarse) {
  .cursor-light { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.nav.is-scrolled { background: rgba(11, 11, 14, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 32px; height: 32px; }
.logo__word { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 4px; }
.nav__link {
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); transition: transform 0.25s, opacity 0.25s; }
.nav__toggle.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  align-items: center;
  padding: 100px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__cta { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 110px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hero__title { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 20px; }
.hero__sub { font-size: 1.05rem; max-width: 46ch; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual { position: relative; }
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser__url { margin-left: auto; font-size: 0.72rem; color: var(--muted); background: var(--bg); padding: 4px 12px; border-radius: 999px; }
.browser__body { padding: 0; }

.site { display: flex; flex-direction: column; min-height: 300px; }
.site__nav { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.site__logo { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.site__navlinks { display: flex; gap: 14px; flex: 1; }
.site__navlinks i { height: 8px; width: 34px; background: rgba(255, 255, 255, 0.14); border-radius: 999px; }
.site__cta { width: 58px; height: 24px; border-radius: 999px; background: var(--accent); }

.site__hero { padding: 34px 24px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site__kicker { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.site__head { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.site__sub { font-size: 0.82rem; color: var(--muted); max-width: 30ch; }
.site__actions { display: flex; gap: 10px; margin-top: 6px; }
.site__actions i { height: 28px; border-radius: 8px; }
.site__actions i:first-child { width: 96px; background: var(--accent); }
.site__actions i:last-child { width: 96px; border: 1px solid var(--line); background: transparent; }

.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px; margin-top: auto; }
.site__card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site__card i { width: 20px; height: 20px; border-radius: 50%; background: rgba(77, 124, 255, 0.25); }
.site__card b { height: 9px; width: 70%; background: rgba(255, 255, 255, 0.16); border-radius: 999px; }
.site__card em { height: 7px; width: 45%; background: rgba(255, 255, 255, 0.08); border-radius: 999px; font-style: normal; }

.hero__badge {
  position: absolute;
  bottom: -18px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Services ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.card:hover { border-color: rgba(77, 124, 255, 0.4); transform: translateY(-3px); background: var(--surface-2); }
.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(77, 124, 255, 0.12);
  border-radius: 10px;
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { position: relative; }
.work-card__preview {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.work-card--ph .work-card__preview { cursor: default; }
.work-card__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 11, 14, 0.85);
  border: 1px solid var(--line);
  color: var(--muted);
  z-index: 2;
}
a.work-card__preview:hover .mock { transform: scale(1.02); }
.mock { height: 200px; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.35s; }
.mock--cafe { background: #f0e7d8; }
.mock--barber { background: #16161c; }
.mock--restaurant { background: #1b130d; }
.mock--auto { background: #0e1522; }
.mock--landscape { background: #0f1a11; }
.mock--local { background: #131318; }
.mock__bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.mock--barber .mock__bar, .mock--restaurant .mock__bar, .mock--auto .mock__bar,
.mock--landscape .mock__bar, .mock--local .mock__bar { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mock__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.p-nav { display: flex; align-items: center; gap: 14px; }
.p-logo { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }
.mock--cafe .p-logo { background: #c98a4b; }
.mock--barber .p-logo { background: #d4a24e; }
.mock--restaurant .p-logo { background: #d6a05a; }
.mock--auto .p-logo { background: #7aa2f7; }
.mock--landscape .p-logo { background: #7fb069; }
.mock--local .p-logo { background: #8b8b96; }
.p-nav b { height: 8px; width: 36px; background: currentColor; opacity: 0.25; border-radius: 999px; }
.mock--cafe .p-nav b { color: #3a2c20; }
.mock--barber .p-nav b, .mock--restaurant .p-nav b, .mock--auto .p-nav b,
.mock--landscape .p-nav b, .mock--local .p-nav b { color: #fff; }
.p-nav em { height: 22px; width: 60px; border-radius: 999px; margin-left: auto; font-style: normal; }
.mock--cafe .p-nav em { background: #c98a4b; }
.mock--barber .p-nav em { background: #4d7cff; }
.mock--restaurant .p-nav em { background: #d6a05a; }
.mock--auto .p-nav em { background: #7aa2f7; }
.mock--landscape .p-nav em { background: #7fb069; }
.mock--local .p-nav em { background: #4d7cff; }

.p-hero { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; padding: 8px 0 4px; }
.p-hero--left { align-items: flex-start; text-align: left; }
.p-hero b { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.mock--cafe .p-hero b { color: #3a2c20; }
.mock--barber .p-hero b { color: #f4f4f5; }
.mock--restaurant .p-hero b { color: #f0dfc8; }
.mock--auto .p-hero b { color: #dbe7f7; }
.mock--landscape .p-hero b { color: #dcebd8; }
.mock--local .p-hero b { color: #e4e4e8; }
.p-hero i { height: 8px; border-radius: 999px; background: currentColor; opacity: 0.3; }
.p-hero i:first-of-type { width: 130px; }
.p-hero i:last-of-type { width: 90px; }
.mock--cafe .p-hero i { color: #3a2c20; }
.mock--barber .p-hero i, .mock--restaurant .p-hero i, .mock--auto .p-hero i,
.mock--landscape .p-hero i, .mock--local .p-hero i { color: #fff; }
.p-hero em { height: 24px; width: 72px; border-radius: 999px; margin-top: 4px; font-style: normal; }
.mock--cafe .p-hero em { background: #c98a4b; }
.mock--barber .p-hero em { background: #4d7cff; }
.mock--restaurant .p-hero em { background: #d6a05a; }
.mock--auto .p-hero em { background: #7aa2f7; }
.mock--landscape .p-hero em { background: #7fb069; }
.mock--local .p-hero em { background: #4d7cff; }
.p-row { display: flex; gap: 10px; margin-top: auto; }
.p-row u { flex: 1; height: 44px; border-radius: 8px; background: currentColor; opacity: 0.1; text-decoration: none; }
.mock--cafe .p-row u { color: #3a2c20; }
.mock--barber .p-row u, .mock--restaurant .p-row u, .mock--auto .p-row u,
.mock--landscape .p-row u, .mock--local .p-row u { color: #fff; }
.work-card__meta { padding: 16px 4px 0; }
.work-card__meta h3 { font-size: 1rem; margin-bottom: 4px; }
.work-card__meta p { font-size: 0.88rem; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.step::after { content: ''; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.step__num { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__copy h2 { margin-bottom: 16px; }
.split__copy p { margin-bottom: 16px; max-width: 52ch; }

.split__media { display: flex; gap: 16px; }
.avatar-card {
  flex: 1;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.avatar-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(77, 124, 255, 0.14);
  display: grid; place-items: center;
}
.avatar-card__icon svg { width: 30px; height: 30px; color: var(--accent); }
.avatar-card__label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.avatar-card__sub { font-size: 0.82rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, background 0.25s;
}
.price:hover { border-color: rgba(77, 124, 255, 0.35); background: var(--surface-2); }
.price--featured { border-color: rgba(77, 124, 255, 0.5); }
.price h3 { font-size: 1.15rem; }
.price__desc { flex: 1; font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact-list a { color: var(--muted); }
.contact-list a:hover { color: var(--accent); }

.split__form { position: relative; }
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus) {
  outline: none;
  border-color: var(--accent);
}
.field__error { display: none; font-size: 0.8rem; color: #f87171; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f87171; }
.field.has-error .field__error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

.form-success {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}
.form-success__icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(77, 124, 255, 0.14);
  display: grid; place-items: center;
}
.form-success__icon svg { width: 26px; height: 26px; color: var(--accent); }
.form-success h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand p { font-size: 0.92rem; margin-top: 12px; max-width: 26ch; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 0.92rem; color: var(--muted); }
.footer__nav a:hover { color: var(--accent); }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid; place-items: center;
  transition: border-color 0.2s, color 0.2s;
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__bottom p { font-size: 0.85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner, .split { gap: 48px; }
}

/* ---------- Responsive: small tablet / large phone ---------- */
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .hero__inner, .split { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
  .hero__visual { order: 2; }
  .split__media { max-width: 420px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--sm { display: none; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .footer__inner { flex-direction: column; }
  .split__media { max-width: none; }
  .hero__badge { left: 16px; right: 16px; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
