/* --- Design System (Rezi-style) --- */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-hover: none;
  
  --color-danger: #ef4444;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --badge-green: #22c55e;
  --accent-soft-gradient: linear-gradient(120deg, #2563eb 0%, #3b82f6 52%, #60a5fa 100%);
  --site-release-label: "v2026.03.08-rwd-08";

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.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;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--text-main); }
p { margin: 0; }
a { text-decoration: none; color: var(--primary); }
img, video, svg { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }

/* --- Utility Classes --- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 24px); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.section-light { background-color: var(--bg-light); padding: 80px 0; }
.section-white { background-color: var(--bg-white); padding: 80px 0; }
.h3 { font-size: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary { background-color: var(--primary); color: #fff; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background-color: transparent; border-color: var(--border-color); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background-color: #f0f4ff; }
.btn-sm { padding: 10px 20px; font-size: 0.95rem; border-radius: var(--radius-md); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; padding: 14px 20px; font-size: 1rem; border-radius: var(--radius-md); }

/* --- Header (Rezi-style) --- */
.site-header { padding: 16px 0; border-bottom: 1px solid var(--border-color); background: var(--bg-white); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.logo { font-size: 1.35rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.03em; }
.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; min-width: 0; }
.header-nav a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); transition: color 0.2s; white-space: nowrap; }
.header-nav a:hover { color: var(--text-main); }
.header-nav .btn-primary { color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #334155;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--badge-green); background: #dcfce7; padding: 2px 8px; border-radius: var(--radius-full); margin-left: 4px; }

/* --- BLOCK 1: Hero (Rezi-style) --- */
.hero { padding: 64px 0 80px; background: var(--bg-white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
.hero-title { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; margin-bottom: 20px; line-height: 1.2; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 28px; max-width: 90%; }
.hero-trust { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.hero-trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; row-gap: 10px; }
.hero-trust-item { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.875rem; line-height: 1.3; font-weight: 400; }
.hero-trust-item strong { color: var(--text-main); font-weight: 500; }
.hero-trust-icon { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--color-success); color: #fff; flex-shrink: 0; }
.hero-trust-star { color: #00b67a; font-size: 0.95rem; line-height: 1; }
.hero-trust-brand { font-weight: 500; color: #00b67a; text-decoration: none; }
.hero-trust-brand:hover { text-decoration: underline; }
.hero-features { display: flex; flex-direction: column; gap: 16px; }
.hero-features li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text-main); }
.hero-features svg { color: var(--primary); flex-shrink: 0; }

.hero-right { position: relative; display: flex; flex-direction: column; gap: 24px; align-items: center; z-index: 1; }
.hero-right-glow { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%); z-index: -1; pointer-events: none; border-radius: 50%; }
.score-gauge-wrap {
  text-align: center;
  position: relative;
  isolation: isolate;
  --gauge-glow-rgb: 34, 197, 94;
  --gauge-glow-alpha: 0;
  --gauge-glow-scale: 0.9;
}
.score-gauge-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 190px;
  height: 120px;
  transform: translateX(-50%) scale(var(--gauge-glow-scale));
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
  opacity: 1;
  background: radial-gradient(
    circle at 50% 58%,
    rgba(var(--gauge-glow-rgb), var(--gauge-glow-alpha)) 0%,
    rgba(var(--gauge-glow-rgb), 0) 72%
  );
  transition: transform 0.25s ease-out, background 0.25s linear;
}
.score-gauge { position: relative; z-index: 1; width: 140px; height: 80px; }
.gauge-svg { width: 100%; height: 100%; display: block; }
.gauge-fill { transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.gauge-value { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 1.75rem; font-weight: 700; color: var(--text-main); }
.gauge-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.score-gauge-wrap.gauge-near-max::before {
  animation: gaugeGlowPulse 1.15s ease-in-out infinite;
}

@keyframes gaugeGlowPulse {
  0%, 100% {
    transform: translateX(-50%) scale(var(--gauge-glow-scale));
  }
  50% {
    transform: translateX(-50%) scale(calc(var(--gauge-glow-scale) + 0.05));
  }
}

.upload-card {
  background: var(--bg-white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-md); text-align: center; border: 2px dashed var(--border-color);
  transition: all 0.3s ease; width: 100%; max-width: 380px;
}
.upload-card.dragover { border-color: var(--primary); box-shadow: var(--shadow-hover); background-color: #f8fafc; }
.upload-icon {
  width: 56px; height: 56px; background: var(--bg-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--primary);
}
.upload-card h3 { margin-bottom: 6px; font-size: 1.15rem; font-weight: 600; }
.upload-hint { color: var(--text-main); font-size: 0.95rem; margin-bottom: 4px; }
.upload-formats { color: var(--text-muted); font-size: 0.8rem; }
.upload-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 0.8rem; color: var(--text-muted); }

/* --- Section Headers (Rezi-style) --- */
.section-header { text-align: center; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; letter-spacing: -0.02em; font-weight: 700; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* --- BLOCK 2: Hiring System (Modern UI) --- */
.hiring-system {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--bg-white);
}

/* Soft ambient gradient background */
.hiring-system::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background: radial-gradient(90% 72% at 86% 12%, rgba(167, 139, 250, 0.11) 0%, rgba(255, 255, 255, 0) 72%);
  z-index: 0;
  pointer-events: none;
}

.hiring-system .wrap {
  position: relative;
  z-index: 1;
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 80px;
  align-items: center;
}

/* Hiring block: rounded image (no folder style) */
.hiring-visual {
  width: 100%;
}

.hiring-img-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
}

.hiring-img-wrap::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hiring-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

/* Overlays on photo */
.hiring-score-card {
  position: absolute;
  right: 12%;
  bottom: 8%;
  z-index: 2;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 4px 10px -6px rgba(0, 0, 0, 0.08);
}

.hiring-score-card .score-box {
  background: var(--color-success);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.hiring-score-card .score-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.2;
}

.hiring-ats-pill {
  position: absolute;
  right: -5%;
  top: 25%;
  z-index: 2;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4), 0 4px 10px -6px rgba(99, 102, 241, 0.3);
}

.hiring-skills-card {
  position: absolute;
  left: 6%;
  top: 15%;
  z-index: 2;
  width: 190px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.15), 0 4px 12px -6px rgba(0, 0, 0, 0.1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skills-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #334155;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skills-add {
  color: #6366f1;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2px;
  cursor: pointer;
}

.hiring-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hiring-tags .pill {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Text & Infographic side */
.system-content h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.system-content p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Modern Steps */
.modern-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 20px;
}

/* Connecting dashed line */
.modern-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 0;
  border-top: 2px dashed #cbd5e1;
  z-index: 0;
}

.m-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  background: transparent;
}

.m-icon-wrap {
  position: relative;
}

.m-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.m-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #8b5cf6; /* Modern purple accent like the reference */
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-white);
}

.m-step span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

/* --- BLOCK 3: Product Solution (Orbital UI) --- */
.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: 60px 0;
}

.product-solution .wrap {
  padding-inline: clamp(16px, 4vw, 24px);
}

.solution-content h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.solution-content p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.s-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.s-feature svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.s-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.s-feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- HR Product Visual (Reference-style) --- */
.hr-funnel-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: clamp(4px, 2vw, 12px);
}

/* --- Funnel simple visual (Diagnose and fix) --- */
.hr-funnel-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: clamp(4px, 2vw, 12px);
}

.funnel-simple {
  width: min(100%, 460px);
  max-width: 460px;
  position: relative;
  background: #f8fafc;
  border-radius: 32px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 1;
}

.funnel-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.4);
}
.r-1 { width: 220px; height: 220px; }
.r-2 { width: 360px; height: 360px; }
.r-3 { width: 500px; height: 500px; }
.r-4 { width: 640px; height: 640px; }

.flow-spacer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.split-spacer {
  margin-top: 4px;
  margin-bottom: 4px;
}

@keyframes pulseVert {
  0% { stroke-dashoffset: 10; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { stroke-dashoffset: -40; opacity: 0; }
}

@keyframes pulseSplit {
  0% { stroke-dashoffset: 30; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { stroke-dashoffset: -150; opacity: 0; }
}

.flow-pulse-vert {
  stroke-dasharray: 12 50;
  animation: pulseVert 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  stroke-linecap: round;
}

.flow-pulse-split {
  stroke-dasharray: 30 200;
  animation: pulseSplit 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  stroke-linecap: round;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

.funnel-hr-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  margin: 4px 0;
}

.hr-step-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hr-step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.funnel-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.funnel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.funnel-icon.blue { background: #eff6ff; color: #3b82f6; }
.funnel-icon.green { background: #f0fdf4; color: #22c55e; }
.funnel-icon.red { background: #fef2f2; color: #ef4444; }

.funnel-text {
  display: flex;
  flex-direction: column;
}

.funnel-text strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.funnel-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.funnel-top {
  width: 100%;
  max-width: 280px;
}

.funnel-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.funnel-ok {
  padding: 14px 18px;
  gap: 12px;
}

.funnel-ok .funnel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.funnel-ok .funnel-text strong { font-size: 1.35rem; color: #16a34a; }

.funnel-out {
  padding: 14px 18px;
  gap: 12px;
}

.funnel-out .funnel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.funnel-out .funnel-text strong { font-size: 1.35rem; color: #dc2626; }

.ai-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #a855f7;
  border-top-color: #22d3ee;
}

/* --- BLOCK 4: Workflow --- */
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.w-step { text-align: center; }
.w-number { width: 48px; height: 48px; background: var(--primary); color: #fff; font-size: 1.2rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: var(--shadow-sm); }
.w-card { background: var(--bg-white); border: 1px solid var(--border-color); padding: 32px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.w-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.w-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- BLOCK 5: Resume Examples --- */
.resume-examples-v2 {
  padding: 80px 0;
  overflow: hidden;
}

.resume-categories-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}

.cat-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s;
}

.cat-nav-btn:hover {
  color: var(--text-main);
  border-color: var(--text-main);
}

.resume-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
  padding: 4px 0;
}

.resume-categories::-webkit-scrollbar { display: none; }

.cat-tag {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: 1px solid transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.cat-tag:hover {
  background: #e2e8f0;
}

.cat-tag.active {
  background: var(--primary);
  color: white;
}

.examples-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.examples-v2-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.examples-v2-text .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.examples-v2-carousel {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.resume-example-wrap {
  width: 100%;
  max-width: 300px;
  position: relative;
  flex-shrink: 0;
}

.resume-example-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.example-glow {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.glow-2 {
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.25) 0%, transparent 60%);
}

.offset-sheet {
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .examples-v2-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .examples-v2-text { margin-bottom: 40px; }
  .examples-v2-carousel { justify-content: center; }
  .offset-sheet { display: none; } /* Hide the second sheet on mobile to save space */
}

/* --- BLOCK 6: Authority (Rezi-style) --- */
.trust-headline { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; margin-bottom: 40px; color: var(--text-main); }
.trust-metrics { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.metric { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.metric strong { 
  font-size: clamp(2rem, 4vw, 2.75rem); 
  letter-spacing: -0.02em; 
  font-weight: 800; 
  background: var(--accent-soft-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.metric span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }

/* --- BLOCK 7: Benefits (Light Reference Style) --- */
.benefits-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--text-main);
}

.benefits-headline svg {
  color: #60a5fa;
}

.benefits-headline h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.benefits-headline h2 span {
  background: var(--accent-soft-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

#resumes-counter.counter-roll {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.01em;
  position: relative;
  overflow: visible;
  height: 1em;
  line-height: 1em;
  vertical-align: baseline;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

#resumes-counter .counter-digit {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 0.62em;
  height: 1em;
  line-height: 1em;
  text-align: center;
}

#resumes-counter .counter-digit-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

#resumes-counter .counter-digit-value {
  display: block;
  height: 1em;
  line-height: 1em;
}

#resumes-counter .counter-separator {
  display: inline-block;
  width: 0.34em;
  text-align: center;
}

.benefits-grid-lite {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card-lite {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 20px 16px;
}

.b-icon-lite {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  margin-bottom: 14px;
}

.benefit-card-lite h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

.benefit-card-lite p {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #6b7280;
}

/* --- BLOCK 7.5: Testimonials --- */
.reviews-title {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.reviews-title span {
  background: var(--accent-soft-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.reviews-track-wrap {
  overflow: hidden;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  padding-bottom: 0;
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  min-width: 0;
  width: 100%;
  flex: initial;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 20px 18px;
}

.review-stars {
  color: #10b981;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.review-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 8px;
  font-weight: 600;
}

.review-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 14px;
}

.review-meta {
  font-size: 0.82rem;
  color: #94a3b8;
}

.trustpilot-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.tp-score {
  font-size: 1.8rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 8px;
}

.tp-stars {
  color: #10b981;
  letter-spacing: 2px;
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 10px;
}

.tp-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.tp-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.reviews-controls {
  margin-top: 8px;
  display: none;
  align-items: center;
  gap: 10px;
}

.reviews-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 1.3rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviews-nav-btn:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.reviews-progress {
  height: 3px;
  border-radius: 999px;
  background: #e2e8f0;
  flex: 1;
  overflow: hidden;
}

.reviews-progress-fill {
  display: block;
  width: 28%;
  height: 100%;
  background: #3b82f6;
  border-radius: 999px;
  transition: width 0.2s ease;
}

/* --- BLOCK 8: Contrast CTA Banner --- */
.cta-banner {
  padding: 72px 0;
  background: var(--bg-white);
}

.cta-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 300px;
  background: linear-gradient(115deg, #061a61 0%, #0a2b85 58%, #1b43a7 100%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  padding: 56px 52px;
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 560px;
  margin-bottom: 14px;
}

.cta-banner-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 520px;
  margin-bottom: 28px;
}

.cta-banner-content .btn-primary {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #ffffff;
}

.cta-banner-content .btn-primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

.cta-banner-media {
  position: relative;
  min-height: 300px;
}

.cta-banner-media img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-top-left-radius: 140px;
}

.cta-banner-blob {
  position: absolute;
  right: -44px;
  bottom: -22px;
  width: 240px;
  height: 180px;
  background: #dffcff;
  border-top-left-radius: 80%;
  border-top-right-radius: 26%;
}

.cta-banner-scribble {
  position: absolute;
  right: 24px;
  border-top: 4px solid #3b4bff;
  border-radius: 999px;
  opacity: 0.95;
  z-index: 3;
}

.cta-banner-scribble-1 {
  top: 20px;
  width: 190px;
  height: 58px;
  transform: rotate(8deg);
}

.cta-banner-scribble-2 {
  top: 56px;
  width: 170px;
  height: 50px;
  transform: rotate(8deg);
}

/* --- BLOCK 9: Pricing (Rezi-style 3 cards) --- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
.pricing-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; position: relative; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-badge { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 16px; font-weight: 700; }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; color: var(--text-main); }
.pricing-card .price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-card ul { margin-bottom: 28px; text-align: left; }
.pricing-card li { margin-bottom: 12px; padding-left: 24px; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); font-weight: bold; }
.pricing-card.featured { background: var(--bg-white); border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.pricing-guarantee { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; margin-bottom: 0; }

/* --- BLOCK 10: FAQ --- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; font-size: 1.1rem; font-weight: 600; background: none; border: none; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease; }
.faq-question:hover { background: var(--bg-light); }
.faq-icon { color: var(--primary); transition: transform 0.3s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 24px 24px; color: var(--text-muted); font-size: 1rem; }

/* --- BLOCK 11: Final CTA (Rezi-style) --- */
.final-cta { padding: 80px 0; }
.final-cta h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 20px; letter-spacing: -0.02em; font-weight: 700; }
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--border-color); background: var(--bg-white); text-align: left; }
.site-footer::after {
  content: "Release " var(--site-release-label);
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.2;
  color: #94a3b8;
}
.footer-text { font-size: 0.9rem; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; color: var(--text-main); }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; text-align: center; }

/* --- Responsive (Rezi-style) --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .hero-trust-list { justify-content: center; }
  .hero-right { align-items: center; }
  .header-wrap { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .header-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .header-nav a { flex: 0 1 auto; }
  .resume-categories-wrap { align-items: flex-start; gap: 10px; }
  .resume-categories { flex-wrap: wrap; overflow: visible; white-space: normal; }
  .cat-nav-btn { display: none; }
  .reviews-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-preview { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .system-layout { grid-template-columns: 1fr; }
  .solution-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner-card { grid-template-columns: 1fr; }
  .cta-banner-content { padding: 44px 34px 34px; }
  .cta-banner-content h2 { max-width: none; }
  .cta-banner-sub { max-width: none; font-size: 1.08rem; }
  .cta-banner-media { min-height: 220px; }
  .cta-banner-media img {
    width: 100%;
    border-top-left-radius: 46px;
    object-position: center 28%;
  }
  .cta-banner-blob {
    width: 180px;
    height: 140px;
    right: -28px;
    bottom: -20px;
  }
  .hiring-system::before {
    background: radial-gradient(90% 72% at 86% 12%, rgba(167, 139, 250, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
  }
  .funnel-simple { max-width: 100%; padding: 24px 20px 20px; }
  .funnel-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .benefits-grid-lite { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples-layout { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .examples-content .hand-arrow { display: none; }
  .roles-list { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 768px) {
  .header-wrap.has-toggle .nav-toggle { display: inline-flex; }
  .header-wrap.has-toggle .header-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 6px;
  }
  .header-wrap.has-toggle .header-nav.is-open { display: flex; }
  .header-wrap:not(.has-toggle) .header-nav { display: flex; width: 100%; }
  .grid-4, .workflow-steps { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(28px, 7.2vw, 34px); line-height: 1.18; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .benefits-grid-lite { grid-template-columns: 1fr; gap: 12px; }
  .reviews-track { grid-template-columns: minmax(0, 1fr); }
  .benefits-headline { flex-direction: column; text-align: center; }
  .cta-banner { padding: 56px 0; }
  .cta-banner-content { padding: 32px 24px 28px; text-align: left; }
  .cta-banner-content h2 { font-size: clamp(26px, 8vw, 36px); }
  .cta-banner-sub { font-size: 1rem; margin-bottom: 22px; }
  .cta-banner-media { min-height: 190px; }
  .cta-banner-scribble {
    right: 14px;
    border-top-width: 3px;
  }
  .cta-banner-scribble-1 { top: 10px; width: 120px; height: 36px; }
  .cta-banner-scribble-2 { top: 32px; width: 106px; height: 30px; }
  .cta-banner-blob { width: 120px; height: 96px; right: -18px; bottom: -12px; }
  .reviews-controls { display: none; }
  .modern-steps { display: flex; justify-content: space-between; gap: 6px; flex-wrap: nowrap; }
  .modern-steps::before { display: none; }
  .m-step { flex: 1 1 0; min-width: 0; gap: 8px; }
  .m-icon { width: 38px; height: 38px; }
  .m-badge { width: 16px; height: 16px; font-size: 0.6rem; top: -3px; right: -3px; }
  .m-step span { text-align: center; font-size: 0.74rem; line-height: 1.15; }
  .header-nav a { font-size: 0.95rem; padding: 10px 12px; width: 100%; justify-content: center; }
  .header-nav .btn-primary { margin-left: 0; }
  .pricing-grid, .pricing-grid-3 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pipeline-visual { flex-direction: column; gap: 24px; }
  .pipeline-arrow { transform: rotate(90deg); }
  .split { flex-direction: column; }
  .ui-sidebar { flex-direction: column; gap: 24px; }
  .trust-metrics { gap: 32px; flex-direction: column; }
  .section-light, .section-white { padding: 56px 0; }
  .hiring-score-card { right: 4%; bottom: 4%; left: auto; top: auto; padding: 8px 12px; }
  .hiring-score-card .score-box { font-size: 1rem; padding: 4px 8px; }
  .hiring-ats-pill { right: -2%; top: 20%; padding: 8px 12px; font-size: 0.85rem; }
  .hiring-skills-card { left: 4%; top: 10%; right: auto; bottom: auto; width: 160px; padding: 10px; }
  .solution-layout { padding: 36px 0 24px; gap: 20px; }
  .hr-funnel-visual { padding-inline: 12px; }
  .funnel-simple { width: 100%; max-width: 100%; padding: 20px 16px 18px; }
  .funnel-ok, .funnel-out { padding: 10px 8px; gap: 8px; }
  .funnel-ok .funnel-icon, .funnel-out .funnel-icon { width: 30px; height: 30px; border-radius: 10px; }
  .funnel-ok .funnel-text strong, .funnel-out .funnel-text strong { font-size: 1.05rem; }
  .funnel-ok .funnel-text span, .funnel-out .funnel-text span { font-size: 0.72rem; line-height: 1.2; }
  .example-snippet-head { flex-direction: column; align-items: flex-start; }
  .copy-btn-lite { width: 100%; }
}

@media (max-width: 480px) {
  .btn-large { width: 100%; padding: 14px 20px; }
  .upload-card { padding: 24px 18px; }
  .hero-title { font-size: clamp(24px, 8vw, 30px); }
  .hero-sub { font-size: 0.95rem; }
  .funnel-split { gap: 8px; }
  .m-step span { font-size: 0.72rem; }
  .header-nav { gap: 6px; }
  .header-nav a { width: 100%; justify-content: center; }
}

/* --- Examples Directory (Resume.io-inspired UX pattern) --- */
.examples-directory {
  background: var(--bg-white);
  padding: 40px 0 64px;
}

.examples-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.examples-search {
  width: 100%;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 26px;
}

.examples-search:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.examples-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

.examples-category-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.examples-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 12px;
}

.examples-category-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 780px;
}

.examples-micro-note {
  margin: 10px 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.examples-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.example-template-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 16px;
  min-height: 338px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.example-template-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.45);
}

.example-template-overlay {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  z-index: 2;
}

.example-template-overlay:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: -2px;
}

.example-template-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  margin-bottom: 12px;
}

.example-template-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5eaf1;
  background: white;
}

.example-template-link {
  position: relative;
  z-index: 3;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.89rem;
}

.example-template-meta {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid #dbe5f2;
  color: #475569;
  background: #ffffff;
}

.examples-role-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.examples-role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 60px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 0 16px;
  color: var(--text-main);
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.examples-show-more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.example-page {
  background: var(--bg-white);
}

.example-hero {
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0 28px;
}

.example-hero .wrap {
  max-width: 1160px;
}

.example-breadcrumb {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.example-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.example-breadcrumb a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.example-hero h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.04;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.example-hero p {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 760px;
}

.example-layout {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 260px);
  gap: 26px;
  align-items: start;
}

.example-toc {
  position: sticky;
  top: 22px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  background: #f8fafc;
}

.example-toc h2 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.example-toc a {
  display: block;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 8px;
  padding: 6px 8px;
  border-radius: 8px;
}

.example-toc a:hover {
  color: #2563eb;
  background: #eef4ff;
}

.example-article h2 {
  font-size: 1.6rem;
  margin: 26px 0 12px;
}

.example-article section {
  scroll-margin-top: 90px;
}

.example-article p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 14px;
}

.example-snippet {
  border: 1px dashed #d8e2f0;
  border-radius: 12px;
  padding: 20px;
  background: #fbfdff;
  margin: 16px 0;
}

.example-snippet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.example-snippet-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.copy-btn-lite {
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: white;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-grid > *,
.system-layout > *,
.solution-layout > *,
.examples-v2-grid > *,
.cta-banner-card > *,
.example-layout > * {
  min-width: 0;
}

.example-tip {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 18px 18px 16px;
  margin: 14px 0 8px;
}

.example-tip h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.example-keyline {
  margin: 8px 0 20px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
}

.example-side {
  position: sticky;
  top: 22px;
}

.example-template-link,
.meta-pill {
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.examples-directory .btn:hover,
.example-layout .btn:hover,
.examples-role-pill:hover,
.meta-pill:hover,
.copy-btn-lite:hover,
.example-share-icon:hover,
.example-template-link:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
  color: #0f172a;
  transform: translateY(-1px);
}

.examples-directory .btn-primary:hover,
.example-layout .btn-primary:hover {
  border-color: var(--primary-hover);
  background-color: var(--primary-hover);
  color: #ffffff;
}

.examples-show-more:hover {
  color: #1d4ed8;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .examples-template-grid,
  .examples-role-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .examples-category-head {
    grid-template-columns: 1fr;
  }

  .example-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .example-toc,
  .example-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .examples-template-grid,
  .examples-role-pills {
    grid-template-columns: 1fr;
  }

  .examples-category-desc {
    font-size: 1rem;
  }
}
