/* =====================================================
   LINK — Design System
   Template: Pixend Digital Agency (layout language)
   ===================================================== */

/* ─── Root tokens ─────────────────────────────────── */
:root {
  --bg:           #f9f9f7;
  --bg-alt:       #ffffff;
  --fg:           #0a0f1e;
  --muted:        #6b7280;
  --muted-light:  #9ca3af;
  --accent:       #2b6ef6;
  --accent-dark:  #1a5de0;
  --accent-light: rgba(43,110,246,0.08);
  --card:         #ffffff;
  --card-border:  #e8eaed;
  --dark-bg:      #0b1220;
  --dark-fg:      #e6eefc;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  100px;
  --shadow:       0 2px 8px rgba(10,15,30,0.05), 0 1px 2px rgba(10,15,30,0.04);
  --shadow-md:    0 8px 24px rgba(10,15,30,0.08), 0 2px 6px rgba(10,15,30,0.04);
  --shadow-lg:    0 16px 48px rgba(10,15,30,0.12), 0 4px 12px rgba(10,15,30,0.06);
  --container:    1200px;
  --section-v:    96px;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-header:  'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* ─── Reset & Base ────────────────────────────────── */
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 18px;
}
img, svg { display: block }
a { color: inherit }

/* ─── Utility ─────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px }
@media (max-width: 600px) { .container { padding: 0 20px } }

.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden }
.skip-link:focus { left: 20px; top: 20px; width: auto; height: auto; padding: 8px 12px; background: #111; color: #fff; border-radius: 8px; z-index: 999 }

:focus { outline: none }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }

/* ─── Label / overline ────────────────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.label.accent { color: var(--accent) }

/* ─── Section base ────────────────────────────────── */
.section { padding: var(--section-v) 0 }
.section-head { margin-bottom: 48px }
.section-head h2 {
  font-family: var(--font-header);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.section-head p {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
  line-height: 1.65;
}
.section-head.center { text-align: center }
.section-head.center p { margin: 0 auto }

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-header);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--fg);
  color: #fff;
}
.btn-primary:hover {
  background: #1a2540;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,15,30,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--card-border);
}
.btn-outline:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,110,246,0.3);
}

/* ─── Navbar ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: backdrop-filter 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(249,249,247,0.88);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.site-nav { padding: 0 }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 32px;
  position: relative;
}
.logo a { display: inline-block; line-height: 1 }
.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.15s;
}
.logo a:hover img { opacity: 0.82 }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
}
.nav-list a:hover,
.nav-list li.active a { color: var(--fg) }
.nav-list a:hover { background: rgba(0,0,0,0.04) }
.nav-actions { display: flex; align-items: center; gap: 12px }
.lang-toggle { display: flex; align-items: center; gap: 4px }
.lang-btn {
  background: transparent;
  border: 0;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.15s, background 0.15s;
}
.lang-btn:hover { color: var(--fg); background: rgba(0,0,0,0.05) }
.sep { color: var(--card-border); user-select: none }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

@media (max-width: 860px) {
  .nav-toggle { display: flex }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 12px 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-top: 1px solid var(--card-border);
    gap: 2px;
    z-index: 100;
  }
  .nav-list.open { display: flex }
  .nav-list a { padding: 10px 14px }
}
@media (max-width: 480px) {
  .logo img { height: 40px }
  .nav-inner { padding: 14px 20px }
}

/* ─── Ticker / marquee ───────────────────────────── */
.ticker {
  background: var(--fg);
  color: #fff;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-right: 48px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}
.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0) }
  to   { transform: translateX(-50%) }
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero .container { position: relative; z-index: 1 }
.hero-inner { max-width: 820px }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 2s ease infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1 }
  50%       { opacity: 0.35 }
}
.hero-title {
  font-family: var(--font-header);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--fg);
}
.hero-sub {
  font-size: clamp(18px, 2.5vw, 21px);
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 560px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap }
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 18px 18px;
}
.hero-glow {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-55%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,110,246,0.10) 0%, transparent 65%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero { padding: 64px 0 56px }
  .hero-glow { width: 300px; height: 300px; right: -60px }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 44px }
}

/* ─── About Us section (after hero) ─────────────── */
.about-intro {
  padding: var(--section-v) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-intro-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-intro-text .section-head { margin-bottom: 24px }
.about-intro-text p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 32px;
}
@media (max-width: 860px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px }
  .about-intro-img { max-width: 560px }
}

/* ─── Selected works section ─────────────────────── */
.works-section { padding: var(--section-v) 0 }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.work-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.work-card-body { padding: 20px 24px 26px }
.work-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 8px;
}
.work-card-body h3 {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
@media (max-width: 1080px) { .works-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 720px) { .works-grid { grid-template-columns: 1fr } }

/* ─── Services section ───────────────────────────── */
.services-section { padding: var(--section-v) 0; background: var(--bg) }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  display: block;
}
.service-card-body { padding: 20px 24px 24px }
.service-card-body h3 {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.service-card-body p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr } }

/* ─── Process section (dark bg) ──────────────────── */
.process-section {
  background: var(--fg);
  color: var(--dark-fg);
  padding: var(--section-v) 0;
}
.process-section .section-head h2 { color: var(--dark-fg) }
.process-section .section-head p { color: rgba(230,238,252,0.55) }
.process-section .label { color: rgba(230,238,252,0.45) }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid transparent;
  transition: border-color 0.22s, background 0.22s;
}
.process-step:last-child { border-right: none }
.process-step:hover {
  background: rgba(255,255,255,0.04);
  border-top-color: var(--accent);
}
.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
.process-step p {
  font-size: 16px;
  color: rgba(230,238,252,0.55);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: repeat(2, 1fr) }
  .process-step:nth-child(2) { border-right: none }
  .process-step:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.08) }
  .process-step:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08) }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr }
  .process-step { border-right: none !important; border-top: 1px solid rgba(255,255,255,0.08) !important; border-top-width: 1px !important }
  .process-step:first-child { border-top: 3px solid transparent !important }
  .process-step:first-child:hover { border-top-color: var(--accent) !important }
}

/* ─── About Link CTA banner ──────────────────────── */
.about-cta-section {
  padding: var(--section-v) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
}
.about-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 52px 56px;
  box-shadow: var(--shadow);
}
.about-cta-box .section-head { margin: 0; flex: 1 }
.about-cta-box .section-head h2 { font-size: clamp(24px, 4vw, 38px) }
.about-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0 }
@media (max-width: 720px) {
  .about-cta-box { flex-direction: column; padding: 36px 28px; gap: 28px }
  .about-cta-actions { width: 100% }
}

/* ─── Contact section ─────────────────────────────── */
.contact-section { padding: var(--section-v) 0 }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-head { margin-bottom: 28px }
.contact-info .section-head h2 { font-size: clamp(28px, 4.5vw, 40px) }
.contact-info-links { display: flex; flex-direction: column; gap: 8px }
.contact-info-links a {
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.contact-info-links a:hover { color: var(--fg) }
.contact-form { display: grid; gap: 16px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.contact-form label { display: flex; flex-direction: column; gap: 6px }
.contact-form label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--font-header);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--card-border);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 140px }
.form-actions { margin-top: 4px; display: flex; gap: 12px; align-items: center }
.form-note {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-note a:hover { color: var(--fg) }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px }
  .form-row { grid-template-columns: 1fr }
}

/* ─── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-fg);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(230,238,252,0.45);
  line-height: 1.65;
  margin: 0 0 10px;
  max-width: 480px;
}
.footer-brand p:last-of-type { margin-bottom: 0 }
.footer-col {
  justify-self: end;
}
.footer-col h4 {
  font-family: var(--font-header);
  font-size: 12px;
  font-weight: 700;
  color: rgba(230,238,252,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(230,238,252,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(230,238,252,0.3);
  margin: 0;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px }
  .footer-brand { grid-column: 1 / -1 }
  .footer-col { justify-self: start }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr }
}

/* ─── Legal page ─────────────────────────────────── */
.legal-copy {
  max-width: 760px;
}
.legal-copy p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 22px;
}
.legal-copy p:last-child { margin-bottom: 0 }

/* ─── Page hero (inner pages) ────────────────────── */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1 }
.page-hero h1 {
  font-family: var(--font-header);
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 18px;
}
.page-hero p {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
  line-height: 1.65;
}
.page-hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 18px 18px;
}

/* ─── Works full cards (works page) ─────────────── */
.works-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.work-full-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.work-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) }
.work-full-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.work-full-card-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.work-full-card-body .label { margin-bottom: 4px }
.work-full-card-body h3 {
  font-family: var(--font-header);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.work-full-card-body p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 720px) {
  .work-full-card { grid-template-columns: 1fr }
  .work-full-card img { min-height: 200px }
  .work-full-card-body { padding: 28px }
}

/* ─── About page value cards ─────────────────────── */
.value-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) }
.value-card h3 {
  font-family: var(--font-header);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.value-card p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 560px) { .value-cards { grid-template-columns: 1fr } }

/* ─── Pricing cards ──────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(43,110,246,0.1), var(--shadow-md);
}
.pricing-card .plan-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
}
.pricing-card h3 {
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
}
.pricing-card p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr } }

/* ─── Pricing table (one-off services) ───────────── */
.pricing-table {
  background: var(--card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
  border-bottom: 1px solid var(--card-border);
}
.pricing-row:last-child { border-bottom: none }
.pricing-cell {
  padding: 22px 24px;
  font-size: 18px;
  line-height: 1.6;
}
.pricing-cell.service {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--fg);
}
.pricing-cell.value {
  color: var(--muted);
  border-left: 1px solid var(--card-border);
}
@media (max-width: 720px) {
  .pricing-row {
    grid-template-columns: 1fr;
  }
  .pricing-cell {
    padding: 18px 20px;
  }
  .pricing-cell.value {
    border-left: 0;
    border-top: 1px dashed var(--card-border);
    background: rgba(0,0,0,0.015);
  }
}

/* ─── Reveal animation ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: none }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.reveal-stagger.in-view > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s }
.reveal-stagger.in-view > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.09s }
.reveal-stagger.in-view > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.18s }
.reveal-stagger.in-view > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.27s }

/* ─── CTA row ─────────────────────────────────────── */
.cta-row { margin-top: 40px }

/* ─── Muted utility ──────────────────────────────── */
.muted { color: var(--muted) }

/* ─── Screen-reader only ─────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

