/* ==========================================================
   Product Lab — Žan
   Colors: Black #000000 · White #FFFFFF · Purple #A855F7
   ========================================================== */

/* Self-hosted Geist (GDPR-compliant — no Google Fonts CDN) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-variable.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-variable.woff2') format('woff2-variations');
}

:root {
  --black: #000000;
  --white: #ffffff;
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.18);
  --purple-glow: rgba(168, 85, 247, 0.45);
  --surface: #0a0a0c;
  --surface-2: #111114;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-dim: rgba(255, 255, 255, 0.42);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-glow: 0 0 60px -12px var(--purple-glow);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle ambient gradient on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(168, 85, 247, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}

/* SVG logo mark sizing */
.logo-svg {
  flex-shrink: 0;
}

/* Logo mark — white PNG, transparent bg, no filter needed */
.logo-mark-img {
  height: 34px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px -6px var(--purple-glow);
}

.logo-dot { color: var(--purple); }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.nav-pill a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}

.nav-pill a:hover { color: var(--white); }

.nav-pill a.active {
  color: var(--white);
  background: rgba(168, 85, 247, 0.14);
}

.nav-pill a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--purple-glow);
}

.nav-cta {
  display: inline-block;
  text-align: center;
  line-height: 1.3;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--purple);
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.06);
  transition: all 0.25s var(--ease);
  vertical-align: middle;
}

.nav-cta:hover {
  background: var(--purple);
  box-shadow: 0 0 24px -4px var(--purple-glow);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--white);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 12px 28px -10px var(--purple-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px var(--purple-glow);
  background: #b974f8;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.08);
}

.btn-arrow {
  width: 24px; height: 24px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.0;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Before/after device */
.ba-slider,
.ba-slider *,
.hero-callout {
  user-select: none;
  -webkit-user-select: none;
}

.ba-device {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.ba-slider {
  position: relative;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #161618;
  cursor: ew-resize;
}

.ba-side {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ba-side .label {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
}

.ba-before .label { left: 20px; }
.ba-after .label  { right: 20px; }

.ba-before {
  background:
    radial-gradient(circle at 50% 70%, rgba(255,255,255,0.08) 0, transparent 60%),
    linear-gradient(180deg, #1a1a1d 0%, #0c0c0e 100%);
}

.ba-after {
  background:
    radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.35) 0, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.25) 0, transparent 50%),
    linear-gradient(135deg, #2a1f4a 0%, #0f0a1f 100%);
  clip-path: inset(0 0 0 50%);
}

/* SVG bottle */
.bottle {
  width: 110px;
  height: 240px;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.6));
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--black);
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.85);
  z-index: 2;
}

/* Hero floating callout */
.hero-callout {
  position: absolute;
  right: -10px;
  top: 30%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  width: 220px;
  box-shadow: var(--shadow-glow);
}
.hero-callout h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.hero-callout ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  gap: 8px;
}
.hero-callout ul li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
}

/* ===== Feature row ===== */
.features {
  padding: 48px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature-ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple);
  flex-shrink: 0;
}
.feature-text strong { display: block; font-weight: 600; font-size: 14px; }
.feature-text span { font-size: 13px; color: var(--text-muted); }

/* ===== Sections ===== */
section { position: relative; z-index: 1; }

.section {
  padding: 90px 0;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section .lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 56px;
}

/* ===== Categories grid ===== */
.cat-card-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.cat {
  position: relative;
  aspect-ratio: 1 / 1.2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.cat:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: 0 18px 40px -12px var(--purple-glow);
}
.cat-bg {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.85);
}
.cat-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
}
.cat-name {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
}

/* ===== Category lightbox ===== */
.cat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cat-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.cat-lightbox-img {
  max-width: min(88vw, 860px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
  display: block;
}
.cat-lightbox.open .cat-lightbox-img {
  transform: scale(1);
}
.cat-lightbox-label {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cat-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 201;
}
.cat-lightbox-close:hover {
  background: rgba(168, 85, 247, 0.18);
  transform: scale(1.08);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.price-card.featured {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, var(--surface) 100%);
  box-shadow: 0 24px 60px -16px var(--purple-glow);
}
.price-badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--purple);
  border-radius: var(--radius-pill);
}
.price-name {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 14px;
}
.price-amt {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.price-amt span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}
.price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.price-list {
  margin-bottom: 32px;
  flex: 1;
}
.price-list li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.price-list li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
}

/* ===== Logo strip ===== */
.logo-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: auto repeat(7, 1fr);
  align-items: center;
  gap: 28px;
}
.logo-strip-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.logo-item {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
  font-family: 'Geist', sans-serif;
}
.logo-item:hover { color: var(--white); }

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.step:hover {
  border-color: var(--purple);
  background: var(--surface-2);
}
.step-num {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Service cards ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.svc:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  background: var(--surface-2);
}
.svc-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: grid; place-items: center;
  color: var(--purple);
  margin-bottom: 22px;
}
.svc h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.svc p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Portfolio ===== */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pf-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.pf-item:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
}
.pf-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}
.pf-item:hover .pf-bg { transform: scale(1.05); }
.pf-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.92));
}
.pf-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(168, 85, 247, 0.14);
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.pf-title { font-size: 18px; font-weight: 600; }

/* ===== B/A gallery ===== */
.ba-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.ba-card h3 { font-size: 18px; margin-bottom: 14px; padding: 0 8px; }
.ba-card .ba-slider { height: 360px; }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial blockquote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
}
.testimonial blockquote::before {
  content: '“';
  display: block;
  font-size: 48px;
  line-height: 0.2;
  margin-bottom: 18px;
  color: var(--purple);
}
.t-meta { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #6d28d9);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.t-name { font-weight: 600; font-size: 14px; }
.t-role { font-size: 12px; color: var(--text-dim); }

/* ===== Forms ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-row {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: 1px solid var(--border); }
.contact-row .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(168,85,247,0.14);
  color: var(--purple);
  flex-shrink: 0;
}
.contact-row span { font-size: 13px; color: var(--text-muted); display: block; }
.contact-row strong { font-weight: 500; }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
form input, form select, form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s var(--ease);
  margin-bottom: 18px;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(168,85,247,0.12);
}
form textarea { resize: vertical; min-height: 140px; }
form .form-submit { margin-top: 6px; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  margin-top: 80px;
  background: var(--surface);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col li { padding: 6px 0; font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col li a:hover { color: var(--purple); }
.footer-col p { font-size: 14px; color: var(--text-muted); margin-top: 14px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(168,85,247,0.16) 0%, rgba(168,85,247,0.04) 100%);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  width: 800px; height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
  position: relative;
  text-transform: uppercase;
}
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .btn-primary { position: relative; }

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */

/* Compact nav for mid-range screens (before hamburger kicks in) */
@media (max-width: 1200px) {
  .nav-pill { gap: 2px; }
  .nav-pill a { padding: 8px 11px; font-size: 12px; letter-spacing: 0.01em; }
}

/* Show hamburger at 960px — nav is too cramped at smaller screens */
@media (max-width: 960px) {
  .nav-pill { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .lang-switch:not(.lang-switch--mobile) { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-callout { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .pf-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .logo-strip { grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding: 24px; }
  .logo-strip-title { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .svc-grid, .pf-grid, .testimonial-grid { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 30px 0 50px; }
  .section { padding: 60px 0; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--surface-2);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 80px 32px 32px;
  z-index: 60;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-drawer a.active { color: var(--purple); }
.mobile-drawer .btn { margin-top: 24px; width: 100%; justify-content: center; text-align: center; display: flex; }

/* ===== Language Switcher ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  line-height: 1;
}

.lang-btn:hover { color: var(--white); }

.lang-btn.lang-active {
  background: rgba(168, 85, 247, 0.14);
  color: var(--white);
}

.lang-switch--mobile {
  margin-top: 20px;
  border: none;
  background: none;
  gap: 8px;
}

.lang-switch--mobile .lang-btn {
  flex: 1;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px;
}

.lang-switch--mobile .lang-btn.lang-active {
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.14);
}

/* lang-switch desktop hide is handled at 960px breakpoint above */

/* ===== Cookie Banner ===== */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 48px);
  max-width: 560px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(168,85,247,0.08);
  animation: cookieSlideUp 0.35s var(--ease) both;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#cookie-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;
}
#cookie-banner p a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
#cookie-accept {
  padding: 9px 18px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
#cookie-accept:hover { opacity: 0.88; }
#cookie-decline {
  padding: 9px 14px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
#cookie-decline:hover { color: var(--text-muted); border-color: var(--border-strong); }
@media (max-width: 560px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-actions { width: 100%; }
  #cookie-accept, #cookie-decline { flex: 1; text-align: center; }
}
