/* ============================================================
   Huang Ya Technology Co., Ltd. — "Neon Noir" Design System
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg: #09090B;
  --bg-alt: #111113;
  --bg-card: #1A1A1E;
  --text: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --neon-pink: #EC4899;
  --neon-cyan: #06B6D4;
  --neon-purple: #A855F7;
  --neon-amber: #F59E0B;
  --border: #27272A;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.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;
}

/* --- Scroll Fade-In --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(9, 9, 11, 0.95);
  border-bottom-color: rgba(236, 72, 153, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.875rem;
  color: #fff;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-pink);
  transition: width var(--transition);
  box-shadow: 0 0 8px var(--neon-pink);
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-pink);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ============================================================
   1. HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

/* Scanline overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.13) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero h1 .glow-text {
  color: var(--neon-pink);
  text-shadow: 0 0 40px rgba(236, 72, 153, 0.5), 0 0 80px rgba(236, 72, 153, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
  background: #F062AE;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.15);
}

.btn-cyan {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-cyan:hover {
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
}

/* ============================================================
   2. SERVICES — Skewed Card Grid
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border-left: 3px solid;
  padding: 2rem 1.75rem;
  transform: skewX(-2deg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card > * {
  transform: skewX(2deg);
}

.service-card:nth-child(1) { border-left-color: var(--neon-pink); }
.service-card:nth-child(2) { border-left-color: var(--neon-cyan); }
.service-card:nth-child(3) { border-left-color: var(--neon-purple); }
.service-card:nth-child(4) { border-left-color: var(--neon-amber); }
.service-card:nth-child(5) { border-left-color: var(--neon-pink); }
.service-card:nth-child(6) { border-left-color: var(--neon-cyan); }

.service-card:hover {
  transform: skewX(-2deg) translateY(-4px);
}

.service-card:nth-child(1):hover {
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.2), inset 4px 0 12px rgba(236, 72, 153, 0.08);
}
.service-card:nth-child(2):hover {
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.2), inset 4px 0 12px rgba(6, 182, 212, 0.08);
}
.service-card:nth-child(3):hover {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2), inset 4px 0 12px rgba(168, 85, 247, 0.08);
}
.service-card:nth-child(4):hover {
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2), inset 4px 0 12px rgba(245, 158, 11, 0.08);
}
.service-card:nth-child(5):hover {
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.2), inset 4px 0 12px rgba(236, 72, 153, 0.08);
}
.service-card:nth-child(6):hover {
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.2), inset 4px 0 12px rgba(6, 182, 212, 0.08);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   3. ABOUT — Spotlight Effect
   ============================================================ */

.about-section {
  background: var(--bg-alt);
  position: relative;
}

.about-spotlight {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}

.about-spotlight svg {
  width: 100%;
  height: 100%;
}

.about-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-tagline {
  background: var(--bg-card);
  border-left: 3px solid var(--neon-pink);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.08);
}

.about-tagline p {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
}

.about-tagline p em {
  color: var(--neon-pink);
  font-style: normal;
}

/* ============================================================
   4. METRICS — Neon Data Readout
   ============================================================ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.metric-item {
  text-align: center;
}

.metric-value {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-item:nth-child(1) .metric-value { color: var(--neon-pink); }
.metric-item:nth-child(2) .metric-value { color: var(--neon-cyan); }
.metric-item:nth-child(3) .metric-value { color: var(--neon-purple); }
.metric-item:nth-child(4) .metric-value { color: var(--neon-amber); }

.metric-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.metric-bar {
  height: 2px;
  width: 100%;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 1px;
  transition: width 1.5s ease-out;
}

.metric-item:nth-child(1) .metric-bar-fill {
  background: var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
}

.metric-item:nth-child(2) .metric-bar-fill {
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
}

.metric-item:nth-child(3) .metric-bar-fill {
  background: var(--neon-purple);
  box-shadow: 0 0 6px var(--neon-purple);
}

.metric-item:nth-child(4) .metric-bar-fill {
  background: var(--neon-amber);
  box-shadow: 0 0 6px var(--neon-amber);
}

/* ============================================================
   5. PROCESS — Circuit Path
   ============================================================ */

.process-section {
  background: var(--bg-alt);
}

.process-circuit {
  position: relative;
  margin-top: 4rem;
  padding: 2rem 0;
}

/* Circuit connecting lines drawn via pseudo-elements on a wrapper */
.process-circuit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4rem 3rem;
  position: relative;
}

/* Horizontal and vertical circuit traces */
.process-circuit-inner::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 80px;
  right: 80px;
  height: 1px;
  background: linear-gradient(90deg,
    var(--neon-pink) 25%, var(--neon-cyan) 27%, var(--neon-cyan) 73%, var(--neon-purple) 75%);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
  z-index: 0;
}

.process-circuit-inner::after {
  content: '';
  position: absolute;
  left: calc(50% - 0.5px);
  top: 80px;
  bottom: 80px;
  width: 1px;
  background: linear-gradient(180deg,
    var(--neon-cyan) 0%, var(--neon-amber) 50%, var(--neon-amber) 100%);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
  z-index: 0;
}

.process-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-node-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--bg-card);
  border: 2px solid;
  position: relative;
  transition: all var(--transition);
}

.process-node:nth-child(1) .process-node-circle {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.2);
}

.process-node:nth-child(2) .process-node-circle {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.2);
}

.process-node:nth-child(3) .process-node-circle {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

.process-node:nth-child(4) .process-node-circle {
  border-color: var(--neon-amber);
  color: var(--neon-amber);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.process-node:hover .process-node-circle {
  transform: scale(1.1);
}

.process-node:nth-child(1):hover .process-node-circle {
  box-shadow: 0 0 28px rgba(236, 72, 153, 0.4);
}
.process-node:nth-child(2):hover .process-node-circle {
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.4);
}
.process-node:nth-child(3):hover .process-node-circle {
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.4);
}
.process-node:nth-child(4):hover .process-node-circle {
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.4);
}

.process-node h3 {
  margin-top: 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.process-node p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ============================================================
   6. EXPERTISE — Neon Tags
   ============================================================ */

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.tag:hover {
  transform: translateY(-2px);
}

.tag-pink {
  border-color: rgba(236, 72, 153, 0.4);
  color: var(--neon-pink);
}
.tag-pink:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.2);
}

.tag-cyan {
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--neon-cyan);
}
.tag-cyan:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.2);
}

.tag-purple {
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--neon-purple);
}
.tag-purple:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.2);
}

.tag-amber {
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--neon-amber);
}
.tag-amber:hover {
  border-color: var(--neon-amber);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

/* ============================================================
   7. CTA — Glow Banner
   ============================================================ */

.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   8. FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(236, 72, 153, 0.15);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--neon-pink);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   POLICY / TERMS PAGES
   ============================================================ */

.legal-hero {
  padding-top: calc(64px + 4rem);
  padding-bottom: 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-hero .last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.legal-body {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Sidebar TOC */
.legal-toc {
  position: sticky;
  top: 100px;
}

.legal-toc h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-toc ul {
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.legal-toc li {
  margin-bottom: 0.5rem;
}

.legal-toc a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: block;
  padding: 0.2rem 0;
}

.legal-toc a:hover,
.legal-toc a:focus {
  color: var(--neon-pink);
}

/* Legal Content */
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
}

.legal-content strong {
  color: var(--text);
}

.legal-content address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Mobile nav */
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 1000;
  }

  .main-nav.active {
    right: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    transform: skewX(-1deg);
  }

  .service-card > * {
    transform: skewX(1deg);
  }

  .service-card:hover {
    transform: skewX(-1deg) translateY(-2px);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .metric-value {
    font-size: 2.5rem;
  }

  /* Process: stack vertically */
  .process-circuit-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 3rem;
  }

  .process-circuit-inner::before,
  .process-circuit-inner::after {
    display: none;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }
}
