/* ============================================================
   URBICODE – Redesigned Landing Page
   Light + Dark alternating sections, English, modern
   Brand: #086AD8 / #005CB4 Blue + clean whites + rich darks
   ============================================================ */

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

:root {
  /* Brand */
  --blue: #086AD8;
  --blue-deep: #005CB4;
  --blue-bright: #1A8FFF;
  --blue-light: #EBF4FF;
  --blue-glow: rgba(8, 106, 216, 0.3);

  /* Light palette */
  --white: #FFFFFF;
  --off-white: #F8FAFF;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --dark-text: #0F172A;

  /* Dark palette */
  --dark-900: #080810;
  --dark-800: #0D0D1A;
  --dark-700: #12131F;
  --dark-card: rgba(255, 255, 255, 0.04);
  --dark-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark-text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION BASES ---- */
.section-light {
  background: var(--white);
  padding: 80px 0;
}

.section-light:nth-of-type(even) {
  background: var(--off-white);
}

.section-dark {
  background: var(--dark-800);
  padding: 80px 0;
}

/* ---- TYPOGRAPHY HELPERS ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-bright) 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blue-text {
  color: var(--blue);
}

.dark-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.dark-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.light-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ---- SECTION TAGS ---- */
.section-tag-blue {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(8, 106, 216, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-tag-glow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(8, 106, 216, 0.12);
  border: 1px solid rgba(8, 106, 216, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 106, 216, 0.4);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue);
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled,
.navbar.navbar-static-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .nav-links a,
.navbar.navbar-static-scrolled .nav-links a {
  color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover,
.navbar.navbar-static-scrolled .nav-links a:hover {
  color: var(--blue);
}

.navbar.scrolled .logo-text,
.navbar.navbar-static-scrolled .logo-text {
  color: var(--dark-text);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: opacity var(--transition);
}

.logo-dark-img {
  display: none;
}

.navbar.scrolled .logo-white-img,
.navbar.navbar-static-scrolled .logo-white-img {
  display: none;
}

.navbar.scrolled .logo-dark-img,
.navbar.navbar-static-scrolled .logo-dark-img {
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav-cta {
  margin-left: 8px;
  padding: 10px 24px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav-cta:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8, 106, 216, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--dark-text);
}

/* ============================================================
   HERO (dark)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 24px 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.2);
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 8, 20, 0.75) 0%,
      rgba(5, 30, 80, 0.4) 50%,
      rgba(8, 8, 20, 0.85) 100%);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(8, 106, 216, 0.12);
  border: 1px solid rgba(8, 106, 216, 0.35);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 6px var(--blue-bright);
  }

  50% {
    box-shadow: 0 0 18px var(--blue-bright);
  }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 7.5vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeUp 0.9s 0.45s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeUp 0.9s 0.6s ease both;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px 36px;
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  padding-right: 0;
}

.stat-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-align: center;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  animation: fadeUp 1s 1s ease both;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(8, 106, 216, 0.8), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

/* ============================================================
   TRUSTED BY (light, slim bar)
   ============================================================ */
.trusted-section {
  background: var(--white);
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.9;
}

.trust-item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-600);
  letter-spacing: -0.01em;
}

.trust-item svg {
  height: 28px;
  width: auto;
  display: block;
}

/* ============================================================
   SERVICES BENTO GRID (2026 premium layout)
   ============================================================ */
.services-section {
  padding: 60px 0 80px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.services-section::before,
.services-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
}

.services-section::before {
  width: 500px;
  height: 500px;
  background: rgba(8, 106, 216, 0.15);
  /* blue glow */
  top: -100px;
  left: -150px;
}

.services-section::after {
  width: 600px;
  height: 600px;
  background: rgba(0, 191, 255, 0.12);
  /* cyan glow */
  bottom: -200px;
  right: -200px;
}

.services-section .container {
  position: relative;
  z-index: 10;
}

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

.bento-card {
  background: rgba(4, 9, 20, 0.95);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 106, 216, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.bento-card:hover {
  border-color: rgba(8, 106, 216, 0.3);
  box-shadow: 0 16px 48px rgba(8, 106, 216, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.bento-icon svg {
  width: 22px;
  height: 22px;
  stroke: #4da3ff;
}

.bento-card:hover .bento-icon {
  background: var(--blue);
  border-color: var(--blue);
}

.bento-card:hover .bento-icon svg {
  stroke: #fff;
}

.bento-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: #4da3ff;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}

.bento-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.bento-medium h3,
.bento-small h3 {
  font-size: 1.1rem;
}

.bento-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.bento-stack {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #82baff;
  opacity: 1;
  letter-spacing: 0.04em;
}

.bento-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--blue);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all var(--transition);
}

.bento-card:hover .bento-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive bento */
@media (max-width: 1024px) {
  .services-bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-bento {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   AI SECTION (dark, full-width card grid — no image)
   ============================================================ */
.ai-section {
  position: relative;
}

.ai-section .container {
  position: relative;
  z-index: 1;
}

.ai-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.ai-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.ai-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.ai-card:hover {
  border-color: rgba(8, 106, 216, 0.3);
  background: rgba(8, 106, 216, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.ai-card:hover::after {
  transform: scaleX(1);
}

.ai-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(8, 106, 216, 0.3);
  background: rgba(8, 106, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.ai-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-bright);
}

.ai-card:hover .ai-card-icon {
  background: var(--blue);
  border-color: var(--blue);
}

.ai-card:hover .ai-card-icon svg {
  stroke: #fff;
}

.ai-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.ai-card p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.ai-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ai-cta-note {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

@media (max-width: 900px) {
  .ai-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .ai-cards-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SPLIT GRID — Web3 & About sections
   ============================================================ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.web3-reverse {
  direction: rtl;
}

.web3-reverse>* {
  direction: ltr;
}

.split-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-text);
  margin-bottom: 16px;
}

/* Web3 split image */
.visual-blue-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(8, 106, 216, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.split-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

.visual-blue-wrap .split-img {
  filter: brightness(0.9) saturate(1.1);
}

@media (max-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .web3-reverse {
    direction: ltr;
  }
}

/* ============================================================
   WEB3 VISUAL BLOCK (premium CSS blockchain panel)
   ============================================================ */
.web3-visual-block {
  position: relative;
  background: linear-gradient(145deg, #070d1f 0%, #0a1428 55%, #060c1a 100%);
  border-radius: 24px;
  padding: 32px;
  min-height: 460px;
  border: 1px solid rgba(8, 106, 216, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(8, 106, 216, 0.08) inset;
}

/* Subtle dot grid background */
.web3-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(8, 106, 216, 0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Ambient glow orb */
.web3-glow-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 106, 216, 0.18) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  pointer-events: none;
  animation: orbPulse 4s ease infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Chain feed container */
.chain-feed {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.chain-feed-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Feed header */
.chain-feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.chain-status-dot {
  width: 8px;
  height: 8px;
  background: #22d3a0;
  border-radius: 50%;
  animation: pulse-green 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 160, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 211, 160, 0);
  }
}

.chain-feed-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  flex: 1;
}

.chain-feed-live {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #22d3a0;
  background: rgba(34, 211, 160, 0.1);
  border: 1px solid rgba(34, 211, 160, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.1em;
}

/* Block cards */
.chain-block-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 18px;
  transition: var(--transition);
}

.chain-block--glow {
  border-color: rgba(8, 106, 216, 0.35);
  background: rgba(8, 106, 216, 0.07);
  box-shadow: 0 0 24px rgba(8, 106, 216, 0.12);
}

.chain-block-card:hover {
  border-color: rgba(8, 106, 216, 0.4);
  background: rgba(8, 106, 216, 0.1);
}

.cb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
}

.cb-key {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

.cb-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.cb-val.mono {
  color: var(--blue-bright);
}

.cb-val.accent {
  color: #22d3a0;
}

/* Chain connector line between blocks */
.chain-connector {
  width: 2px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(8, 106, 216, 0.5), rgba(8, 106, 216, 0.1));
  margin: 0 auto;
}

/* Network badges row */
.chain-networks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.chain-net-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.chain-net-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue-bright);
}

.chain-net-badge:hover {
  border-color: rgba(8, 106, 216, 0.4);
  color: #fff;
  background: rgba(8, 106, 216, 0.1);
}

/* "Smart contract deployed" floating badge */
.contract-deployed-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 160, 0.08);
  border: 1px solid rgba(34, 211, 160, 0.2);
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: #22d3a0;
  align-self: flex-start;
  animation: contractPulse 3s ease infinite;
}

.contract-deployed-badge svg {
  width: 14px;
  height: 14px;
  stroke: #22d3a0;
}

.contract-dot {
  width: 6px;
  height: 6px;
  background: #22d3a0;
  border-radius: 50%;
}

@keyframes contractPulse {

  0%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 1;
  }
}

/* ---- Web3 Pills ---- */
.web3-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.pill-blue {
  padding: 7px 16px;
  background: var(--blue-light);
  border: 1px solid rgba(8, 106, 216, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.pill-blue:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ============================================================
   STATS BAND (blue gradient)
   ============================================================ */
.stats-band {
  background: linear-gradient(135deg, #005CB4 0%, #086AD8 50%, #1A8FFF 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.big-stat-white {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.big-plus-white {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.stat-desc-white {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   PROCESS (light)
   ============================================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step-num-circle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(8, 106, 216, 0.2);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.step-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid rgba(8, 106, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}

.step-icon-circle svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

.process-step:hover .step-icon-circle {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 8px rgba(8, 106, 216, 0.1);
}

.process-step:hover .step-icon-circle svg {
  stroke: #fff;
}

.process-connector {
  flex-shrink: 0;
  height: 2px;
  width: 48px;
  background: linear-gradient(90deg, var(--gray-200), var(--blue-light));
  border-radius: 2px;
  margin-top: -60px;
  /* align with icon center */
  align-self: center;
  position: relative;
  top: -20px;
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS (dark)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--blue);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 22px;
}

.testimonial-card:hover {
  border-color: rgba(8, 106, 216, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.stars {
  color: var(--blue-bright);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card>p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
}

.client-info strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
}

.client-info span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   ABOUT (light)
   ============================================================ */
.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  filter: brightness(0.92) saturate(1.05);
}

.aws-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.aws-icon-svg {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aws-icon-svg svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
}

.aws-badge strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark-text);
}

.aws-badge span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.highlight-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   CTA BAND (blue)
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--dark-800) 0%, #0D1A3A 50%, var(--dark-800) 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(8, 106, 216, 0.2);
  border-bottom: 1px solid rgba(8, 106, 216, 0.2);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.cta-band-text h2 strong {
  font-weight: 700;
  color: var(--blue-bright);
}

.cta-band-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   CONTACT (light)
   ============================================================ */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: flex-start;
}

.contact-info-col h2 {
  margin-bottom: 14px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-item-light {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-item-light:hover {
  color: var(--blue);
}

.contact-icon-circle {
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-circle svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn-light {
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn-light svg {
  width: 17px;
  height: 17px;
}

.social-btn-light:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(8, 106, 216, 0.3);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--dark-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select option {
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 106, 216, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ============================================================
   FOOTER (dark)
   ============================================================ */
.footer {
  background: #080810;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 270px;
}

.footer-logo .logo-text {
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-tag {
  color: rgba(8, 106, 216, 0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .web3-reverse {
    direction: ltr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box:nth-child(2)::after {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .aws-badge {
    position: static;
    margin-top: 20px;
    display: inline-flex;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

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

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    padding: 20px 24px;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat {
    padding: 0;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .testimonials-grid {
    max-width: 100%;
  }

  /* Navbar mobile */
  .nav-links,
  .btn-nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open a {
    color: var(--gray-600);
    font-size: 1rem;
  }

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

  .section-light,
  .section-dark {
    padding: 72px 0;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-box:nth-child(2)::after {
    display: none;
  }

  .stat-box:nth-child(4)::after {
    display: none;
  }

  .trusted-logos {
    gap: 24px;
  }
}


/* Language Switcher Button */
.lang-switch-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar.scrolled .lang-switch-btn,
.navbar-static-scrolled .lang-switch-btn {
  color: var(--dark-text);
  border-color: rgba(0, 0, 0, 0.2);
  background: #fff;
}

.navbar.scrolled .lang-switch-btn:hover,
.navbar-static-scrolled .lang-switch-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.3);
}