/* ============================================
   KVATASK SITE — /product
   ============================================ */

.pd-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 30%, rgba(79, 70, 229, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  z-index: -1;
}

.pd-hero h1 {
  font-size: var(--display-1);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  line-height: 1.04;
  margin-bottom: 20px;
}

.pd-hero h1 .accent {
  background: var(--gradient-mcp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pd-hero-sub {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===== TOC (sticky на десктопе) ===== */
.pd-toc {
  position: sticky;
  top: 80px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9375rem;
  z-index: 5;
}

.pd-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pd-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.pd-toc a:hover {
  background: var(--primary-muted);
  color: var(--primary);
}

/* ===== Module section ===== */
.pd-modules {
  padding: 40px 0 100px;
}

.pd-modules-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.pd-module {
  margin-bottom: 96px;
  scroll-margin-top: 100px;
}

.pd-module:last-child { margin-bottom: 0; }

.pd-module-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.pd-module h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
  margin-bottom: 16px;
  line-height: 1.15;
}

.pd-module-text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 16px;
}

.pd-module-text p {
  margin-bottom: 14px;
}

.pd-module-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin: 16px 0 24px;
  max-width: 720px;
}

.pd-module-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pd-module-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 9px;
}

.pd-module-mockup {
  margin-top: 24px;
  max-width: 920px;
}

/* ===== Inline SVG burndown ===== */
.pd-burndown {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.pd-burndown svg { width: 100%; height: auto; display: block; }

/* ===== Planning poker mock ===== */
.pd-poker {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.pd-poker-task {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.pd-poker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pd-poker-card {
  width: 48px;
  height: 64px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--bg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-secondary);
  cursor: default;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pd-poker-card.picked {
  border-color: var(--primary);
  background: var(--primary-muted);
  color: var(--primary);
  transform: translateY(-4px);
}

.pd-poker-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pd-poker-result strong {
  color: var(--primary);
  font-size: 1.125rem;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ===== Git webhook mock ===== */
.pd-git {
  background: #0a0d14;
  border: 1px solid #1e2230;
  border-radius: var(--radius-xl);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #c9d1e0;
  line-height: 1.7;
  overflow-x: auto;
}

.pd-git .commit { color: #fbbf24; }
.pd-git .author { color: #93c5fd; }
.pd-git .ref { color: #a3e635; }
.pd-git .msg { color: #e2e8f0; }
.pd-git .arrow { color: #6366f1; font-weight: 700; }
.pd-git .ok { color: #34d399; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .pd-modules-grid { grid-template-columns: 1fr; }
  .pd-toc {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
  }
  .pd-toc-title { display: none; }
  .pd-toc a { white-space: nowrap; }
}

@media (max-width: 768px) {
  .pd-hero { padding: 100px 0 32px; }
  .pd-hero-sub { font-size: 1.0625rem; }
  .pd-modules { padding: 24px 0 64px; }
  .pd-module { margin-bottom: 64px; }
  .pd-module-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pd-hero { padding: 80px 0 24px; }
  .pd-toc { padding: 12px; }
  .pd-toc a { padding: 6px 10px; font-size: 0.8125rem; }
  .pd-module { margin-bottom: 48px; }
  .pd-burndown, .pd-poker { padding: 16px; }
  .pd-git { padding: 16px; font-size: 0.75rem; }
  .pd-poker-card { width: 40px; height: 54px; font-size: 1rem; }
}
