/* ============================================================
   GraphLinq Chain — Landing Page Stylesheet
   Brand palette: bg #080810 | fg #f8f8f8 | accent #a068f8
   Font: Gilroy (served from Webflow CDN)
   ============================================================ */

@font-face {
  font-family: 'Gilroy';
  src: url('https://cdn.prod.website-files.com/65de56ee9ed70741bfc4efc6/65de586d877b8e1a1b174ac0_Gilroy-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('https://cdn.prod.website-files.com/65de56ee9ed70741bfc4efc6/65de586d919454aa302d049e_Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS RESET & TOKENS ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080810;
  --bg2: #0f0f1a;
  --fg: #f8f8f8;
  --fg-muted: #8878a8;
  --accent: #a068f8;
  --accent-light: #c4a0ff;
  --surface: #13131f;
  --surface2: #1a1a2e;
  --border: rgba(160, 104, 248, 0.2);
  --border-light: rgba(248, 248, 248, 0.08);
  --font: 'Gilroy', 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --container: 1200px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links li a:hover {
  color: var(--fg);
  background: var(--border-light);
}

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--fg) !important;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 8px;
}

.nav-links .nav-cta:hover {
  background: var(--accent-light) !important;
  color: #080810 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #080810;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(160, 104, 248, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--fg);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(160, 104, 248, 0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: var(--radius);
  transition: color var(--transition);
  white-space: nowrap;
}

.btn-ghost:hover { color: var(--fg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition), color var(--transition);
}

.link-arrow:hover {
  gap: 10px;
  color: var(--accent-light);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(160, 104, 248, 0.12);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 700px;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 16, 0.4) 0%,
    rgba(8, 8, 16, 0.6) 50%,
    rgba(8, 8, 16, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(160, 104, 248, 0.12);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeDown 0.7s ease forwards;
}

.hero-h1 {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(248, 248, 248, 0.75);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: rgba(19, 19, 31, 0.6);
  backdrop-filter: blur(12px);
  padding: 20px 40px;
  gap: 0;
  animation: fadeUp 0.7s ease 0.4s both;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
}

.stat-num {
  font-size: 28px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}

.hero-product-img {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-light);
  animation: fadeUp 0.8s ease 0.5s both;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #6040c8 100%);
  padding: 64px 0;
}

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

.cta-band-text h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.cta-band-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cta-band-actions .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band-actions .btn-primary:hover {
  background: var(--fg);
  color: #6040c8;
}

.cta-band-actions .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
}

.cta-band-actions .btn-ghost:hover {
  color: #fff;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 96px 0;
  background: var(--bg);
}

.features .section-h2 {
  max-width: 800px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(160, 104, 248, 0.12);
}

.feature-icon-wrap {
  width: 100%;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================================
   PRODUCT SHOWCASE
   ============================================================ */
.product-showcase,
.nocode-ai,
.hub-section {
  padding: 96px 0;
  background: var(--bg2);
}

.nocode-ai {
  background: var(--bg);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-inner.reverse {
  direction: rtl;
}

.showcase-inner.reverse > * {
  direction: ltr;
}

.showcase-text .section-h2 {
  max-width: 100%;
}

.showcase-text p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-muted);
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.showcase-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.showcase-visual {
  position: relative;
}

.showcase-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-light);
}

.showcase-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}

.mini-card:hover {
  border-color: var(--border);
}

.mini-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   TUTORIALS
   ============================================================ */
.tutorials {
  padding: 96px 0;
  background: var(--bg2);
}

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

.tutorial-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(160, 104, 248, 0.12);
}

.tutorial-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface2);
}

.tutorial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tutorial-card:hover .tutorial-thumb img {
  transform: scale(1.04);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
}

.tutorial-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.tutorial-title {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  line-height: 1.4;
  transition: color var(--transition);
}

.tutorial-card:hover .tutorial-title {
  color: var(--fg);
}

/* ============================================================
   LOGIC BLOCKS
   ============================================================ */
.logic-blocks {
  padding: 96px 0;
  background: var(--bg);
}

.blocks-visual {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.blocks-img {
  flex: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.blocks-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 220px;
  flex-shrink: 0;
}

.blocks-side-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.blocks-cta {
  text-align: center;
}

/* ============================================================
   INTEGRATIONS / TRUST
   ============================================================ */
.integrations {
  padding: 96px 0;
  background: var(--bg2);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--border-light);
  overflow: hidden;
  margin-bottom: 56px;
}

.trust-stat {
  background: var(--surface);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: background var(--transition);
}

.trust-stat:hover {
  background: var(--surface2);
}

.trust-num {
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

.chain-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.chain-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
}

.chain-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--surface);
  padding: 8px;
}

.chain-logo-wide {
  width: 160px;
  height: 48px;
}

.explorer-cta {
  text-align: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--surface);
}

.explorer-cta p {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.explorer-cta .btn-secondary,
.explorer-cta .btn-ghost {
  margin: 0 8px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

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

.testimonials-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}

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

.testimonials .section-h2 {
  text-align: center;
  margin: 0 auto 56px;
}

.testimonials .section-label {
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

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

.testimonial-card {
  background: rgba(19, 19, 31, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  margin-bottom: 20px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-size: 13px;
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: var(--bg2);
}

.cta-section-inner {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  background: radial-gradient(ellipse at center top, rgba(160, 104, 248, 0.08) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.cta-section-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-section-inner .section-label {
  display: inline-block;
}

.cta-section-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section-inner p {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-section-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.network-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-top: 16px;
}

.net-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.net-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.net-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  font-family: 'Courier New', monospace;
}

/* ============================================================
   SOCIAL SECTION
   ============================================================ */
.social-section {
  padding: 80px 0;
  background: var(--bg);
  text-align: center;
}

.social-section .section-h2 {
  margin: 0 auto 16px;
  text-align: center;
}

.social-section .section-sub {
  margin: 0 auto 48px;
  text-align: center;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

.social-link:hover {
  color: var(--fg);
  border-color: var(--border);
  background: var(--surface2);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050508;
  border-top: 1px solid var(--border-light);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
}

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

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-brand .footer-logo span {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 260px;
}

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

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 13px;
  color: var(--fg-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--fg);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--fg-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--fg-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--fg);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

  .showcase-inner.reverse {
    direction: ltr;
  }

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

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

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

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

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

  .blocks-visual {
    flex-direction: column;
  }

  .blocks-side {
    flex-direction: row;
    width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 8, 16, 0.98);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-h) + 40px) 0 60px;
  }

  .hero-stats {
    padding: 16px 20px;
    gap: 0;
  }

  .stat-item {
    padding: 0 16px;
  }

  .stat-num {
    font-size: 20px;
  }

  .stat-divider {
    height: 30px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .trust-stat {
    padding: 20px 16px;
  }

  .trust-num {
    font-size: 28px;
  }

  .cta-section-inner {
    padding: 40px 24px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-band-actions {
    justify-content: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .blocks-visual {
    flex-direction: column;
  }

  .blocks-side {
    flex-direction: row;
    width: 100%;
  }

  .chain-logos {
    gap: 20px;
  }

  .explorer-cta .btn-secondary,
  .explorer-cta .btn-ghost {
    margin: 4px 4px;
  }

  .network-info {
    gap: 16px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 12px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .cta-section-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section-btns .btn-primary,
  .cta-section-btns .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  /* Prevent horizontal scroll */
  .blocks-visual {
    overflow: hidden;
  }

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