/* =========================================================
   ITEMS — Premium Software Studio
   Table of contents:
   1. Variables & Reset
   2. Base Typography
   3. Layout Utilities
   4. Buttons
   5. Header / Navigation
   6. Hero
   7. Trusted By
   8. Services
   9. Why Choose Us
   10. Process / Timeline
   11. Technologies
   12. Portfolio
   13. Testimonials
   14. FAQ / Accordion
   15. Contact
   16. Footer
   17. Scroll Reveal & Misc
   18. Responsive
   ========================================================= */

/* ---------- 1. Variables & Reset ---------- */
:root {
  color-scheme: dark;

  /* Brand — ITEMS logo red */
  --accent: #ff6666;
  --accent-hover: #ff5252;
  --accent-soft: #ff8080;
  --accent-tint: rgba(255, 102, 102, 0.1);

  /* Neutrals — cool slate */
  --bg: #0b0d11;
  --bg-secondary: #101319;
  --card: #151921;
  --card-hover: #1a1f29;

  --glass-bg: #151921;
  --glass-border: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.08);

  --text: #f2f4f7;
  --text-secondary: #a4abb8;
  --text-muted: #7b8290;

  --success: #3fb97a;
  --warning: #e8a93b;

  --gradient: var(--accent);
  --grid-line: rgba(255, 255, 255, 0.035);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4, p { margin: 0; }

/* Focus visibility for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #17171f;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Base Typography ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}

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

.text-gradient { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-center { justify-content: center; width: 100%; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .section-subtitle { margin: 0 auto; }

/* ---------- 3. Layout Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 120px 0; position: relative; }

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

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

/* ---------- 4. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
  overflow: hidden;
}

.btn-large { padding: 16px 32px; font-size: 1.02rem; }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #12080a;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
  background: var(--card);
  border-color: rgba(255, 255, 255, 0.24);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(11, 13, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-badge {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}
.logo-badge img { height: 28px; width: auto; display: block; }
.logo:hover .logo-badge { transform: translateY(-1px); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-cta-item { margin-left: 4px; }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 5px 9px;
  transition: color var(--transition), border-color var(--transition);
}
.lang-switch:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.28); }

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* ---------- 6. Hero ---------- */
.hero {
  padding: 200px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 20px 0 22px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-item strong { font-size: 1.6rem; font-weight: 700; font-family: var(--font-mono); letter-spacing: -0.02em; }
.hero-meta-item span { color: var(--text-muted); font-size: 0.88rem; }

/* Hero dashboard illustration */
.hero-visual { position: relative; }

.dashboard-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.dot-group { display: flex; gap: 6px; }
.dot-group i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.dashboard-title { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }

.dashboard-body { display: flex; }

.dashboard-sidebar {
  width: 56px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.side-logo { width: 22px; height: 22px; border-radius: 4px; background: var(--accent); }
.side-item { width: 22px; height: 22px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); }
.side-item.active { background: rgba(255, 102, 102, 0.35); }
.side-spacer { flex: 1; }
.side-avatar { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }

.dashboard-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.dash-row { display: flex; gap: 14px; }
.stat-card {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-label { font-size: 0.7rem; color: var(--text-muted); }
.stat-value { font-size: 1.1rem; font-weight: 600; font-family: var(--font-mono); }
.stat-trend { font-size: 0.72rem; font-weight: 600; }
.stat-trend.up { color: var(--success); }

.score-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.score-label { font-size: 0.74rem; color: var(--text-muted); white-space: nowrap; }
.score-track { display: flex; gap: 5px; }
.score-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  animation: dot-pop 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
.score-dot.filled { background: var(--accent); }
.score-track .score-dot:nth-child(1) { animation-delay: 0.02s; }
.score-track .score-dot:nth-child(2) { animation-delay: 0.06s; }
.score-track .score-dot:nth-child(3) { animation-delay: 0.1s; }
.score-track .score-dot:nth-child(4) { animation-delay: 0.14s; }
.score-track .score-dot:nth-child(5) { animation-delay: 0.18s; }
.score-track .score-dot:nth-child(6) { animation-delay: 0.22s; }
.score-track .score-dot:nth-child(7) { animation-delay: 0.26s; }
.score-track .score-dot:nth-child(8) { animation-delay: 0.3s; }
.score-track .score-dot:nth-child(9) { animation-delay: 0.34s; }
.score-track .score-dot:nth-child(10) { animation-delay: 0.38s; }
@keyframes dot-pop {
  to { transform: scale(1); }
}

.list-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.list-row { display: flex; align-items: center; gap: 10px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.pill-dot.success { background: var(--success); }
.pill-dot.warning { background: var(--warning); }
.line { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.line.short { width: 90px; }
.line.med { width: 130px; }
.line.tiny { width: 40px; margin-left: auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.float-card-1 { top: 6%; right: -6%; }
.float-card-2 { bottom: 18%; left: -8%; }
.float-card-3 { bottom: -4%; right: 8%; }

/* ---------- 7. Trusted By ---------- */
.trusted-by { padding: 60px 0; border-bottom: 1px solid var(--border); }
.trusted-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.logo-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.logo-item {
  flex: 1;
  min-width: 120px;
  display: flex;
  justify-content: center;
}
.logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}
.logo-inner img { max-height: 34px; width: auto; }
.logo-fallback { display: none; }
.logo-inner.img-missing .logo-fallback { display: inline; }
.logo-item:hover .logo-inner {
  opacity: 1;
  filter: none;
  color: var(--text);
}

/* ---------- 8. Services ---------- */
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  background: var(--card-hover);
  border-color: var(--glass-border);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border: 1px solid rgba(255, 102, 102, 0.22);
  color: var(--accent);
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.65; }

/* ---------- 9. Why Choose Us ---------- */
.why-us { background: var(--bg-secondary); }
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.benefit-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
}
.benefit-list svg { flex-shrink: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: left;
  border-left: 2px solid var(--accent);
  transition: border-color var(--transition);
}
.stat-box:hover { border-color: var(--glass-border); }
.counter, .counter-static {
  display: block;
  font-size: 2.4rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat-box p { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

/* ---------- 10. Process / Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.timeline-step:hover { border-color: var(--glass-border); }
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border: 1px solid rgba(255, 102, 102, 0.22);
  color: var(--accent);
  margin-bottom: 18px;
}
.step-number {
  position: absolute;
  top: 28px;
  right: 24px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: 0.02em;
}
.timeline-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-step p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ---------- 11. Technologies ---------- */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.tech-pill {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: transform var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.tech-pill:hover {
  border-color: rgba(255, 102, 102, 0.5);
  color: var(--text);
}

/* ---------- 12. Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.project-card:hover { border-color: var(--glass-border); }
.project-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb img.thumb-contain { object-fit: contain; padding: 18px 24px 0; }

.thumb-placeholder-label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.project-thumb.img-missing .thumb-placeholder-label { display: flex; }

.thumb-1, .thumb-2, .thumb-3, .thumb-4 {
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border);
}

.project-body { padding: 26px 28px 30px; }
.project-body h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.project-body p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 18px; }

.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge-list li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-soft);
  font-size: 0.92rem;
  transition: gap var(--transition), color var(--transition);
}
.project-link svg { transition: transform var(--transition); }
.project-link:hover { color: var(--text); }
.project-link:hover svg { transform: translateX(4px); }

/* ---------- 12b. Team ---------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.team-card {
  width: 180px;
  text-align: center;
  padding: 8px;
}
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { display: none; font-weight: 600; font-size: 1.2rem; color: var(--text-secondary); }
.team-photo.img-missing .team-initials { display: block; }
.team-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.team-card p { color: var(--text-muted); font-size: 0.86rem; }

/* ---------- 13. Testimonials ---------- */
.carousel { max-width: 760px; margin: 0 auto; position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.testimonial-card {
  flex: 0 0 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  margin: 0;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 18px;
  left: 32px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.testimonial-card blockquote {
  margin: 20px 0 32px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 400;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card-hover);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback { display: none; }
.avatar.img-missing .avatar-fallback { display: block; }
.figcap-text { display: flex; flex-direction: column; font-size: 0.88rem; color: var(--text-muted); }
.figcap-text strong { color: var(--text); font-size: 0.98rem; font-weight: 700; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.carousel-btn:hover { border-color: var(--glass-border); color: var(--text); background: var(--card); }

.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transition: background var(--transition), width var(--transition);
}
.carousel-dots button.active { background: var(--accent); width: 22px; }

/* ---------- 14. FAQ / Accordion ---------- */
.accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) { border-color: var(--glass-border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
}
.accordion-trigger .chev { flex-shrink: 0; transition: transform var(--transition); color: var(--accent-soft); }
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 26px;
}
.accordion-panel p { color: var(--text-secondary); line-height: 1.7; padding-bottom: 22px; }

/* ---------- 15. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}
.contact-info svg { color: var(--accent-soft); flex-shrink: 0; }
.contact-info a { transition: color var(--transition); }
.contact-info a:hover { color: var(--accent-soft); }

.map-placeholder {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: translate(-50%, -100%) rotate(-45deg);
}
.map-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 16px;
}
.map-link { font-size: 0.88rem; color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.map-link:hover { color: var(--text); }
.map-address {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(11, 13, 17, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
}
.map-placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder.map-loaded .map-actions,
.map-placeholder.map-loaded .map-pin,
.map-placeholder.map-loaded .map-address { display: none; }
.map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--bg-secondary);
  border-radius: 50%;
}

.contact-form { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--text-secondary); }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238b8b96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:not(:empty) { margin-bottom: 18px; }
.form-field select option { background-color: var(--card); color: var(--text); }
.form-note { min-height: 20px; margin-top: 14px; font-size: 0.9rem; color: var(--success); text-align: center; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin: 18px 0 24px; max-width: 320px; line-height: 1.6; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.social-icons a:hover { border-color: var(--glass-border); color: var(--text); background: var(--card); }

.footer-col h4 { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; color: var(--text-muted); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }
.footer-address li { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-legal a { transition: color var(--transition); }
.footer-legal a:hover { color: var(--accent-soft); }

/* ---------- 17. Scroll Reveal & Misc ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--glass-border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 400;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--card-hover); }

/* ---------- 17b. Product pages ---------- */
.product-hero { padding-bottom: 110px; }
.product-hero .float-card-2 { bottom: -6%; left: -6%; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text-secondary); }

.product-logo { height: 46px; width: auto; margin-bottom: 26px; }

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.product-facts li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-secondary);
}
.product-facts strong { color: var(--text); font-weight: 600; }

/* Hero mock: time-off requests */
.req-list { display: flex; flex-direction: column; }
.req-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}
.req-row:first-child { border-top: none; padding-top: 0; }
.req-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card-hover);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.req-text { display: flex; flex-direction: column; min-width: 0; }
.req-text strong { font-weight: 600; color: var(--text); }
.req-text span { color: var(--text-muted); font-size: 0.72rem; }
.status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.status.approved { color: var(--success); background: rgba(63, 185, 122, 0.12); }
.status.pending { color: var(--warning); background: rgba(232, 169, 59, 0.12); }

/* Problem */
.problem { background: var(--bg-secondary); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}
.problem-card .step-number { position: static; display: block; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.problem-card p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.65; }
.problem-result {
  margin-top: 40px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
}
.problem-result span { color: var(--accent); }

/* Modules */
.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  gap: 1px;
}
.module {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--card);
  transition: background var(--transition);
}
.module:hover { background: var(--card-hover); }
.module .service-icon { margin-bottom: 0; flex-shrink: 0; }
.module h3 { font-size: 1.04rem; font-weight: 600; margin-bottom: 6px; }
.module p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
.module-tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-soft);
}

/* Audiences */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.audience-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.audience-card > p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.65; margin-bottom: 22px; }
.check-list { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--border); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.check-list svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Stats band */
.stat-band { padding: 0 0 120px; }
.stat-band .stat-grid { grid-template-columns: repeat(4, 1fr); }

/* Certification */
.cert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.cert-badge {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
}
.cert-badge img { width: 120px; height: auto; }
.cert-card h2 { font-size: 1.6rem; font-weight: 700; margin: 12px 0 12px; }
.cert-card > div > p { color: var(--text-secondary); line-height: 1.7; max-width: 640px; }
.cert-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 12px 40px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cert-meta dt { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.cert-meta dd { margin: 0; font-family: var(--font-mono); font-size: 0.9rem; color: var(--text); }

/* Closing CTA */
.cta-band { padding: 0 0 120px; }
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background-color: var(--card);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.25; max-width: 560px; }
.cta-card p { color: var(--text-secondary); margin-top: 10px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* Real product screenshot in a browser frame */
.product-shot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.product-shot img { width: 100%; height: auto; }

.timeline-4 { grid-template-columns: repeat(4, 1fr); }

/* Before / after comparison */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.compare-card.highlight { border-color: rgba(255, 102, 102, 0.4); }
.compare-card h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.compare-card.highlight h3 { color: var(--accent-soft); }
.compare-card .check-list { border-top: none; padding-top: 0; }
.cross-list li { color: var(--text-secondary); }
.cross-list svg { color: var(--text-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color var(--transition);
}
.price-card:hover { border-color: var(--glass-border); }
.price-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}
.price-amount { margin: 18px 0 4px; font-family: var(--font-mono); font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
.price-amount small { font-family: var(--font); font-size: 0.85rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.price-note { font-size: 0.82rem; color: var(--text-muted); }
.price-alt { font-size: 0.86rem; color: var(--text-secondary); margin-top: 10px; }
.price-card .check-list { margin: 22px 0 26px; flex: 1; }
.pricing-footnote { margin-top: 24px; font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* Video guides */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity var(--transition); }
.video-facade:hover img { opacity: 1; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: var(--accent);
  color: #12080a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.video-facade:hover .video-play { transform: scale(1.06); }
.video-note {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(11, 13, 17, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
}
.video-card h3 { font-size: 1rem; font-weight: 600; padding: 18px 22px; }
.video-card h3 span { font-family: var(--font-mono); color: var(--accent-soft); margin-right: 8px; }

/* Client logo tiles (square logos with their own backgrounds) */
.client-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.client-tiles li {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--transition), opacity var(--transition);
}
.client-tiles li:hover { filter: none; opacity: 1; }
.client-tiles img { width: 100%; height: 100%; object-fit: cover; }

/* Scenario cards (problem section, 2-up) */
.problem-grid-2 { grid-template-columns: 1fr 1fr; }
.scenario-figure {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
}
.scenario-figure + .step-number { margin-bottom: 20px; }

.hero-visual .product-mockup { width: 100%; height: auto; }

/* Project facts */
.facts-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.facts-card h2 { margin-bottom: 24px; }
.facts-card .cert-meta { margin-top: 0; padding-top: 0; border-top: none; grid-template-columns: repeat(4, auto); justify-content: space-between; }

/* Legal pages (privacy, terms) */
.legal { padding: 170px 0 110px; }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-head { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.15; margin: 14px 0 12px; }
.legal-head .legal-date { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); }
.legal-toc {
  margin-bottom: 48px;
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.legal-toc h2 { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.legal-toc ol { columns: 2; column-gap: 32px; list-style: decimal; padding-left: 20px; color: var(--text-muted); font-size: 0.9rem; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { color: var(--text-secondary); transition: color var(--transition); }
.legal-toc a:hover { color: var(--text); }
.legal-body h2 { font-size: 1.35rem; font-weight: 600; margin: 48px 0 14px; scroll-margin-top: 100px; }
.legal-body h3 { font-size: 1.02rem; font-weight: 600; margin: 26px 0 8px; }
.legal-body p,
.legal-body li { color: var(--text-secondary); line-height: 1.75; font-size: 0.98rem; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--text); }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 8px 0 18px; font-size: 0.95rem; }
.legal-body dt { color: var(--text-muted); }
.legal-body dd { margin: 0; color: var(--text); }
.legal-note {
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}
.legal-note p:last-child { margin-bottom: 0; }

.form-consent { margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); text-align: center; line-height: 1.6; }
.form-consent a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--text); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .audience-grid { grid-template-columns: 1fr; }
  .stat-band .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .cert-meta { grid-template-columns: repeat(2, auto); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero { padding: 150px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; order: -1; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .why-us-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .product-facts, .breadcrumb { justify-content: center; }
  .product-hero .hero-visual { order: 0; }
  .product-logo { margin-left: auto; margin-right: auto; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 400;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-cta-item { margin-left: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  section { padding: 90px 0; }
  .container { padding: 0 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .logo-grid { justify-content: center; }
  .testimonial-card { padding: 36px 24px; }
  .float-card { display: none; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .module-grid { grid-template-columns: 1fr; }
  .module { padding: 24px 20px; }
  .cert-card { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .cta-card { padding: 32px 22px; }
  .compare-grid, .video-grid, .pricing-grid, .problem-grid-2 { grid-template-columns: 1fr; }
  .legal { padding: 130px 0 80px; }
  .legal-toc ol { columns: 1; }
  .legal-body dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-body dd { margin-bottom: 10px; }
  .facts-card { padding: 28px 22px; }
  .facts-card .cert-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-wrap: wrap; gap: 24px; }
}
