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

:root {
  --green: #61ce70;
  --green-dark: #4cb85c;
  --black: #0d0d0d;
  --dark: #151515;
  --dark2: #1c1c1c;
  --gray: #888;
  --border: rgba(255,255,255,0.08);
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo svg { flex-shrink: 0; }

.nav-logo-img { height: 28px; width: auto; display: block; }
footer .nav-logo-img { height: 22px; }

.nav-logo-fallback {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #aaa;
  transition: color .2s;
}

.nav-links a:hover { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: none;
}

.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ── SECTION COMMONS ── */
section { padding: 100px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 em { font-style: normal; color: var(--green); }

.section-sub {
  font-size: 17px;
  color: #777;
  max-width: 560px;
  line-height: 1.7;
}

/* ── HERO ── */
.hero {
  padding: 160px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(97,206,112,0.3);
  background: rgba(97,206,112,0.08);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h1 em { font-style: normal; color: var(--green); }

.hero-sub {
  font-size: 18px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-ctas .btn { padding: 14px 28px; font-size: 15px; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-item p { font-size: 13px; color: #666; margin-top: 2px; }

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero-card-header span { font-size: 12px; color: #555; font-weight: 500; }

.status-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4ade80;
}

.status-dot::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.pipeline-row:last-of-type { border-bottom: none; }
.pipeline-label { font-size: 13px; color: #aaa; }
.pipeline-value { font-size: 13px; font-weight: 700; color: var(--white); }
.pipeline-value.green { color: var(--green); }

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  animation: progress-in 1.5s ease forwards;
}

@keyframes progress-in { from { width: 0; } to { width: var(--fill-width, 72%); } }

/* ── PROOF BAR ── */
.proof-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 48px;
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-label {
  font-size: 12px;
  color: #444;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.proof-logos { display: flex; gap: 40px; align-items: center; flex: 1; flex-wrap: wrap; }

.proof-logo-item {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #555;
  opacity: 0.7;
  transition: opacity .2s, color .2s;
}

.proof-logo-item:hover { opacity: 1; color: var(--green); }

.proof-logo-item img {
  height: 84px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity .2s;
  display: block;
}

.proof-logo-item:hover img { opacity: 1; }

/* ── SERVICES ── */
.services-section { background: var(--dark); }

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

.service-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color .2s, transform .2s;
}

.service-card:hover {
  border-color: rgba(97,206,112,0.3);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(97,206,112,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ── CASE STUDIES ── */
.case-studies-section { background: var(--black); }

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

.case-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.case-card:hover { border-color: rgba(97,206,112,0.25); transform: translateY(-2px); }

.case-card-logo {
  height: 96px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  margin-bottom: 16px;
}

.case-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(97,206,112,0.12);
  color: var(--green);
  margin-bottom: 16px;
  width: fit-content;
}

.case-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.case-card h3 span { color: var(--green); }
.case-card p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 20px; flex: 1; }

.case-metrics { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }

.metric { display: flex; flex-direction: column; gap: 2px; }

.metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.metric-label { font-size: 11px; color: #555; }

.case-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.case-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ── DIFFERENTIATORS ── */
.different-section { background: var(--dark); }

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

.different-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color .2s, transform .2s;
}

.different-card:hover {
  border-color: rgba(97,206,112,0.3);
  transform: translateY(-2px);
}

.different-card .step-num { margin-bottom: 20px; }

.different-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.different-card p { font-size: 14px; color: #666; line-height: 1.7; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--black); }

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

.testimonial-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.testimonial-video {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  background: var(--black);
  object-fit: cover;
}

.testimonial-name {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-name span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-top: 2px;
}

/* ── PROCESS ── */
.process-section { background: var(--dark); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(to right, var(--green), rgba(97,206,112,0.2));
}

.process-step { padding: 0 20px; position: relative; }

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: #555; line-height: 1.7; }

/* ── CTA SECTION ── */
.cta-section { background: var(--black); text-align: center; }
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { font-size: 17px; color: #666; margin-bottom: 40px; line-height: 1.7; }
.cta-inner .btn { padding: 16px 36px; font-size: 16px; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copy { font-size: 13px; color: #333; }

.footer-links { display: flex; gap: 28px; list-style: none; }

.footer-links a { font-size: 13px; color: #333; transition: color .2s; }
.footer-links a:hover { color: var(--green); }

/* ── PAGE HEADER (case studies list / detail) ── */
.page-header {
  padding: 160px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #777;
  margin-bottom: 24px;
  transition: color .2s;
}
.back-link:hover { color: var(--green); }

/* ── CASE STUDY DETAIL ── */
.case-detail-hero {
  padding: 0 48px 64px;
  max-width: 900px;
  margin: 0 auto;
}

.case-banner {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
  display: block;
}

.case-detail-logo {
  height: 112px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.case-detail-metrics {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-detail-body {
  padding: 0 48px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.case-detail-body h2 {
  font-size: 26px;
  margin-top: 48px;
}

.case-detail-body p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 16px;
}

.case-detail-body ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-detail-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #999;
}

.case-detail-body ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  .hero { grid-template-columns: 1fr; padding: 120px 24px 80px; gap: 48px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .different-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid::before { display: none; }
  .proof-bar { padding: 20px 24px; }
  footer { padding: 36px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .page-header { padding: 120px 24px 48px; }
  .case-detail-hero, .case-detail-body { padding-left: 24px; padding-right: 24px; }
  .case-detail-metrics { gap: 24px; }
}

@media (max-width: 500px) {
  .process-grid { grid-template-columns: 1fr; }
}
