/* Sections: hero, stats, problem, what, checker, how, cases, contact */

/* HERO */
.hero { padding-top: 96px; padding-bottom: 96px; }
.hero-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
  animation: fadeUp 0.5s ease both;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 780px;
  margin-bottom: 32px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 520px;
  font-weight: 300;
  animation: fadeUp 0.5s 0.2s ease both;
}

/* STATS */
.stats { padding-top: 32px; padding-bottom: 32px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
}
.stat-item {
  padding: 32px;
  border-right: var(--border);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--mono);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1;
}
.stat-label {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.5;
  font-weight: 300;
}

/* PROBLEM */
.problem { padding-top: 80px; padding-bottom: 80px; }
.problem-text {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 700px;
  margin-bottom: 48px;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
}
.problem-card {
  padding: 32px;
  border-right: var(--border);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}
.problem-card:last-child { border-right: none; }
.card-icon { width: 8px; height: 8px; border-radius: 50%; }
.icon-red { background: var(--red); }
.icon-yellow { background: #d4a012; }
.icon-gray { background: var(--gray-400); }
.card-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: auto;
  margin-bottom: 12px;
}
.card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  font-weight: 300;
}
.fine-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  margin-top: 12px;
}

/* WHAT WE DO */
.what { padding-top: 80px; padding-bottom: 80px; }
.what-intro {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 40px;
}
.directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
}
.direction {
  padding: 32px;
  border-right: var(--border);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}
.direction:last-child { border-right: none; }
.dir-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 400;
}
.dir-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.dir-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  font-weight: 300;
}

/* CHECKER */
.checker { padding-top: 80px; padding-bottom: 80px; }
.checker-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--border);
}
.checker-left {
  border-right: var(--border);
  position: relative;
  height: 420px;
  overflow: hidden;
}
.checker-left::before,
.checker-left::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.checker-left::before {
  top: 0;
  background: linear-gradient(to bottom, var(--white) 0%, transparent 100%);
}
.checker-left::after {
  bottom: 0;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}
.checker-scroll-track {
  display: flex;
  flex-direction: column;
  animation: scrollUp 18s linear infinite;
  padding: 0 32px;
}
.checker-scroll-track:hover { animation-play-state: paused; }

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.checker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: var(--border);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gray-800);
  white-space: nowrap;
}
.checker-item:last-child { border-bottom: none; }
.checker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gray-400);
  flex-shrink: 0;
}
.checker-right {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.checker-num {
  font-family: var(--mono);
  font-size: clamp(48px, 4vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.checker-num span { color: var(--red); }
.checker-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.checker-heading {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
}
.checker-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  font-weight: 300;
}

/* HOW IT WORKS */
.how { padding-top: 80px; padding-bottom: 80px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: var(--border);
}
.step {
  padding: 32px;
  border-right: var(--border);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 400;
}
.step-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  margin-top: auto;
}
.step-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  font-weight: 300;
}

/* CASES */
.cases { padding-top: 80px; padding-bottom: 80px; }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: var(--border);
}
.case-item {
  padding: 24px;
  border-right: var(--border);
}
.case-item:last-child { border-right: none; }
.case-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.case-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.case-sub {
  font-size: 16px;
  color: var(--gray-400);
  margin-bottom: 24px;
  font-weight: 300;
}
.findings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.finding {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-800);
  font-weight: 300;
}
.finding::before {
  content: '—';
  color: var(--gray-400);
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 3px;
}
.case-result {
  padding: 16px;
  background: var(--red-light);
  border-left: 2px solid var(--red);
}
.case-result-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.case-result-text {
  font-size: 16px;
  color: var(--black);
  font-weight: 400;
}

/* CONTACT */
.contact { padding-top: 80px; padding-bottom: 80px; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.contact-note {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.65;
  font-weight: 300;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 24px 0;
  border-bottom: var(--border);
  transition: opacity 0.15s;
}
.contact-link:first-child { border-top: var(--border); }
.contact-link:hover { opacity: 0.5; }
.contact-link-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  display: block;
  margin-bottom: 4px;
}
.contact-link-value {
  font-size: 18px;
  color: var(--black);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.contact-arrow {
  margin-left: auto;
  color: var(--gray-400);
  font-size: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .checker-inner { grid-template-columns: 1fr; }
  .checker-left { border-right: none; border-bottom: var(--border); }
}
@media (max-width: 768px) {
  .stats-grid, .problem-cards, .directions, .steps, .cases-grid {
    grid-template-columns: 1fr;
  }
  .stat-item, .problem-card, .direction, .step {
    border-right: none;
    border-bottom: var(--border);
    aspect-ratio: auto;
    min-height: 200px;
  }
  .stat-item:last-child, .problem-card:last-child, .step:last-child {
    border-bottom: none;
  }
  .direction { border-right: none !important; }
  .cases-grid .case-item { border-right: none; border-bottom: var(--border); }
  .cases-grid .case-item:last-child { border-bottom: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .checker-right { padding: 32px; }

  /* 16px gap from first element to next inside all cards */
  .stat-item .stat-num,
  .problem-card .card-icon,
  .direction .dir-num,
  .step .step-num {
    margin-bottom: 16px;
  }
  .card-title { margin-top: 0; }
  .dir-title  { margin-top: 0; }
  .step-title { margin-top: 0; }
  .stat-label { margin-top: 0; }
}
