@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Geist:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FAFAFA;
  color: #111;
  overflow-x: hidden;
}

/* ── Navbar ── */
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(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #000;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover {
  background: #E5E7EB;
}
.lang-toggle svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .lang-toggle {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* ── Hamburger Menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 102;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 99;
}
.nav-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }
  nav {
    padding: 0 20px;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    left: auto;
    transform: none;
    flex-direction: column;
    background: #fff;
    width: 240px;
    height: calc(100vh - 72px);
    padding: 32px 28px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    transition: right 0.3s ease;
    z-index: 101;
    align-items: flex-start;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
  }
  .nav-links a {
    font-size: 16px;
  }
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  border: 1px solid #E0E0E0;
  border-radius: 100px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-bottom: 40px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DB7D8;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: #111;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, #06B6D4, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 17px);
  color: #888;
  line-height: 1.8;
  margin-bottom: 64px;
  max-width: 520px;
}

/* ── Image Carousel ── */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 340px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}




/* ── Problem Section ── */
.problem-section {
  padding: 80px 48px;
  display: flex;
  justify-content: center;
  background: #F9FAFB;
}

.problem-card {
  background: #111;
  border-radius: 28px;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 560px;
}

/* Left: animated dark canvas */
.problem-visual {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  border-radius: 20px;
  margin: 24px;
}

.problem-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* noise overlay */
.problem-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  pointer-events: none;
  border-radius: 20px;
}

/* Right: text content */
.problem-content {
  padding: 56px 56px 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.problem-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  width: fit-content;
  margin-bottom: 28px;
}

.problem-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F72553;
  flex-shrink: 0;
}

.problem-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}

.problem-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.problem-stats {
  display: flex;
  gap: 48px;
  margin-top: auto;
  padding-top: 40px;
}

.problem-stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.problem-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* ── Responsive: Problem Section ── */
@media (max-width: 768px) {
  .problem-section {
    padding: 40px 20px;
  }
  .problem-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .problem-visual {
    min-height: 0;
    height: 200px;
    margin: 16px 16px 0 16px;
  }
  .problem-content {
    padding: 32px 24px 36px;
  }
  .problem-stats {
    gap: 32px;
  }
}

/* ── Core Technology Section ── */
.core-section {
  background: #F9FAFB;
  padding: 100px 48px;
}

.core-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.core-label {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #4FB4CF;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.core-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 24px;
  max-width: 640px;
}

.core-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  max-width: 620px;
  margin-bottom: 56px;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.core-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #EAEDF0;
  transition: box-shadow 0.3s, transform 0.3s;
}

.core-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.core-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.core-card-icon.blue { background: #E8F0FE; color: #2196F3; }
.core-card-icon.cyan { background: #E0F7FA; color: #00ACC1; }
.core-card-icon.indigo { background: #EDE7F6; color: #5C6BC0; }
.core-card-icon.teal { background: #E0F2F1; color: #009688; }

.core-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.core-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #888;
}

/* ── Responsive: Core Technology ── */
@media (max-width: 768px) {
  .core-section { padding: 60px 20px; }
  .core-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .core-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── How It Works Section ── */
.hiw-section {
  background: #F9FAFB;
  padding: 100px 48px 120px;
  text-align: center;
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 169, 183, 0.16);
  border: none;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #0DA9B7;
  margin-bottom: 28px;
  box-shadow: none;
}

.hiw-badge svg {
  flex-shrink: 0;
}

.hiw-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hiw-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: #888;
  max-width: 680px;
  margin: 0 auto 64px;
}

/* Step indicator row */
/* Steps + Cards paired grid */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

/* Connecting line behind icons on desktop */
.hiw-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 30px);
  right: calc(12.5% + 30px);
  height: 0;
  border-top: 2px solid #ECEDEE;
  z-index: 0;
}

.hiw-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hiw-step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.hiw-step-img {
  height: 48px;
  width: auto;
}

.hiw-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px 36px;
  border: 1px solid #EAEDF0;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  width: 100%;
}

.hiw-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.hiw-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hiw-card-divider {
  width: 100%;
  height: 1px;
  border: none;
  border-top: 1px dashed #E0E5ED;
  margin-bottom: 16px;
}

.hiw-card-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #888;
}

/* ── Responsive: How It Works ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hiw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .hiw-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hiw-section {
    padding: 60px 20px 80px;
  }
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hiw-grid::before {
    display: none;
  }
}

/* ── Product / Data Capture Section ── */
.product-section {
  background: #fff;
  padding: 100px 48px;
}

.product-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 520px;
}

.product-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(13, 169, 183, 0.16);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #0DA9B7;
  width: fit-content;
  margin-bottom: 40px;
}

.product-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0DA9B7;
}

.product-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 32px;
}

.product-title .highlight {
  color: #2196F3;
}

.product-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #888;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 24px;
  background: #111;
  color: #fff;
  border: none;
  padding: 16px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.product-cta-btn:hover {
  background: #333;
}

/* Right: OCR visual */
.product-visual {
  position: relative;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  min-height: 520px;
}

/* grid overlay */
.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}

/* corner brackets */
.scan-frame {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-frame::before,
.scan-frame::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255,255,255,0.4);
  border-style: solid;
  z-index: 5;
}
.scan-frame::before {
  top: 0; left: 0;
  border-width: 2px 0 0 2px;
}
.scan-frame::after {
  top: 0; right: 0;
  border-width: 2px 2px 0 0;
}

.scan-frame-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 5;
}
.scan-frame-bottom::before,
.scan-frame-bottom::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255,255,255,0.4);
  border-style: solid;
}
.scan-frame-bottom::before {
  bottom: 0; left: 0;
  border-width: 0 0 2px 2px;
}
.scan-frame-bottom::after {
  bottom: 0; right: 0;
  border-width: 0 2px 2px 0;
}

/* the certificate paper */
.cert-paper {
  position: relative;
  width: 240px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  padding: 24px 20px;
  z-index: 3;
  overflow: hidden;
}

.cert-header {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E5E7EB;
}

.cert-header-logo {
  width: 32px;
  height: 32px;
  background: #2196F3;
  border-radius: 7px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-header-title {
  font-size: 13px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.cert-header-sub {
  font-size: 8px;
  color: #999;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.cert-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.cert-label {
  font-size: 8px;
  font-weight: 600;
  color: #999;
  white-space: nowrap;
  min-width: 44px;
}

.cert-value {
  font-size: 9px;
  font-weight: 600;
  color: #333;
  text-align: right;
}

.cert-divider {
  border: none;
  border-top: 1px dashed #E5E7EB;
  margin: 12px 0;
}

.cert-score-section {
  text-align: center;
  margin: 10px 0;
}

.cert-score-label {
  font-size: 8px;
  color: #999;
  margin-bottom: 2px;
}

.cert-score-value {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.03em;
}

.cert-barcode {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 1.5px;
  height: 24px;
}

.cert-barcode span {
  display: inline-block;
  background: #333;
  width: 2px;
  height: 100%;
}
.cert-barcode span:nth-child(even) {
  width: 1px;
  background: #666;
}
.cert-barcode span:nth-child(3n) {
  width: 3px;
}

/* skeleton overlay */
.skeleton-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 4;
  padding: 24px 20px;
}

.skel-block {
  background: #E5E7EB;
  border-radius: 4px;
}

.skel-circle {
  width: 32px;
  height: 32px;
  background: #E5E7EB;
  border-radius: 7px;
  margin: 0 auto 6px;
}

.skel-title {
  width: 60%;
  height: 13px;
  margin: 0 auto 3px;
}

.skel-subtitle {
  width: 45%;
  height: 7px;
  margin: 0 auto 12px;
}

.skel-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.skel-label {
  width: 36px;
  height: 8px;
}

.skel-value {
  width: 72px;
  height: 8px;
}

.skel-divider-dashed {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #E5E7EB 0, #E5E7EB 4px, transparent 4px, transparent 8px);
  margin: 12px 0;
}

.skel-score-label {
  width: 44px;
  height: 7px;
  margin: 8px auto 4px;
}

.skel-score {
  width: 70px;
  height: 22px;
  margin: 0 auto 0;
}

.skel-barcode {
  width: 110px;
  height: 20px;
  margin: 14px auto 0;
}

/* scan line - controlled by JS */
.scan-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2196F3, #64B5F6, #2196F3, transparent);
  z-index: 6;
  box-shadow: 0 0 12px rgba(33,150,243,0.7), 0 0 32px rgba(33,150,243,0.25);
  pointer-events: none;
}

.scan-line::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(33,150,243,0.06));
}

.scan-line::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to top, transparent, rgba(33,150,243,0.06));
}

/* ── Responsive: Product Section ── */
@media (max-width: 768px) {
  .product-section {
    padding: 60px 20px;
  }
  .product-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-visual {
    order: -1;
    min-height: 380px;
  }
  .product-text {
    min-height: auto;
    padding: 0;
  }
  .product-cta-btn {
    margin-top: 18px;
    padding: 16px 12px;
    font-size: 11px;
    border-radius: 6px;
  }
}

/* ── Accepting Partners Section ── */
.ap-section {
  background: #F9FAFB;
  padding: 100px 48px 120px;
  text-align: center;
}

.ap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ap-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 169, 183, 0.16);
  border: none;
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #0DA9B7;
  margin-bottom: 28px;
  box-shadow: none;
}

.ap-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
}

.ap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.ap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ap-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #666;
}

.ap-icon svg,
.ap-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ap-item-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.ap-item-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #999;
  max-width: 220px;
}

.ap-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.ap-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ap-cta-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ── Responsive: Accepting Partners ── */
@media (max-width: 768px) {
  .ap-section { padding: 60px 20px 80px; }
  .ap-grid { grid-template-columns: 1fr; gap: 36px; }
  .ap-title { font-size: 26px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .ap-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* ── MCP Protocol Section ── */
.mcp-section {
  background: #fff;
  padding: 100px 48px;
}

.mcp-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 520px;
}

.mcp-text-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.mcp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(13, 169, 183, 0.16);
  border-radius: 100px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0DA9B7;
  width: fit-content;
  margin-bottom: 40px;
}

.mcp-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

.mcp-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.mcp-gradient {
  background: linear-gradient(135deg, #34D399, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mcp-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #888;
  max-width: 460px;
}

.mcp-env-label {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 32px;
  margin-bottom: 16px;
}

.mcp-env-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mcp-env-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.mcp-env-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #81D6ED;
  display: inline-block;
}

.mcp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  padding: 16px 16px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: default;
  text-decoration: none;
  transition: background 0.2s;
}

/* Terminal visual area */
.mcp-terminal-wrap {
  position: relative;
  overflow: visible;
  border-radius: 24px;
  min-height: 536px;
  margin-right: -16px;
  margin-bottom: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #ECF8FA 0%, #E8E4F8 35%, #F4E8F0 60%, #ECF8FA 100%);
}

/* Terminal – light mode */
.mcp-terminal {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.06),
    0 1px 3px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.6);
  width: 78%;
}

.mcp-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.mcp-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.mcp-dot.red { background: #FF5F57; }
.mcp-dot.yellow { background: #FEBC2E; }
.mcp-dot.green { background: #28C840; }

.mcp-terminal-title {
  margin-left: auto;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  color: rgba(0,0,0,0.3);
}

.mcp-terminal-body {
  padding: 20px 24px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre;
  overflow-x: auto;
  background: rgba(255,255,255,0.3);
}

/* Terminal text colors */
.mcp-prompt { color: #3C428A; }
.mcp-output { color: #A6AEC4; }
.mcp-white { color: #6F9FCE; }
.mcp-cyan { color: #53BA92; }
.mcp-pink { color: #D86F87; }
.mcp-yellow { color: #CEAC71; }
.mcp-dim { color: #B48BF4; }

.mcp-cursor {
  color: #111;
  animation: mcpBlink 1s step-end infinite;
}

@keyframes mcpBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Typing animation */
.mcp-terminal-body .mcp-line {
  opacity: 0;
  transform: translateY(4px);
  animation: mcpTypeIn 0.35s ease forwards;
}

@keyframes mcpTypeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive: MCP ── */
@media (max-width: 768px) {
  .mcp-section { padding: 60px 20px; }
  .mcp-inner { grid-template-columns: 1fr; gap: 32px; }
  .mcp-terminal-wrap { order: -1; min-height: 320px; margin-right: 0; margin-bottom: 0; border-radius: 20px; }
  .mcp-text-content { min-height: auto; padding: 0; }
  .mcp-terminal { width: 72%; }
  .mcp-terminal-body { font-size: 9px; padding: 14px 14px 16px; line-height: 1.6; }
  .mcp-terminal-bar { padding: 10px 14px; }
  .mcp-dot { width: 9px; height: 9px; }
  .mcp-terminal-title { font-size: 10px; }
  .mcp-btn { margin-top: 18px; padding: 16px 12px; font-size: 11px; border-radius: 6px; }
}

/* ── Footer ── */
.site-footer {
  background: #fff;
  padding: 60px 48px 80px;
  border-top: 1px solid #EAEDF0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
  margin-bottom: 0;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 24px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  color: #888;
  padding-top: 4px;
  white-space: nowrap;
}

.footer-tagline span {
  color: #0EA5E9;
  font-weight: 600;
}

.footer-info p {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 13px;
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links li a:hover { color: #111; }

.footer-copyright {
  font-size: 13px;
  color: #AAA;
  margin-top: auto;
}

/* ── Responsive: Footer ── */
@media (max-width: 768px) {
  .site-footer { padding: 40px 20px 36px; }
  .footer-main { grid-template-columns: 1fr; column-gap: 0; row-gap: 32px; }
  .footer-brand { flex-direction: column; gap: 12px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 32px; }
}

