/* ============================================================
   E-COM — Oman E-Commerce Summit 2026 · v2 light
   Palette from the E-COM logo gradient:
   teal #4FC9CF → cyan-blue #2E7FB8 → royal #1F4E9C → navy #16294F
   Canvas: light (beta.comex-global.com energy), XXL scale, cards.
   ============================================================ */

:root {
  --paper: #F5F8FA;
  --white: #FFFFFF;
  --ink: #0B1B33;
  --muted: #5A7089;
  --teal: #38B6BD;
  --teal-bright: #4FC9CF;
  --cyan: #2E7FB8;
  --royal: #1F4E9C;
  --navy: #16294F;
  --line: rgba(11, 27, 51, 0.08);
  --card-shadow: 0 12px 44px rgba(15, 40, 80, 0.09);
  --card-shadow-hover: 0 22px 64px rgba(15, 40, 80, 0.15);
  --grad: linear-gradient(105deg, var(--teal) 0%, var(--cyan) 48%, var(--royal) 100%);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
  --radius: 28px;
}

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

html { scroll-behavior: auto; }

body {
  background:
    linear-gradient(rgba(31, 78, 156, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 78, 156, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--royal); color: #fff; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { display: flex; flex-direction: column; gap: 8px; }
.preloader-dot {
  width: 9px; height: 9px; border-radius: 3px;
  background: var(--teal);
  animation: pl-pulse 0.9s ease-in-out infinite;
}
.preloader-dot:nth-child(2) { animation-delay: 0.15s; background: var(--cyan); }
.preloader-dot:nth-child(3) { animation-delay: 0.3s; background: var(--royal); }
@keyframes pl-pulse { 0%, 100% { transform: scaleY(1); opacity: 0.4; } 50% { transform: scaleY(2.2); opacity: 1; } }

/* ---------- Canvas & glows ---------- */
#scene {
  position: fixed; inset: 0;
  width: 100%; height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 8% -4%, rgba(79, 201, 207, 0.16), transparent 65%),
    radial-gradient(640px 480px at 96% 12%, rgba(31, 78, 156, 0.13), transparent 65%),
    radial-gradient(700px 560px at 50% 108%, rgba(46, 127, 184, 0.10), transparent 70%);
}

main { position: relative; z-index: 2; }

/* ---------- Nav (full-width glass bar) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  background: rgba(245, 248, 250, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 27, 51, 0.07);
  transition: box-shadow 0.4s;
}
.nav.scrolled { box-shadow: 0 10px 34px rgba(15, 40, 80, 0.09); }
.nav-pill {
  display: flex; align-items: center; gap: 26px;
  padding: 16px 44px;
  max-width: var(--container); width: 100%;
  transition: padding 0.4s var(--ease-out);
}
.nav.scrolled .nav-pill { padding-top: 10px; padding-bottom: 10px; }
.nav-logo { flex-shrink: 0; display: flex; transition: transform 0.35s var(--ease-out); }
.nav-logo:hover { transform: scale(1.05); }
.nav-logo img { height: 58px; width: auto; transition: height 0.35s var(--ease-out); }
.nav.scrolled .nav-logo img { height: 48px; }
.nav-badge {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
  border-left: 2px solid rgba(31, 78, 156, 0.18);
  padding: 4px 0 4px 18px;
  white-space: nowrap;
}
.nb-strong { color: var(--royal); font-weight: 500; }
.nb-sep { width: 4px; height: 4px; border-radius: 1px; background: var(--teal); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 15.5px; font-weight: 700;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-burger { display: none; flex-direction: column; gap: 6px; padding: 10px; z-index: 110; margin-left: auto; }
.nav-burger span { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(245, 248, 250, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); }
.mobile-menu .mm-cta {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-body); font-weight: 800; font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 16px 28px;
  border-radius: 16px;
  position: relative;
  transition: box-shadow 0.35s, transform 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
  cursor: pointer;
  will-change: transform;
  white-space: nowrap;
}
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out);
}
.btn-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-solid {
  background: linear-gradient(105deg, var(--teal) 0%, var(--cyan) 55%, var(--royal) 115%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 78, 156, 0.32);
  overflow: hidden;
}
.btn-solid::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -85%;
  width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease-out);
}
.btn-solid:hover { box-shadow: 0 16px 44px rgba(31, 78, 156, 0.42); }
.btn-solid:hover::after { left: 135%; }
.btn-ghost {
  background: var(--white);
  border: 1.5px solid rgba(11, 27, 51, 0.14);
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(15, 40, 80, 0.08);
}
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-white {
  background: #fff; color: var(--royal);
  box-shadow: 0 12px 36px rgba(4, 14, 32, 0.35);
}
.btn-white:hover { box-shadow: 0 18px 48px rgba(4, 14, 32, 0.45); }
.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 20px 34px; font-size: 16px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 150px 24px 110px;
}
.hero-inner { text-align: center; max-width: 1200px; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  height: clamp(120px, 17vw, 190px); width: auto;
  margin-bottom: 44px;
  filter: drop-shadow(0 18px 44px rgba(31, 78, 156, 0.22));
  animation: logo-float 6.5s ease-in-out 2.2s infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-pills { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 800; font-size: 14.5px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.75); color: var(--ink);
  border: 1px solid rgba(31, 78, 156, 0.16);
  box-shadow: 0 8px 26px rgba(15, 40, 80, 0.07);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.pill:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15, 40, 80, 0.12); }
.pill-solid { background: var(--grad); color: #fff; border: none; box-shadow: 0 10px 30px rgba(31, 78, 156, 0.3); }
.pill-ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.ht-row { display: block; overflow: hidden; }
.ht-row .ht-inner { display: block; }
.ht-accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.55; font-weight: 500;
  color: var(--muted);
  max-width: 780px;
  margin-top: 34px;
}
.hero-ctas { display: flex; gap: 18px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.hero-presented {
  margin-top: 42px;
  font-family: var(--font-mono); font-size: 13.5px;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted);
}
.hero-presented strong { color: var(--royal); font-weight: 500; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hs-line { width: 2px; height: 52px; border-radius: 2px; background: rgba(11, 27, 51, 0.12); position: relative; overflow: hidden; }
.hs-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--grad);
  animation: hs-drop 2s var(--ease-out) infinite;
}
@keyframes hs-drop { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.hs-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(11, 27, 51, 0.07);
  border-bottom: 1px solid rgba(11, 27, 51, 0.07);
  overflow: hidden;
  padding: 22px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ticker-track i {
  width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal), var(--royal));
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */
.section { position: relative; z-index: 2; padding: 150px 0; }
.section-tint { background: linear-gradient(to bottom, transparent, rgba(31, 78, 156, 0.045), transparent); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 44px; }

.sec-head { margin-bottom: 76px; position: relative; }
.sec-head-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: 13.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 26px;
  width: fit-content;
}
.sec-eyebrow::before {
  content: '';
  width: 9px; height: 9px; border-radius: 2.5px;
  background: linear-gradient(135deg, var(--teal), var(--royal));
  transform: rotate(45deg);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sec-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sec-sub { color: var(--muted); margin-top: 24px; max-width: 720px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 500; }

/* ---------- Card base ---------- */
.stat-card, .market-card, .icon-card, .theme-card, .format-card, .eco-card, .aud-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.35s, border-color 0.35s;
  will-change: transform;
}
.stat-card:hover, .market-card:hover, .icon-card:hover, .theme-card:hover,
.format-card:hover, .eco-card:hover, .aud-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(31, 78, 156, 0.18);
}

/* icon medallion shared */
.stat-ico, .mc-ico, .ic-ico, .tc-ico, .fc-ico, .ec-ico, .ac-ico {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(79, 201, 207, 0.14), rgba(31, 78, 156, 0.12));
  flex-shrink: 0;
  transition: background 0.35s, transform 0.45s var(--ease-out), box-shadow 0.35s;
}
.stat-ico svg, .mc-ico svg, .ic-ico svg, .tc-ico svg, .fc-ico svg, .ec-ico svg, .ac-ico svg {
  fill: none; stroke: url(#icon-grad); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s;
}
/* medallions fill with the brand gradient when their card is hovered */
.stat-card:hover .stat-ico, .market-card:hover .mc-ico, .icon-card:hover .ic-ico,
.theme-card:hover .tc-ico, .format-card:hover .fc-ico, .eco-card:hover .ec-ico,
.aud-card:hover .ac-ico {
  background: linear-gradient(135deg, var(--teal), var(--royal));
  transform: scale(1.09) rotate(-5deg);
  box-shadow: 0 10px 26px rgba(31, 78, 156, 0.3);
}
.stat-card:hover .stat-ico svg, .market-card:hover .mc-ico svg, .icon-card:hover .ic-ico svg,
.theme-card:hover .tc-ico svg, .format-card:hover .fc-ico svg, .eco-card:hover .ec-ico svg,
.aud-card:hover .ac-ico svg { stroke: #fff; }

/* ---------- Stats (About) ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stat-card { padding: 48px 44px; text-align: left; }
.stat-ico { width: 68px; height: 68px; margin-bottom: 30px; }
.stat-ico svg { width: 32px; height: 32px; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(58px, 5.6vw, 84px); font-weight: 800;
  line-height: 1; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 17px; font-weight: 700; color: var(--muted); }

/* ---------- Market ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.market-card { padding: 52px 46px; display: flex; flex-direction: column; align-items: flex-start; }
.market-card-hero { background: linear-gradient(140deg, var(--navy), var(--royal) 70%, var(--cyan) 130%); border: none; }
.market-card-hero .mc-label { color: rgba(255, 255, 255, 0.75); }
.market-card-hero .mc-value { color: #fff; -webkit-text-fill-color: currentcolor; background: none; }
.market-card-hero .mc-ico { background: rgba(255, 255, 255, 0.14); }
.market-card-hero .mc-ico svg { stroke: #fff; }
.mc-ico { width: 68px; height: 68px; margin-bottom: 34px; }
.mc-ico svg { width: 32px; height: 32px; }
.mc-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 5.8vw, 88px); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 16px;
}
.market-note {
  margin: 48px auto 0; color: var(--muted); max-width: 720px; text-align: center;
  font-size: 19px; font-weight: 500;
}
.mc-label { font-size: 16.5px; font-weight: 700; color: var(--muted); }
.mn-src { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; opacity: 0.65; }

/* ---------- Objectives (icon cards) ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.icon-card { padding: 46px 42px; }
.icon-card:nth-child(4) { grid-column: span 1; }
.ic-ico { width: 68px; height: 68px; margin-bottom: 28px; }
.ic-ico svg { width: 32px; height: 32px; }
.icon-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 14px; color: var(--ink);
}
.icon-card p { color: var(--muted); font-size: 17px; font-weight: 500; }

/* ---------- Themes (big icon cards) ---------- */
.themes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.theme-card { padding: 50px 46px; }
.theme-card:last-child { grid-column: 1 / -1; }
.tc-ico { width: 76px; height: 76px; margin-bottom: 30px; }
.tc-ico svg { width: 36px; height: 36px; }
.theme-card h3 {
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 26px; color: var(--ink);
}
.theme-card ul { display: grid; gap: 16px; }
.theme-card:last-child ul { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.theme-card li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--muted); font-size: 17px; font-weight: 600; line-height: 1.5;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.theme-card li:hover { transform: translateX(6px); color: var(--ink); }
.theme-card li svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(79, 201, 207, 0.12); border-radius: 8px; padding: 3px;
}

/* ---------- Format ---------- */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.format-card { padding: 50px 46px; }
.fc-ico { width: 76px; height: 76px; margin-bottom: 30px; }
.fc-ico svg { width: 36px; height: 36px; }
.format-card h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 24px; color: var(--ink);
}
.format-card ul { display: grid; gap: 16px; }
.format-card li {
  display: flex; gap: 14px; align-items: flex-start;
  color: var(--muted); font-size: 17px; font-weight: 600; line-height: 1.5;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.format-card li:hover { transform: translateX(6px); color: var(--ink); }
.format-card li svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(79, 201, 207, 0.12); border-radius: 8px; padding: 3px;
}
.format-card p { color: var(--muted); font-size: 17px; font-weight: 600; line-height: 1.6; }

/* ---------- Ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 110px; }
.eco-card { padding: 46px 42px; }
.ec-ico { width: 68px; height: 68px; margin-bottom: 26px; }
.ec-ico svg { width: 32px; height: 32px; }
.eco-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 22px; color: var(--ink);
}
.eg-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), background 0.25s, color 0.25s;
}
.chip:hover {
  border-color: var(--royal);
  background: rgba(31, 78, 156, 0.06);
  color: var(--royal);
  transform: translateY(-3px);
}
.aud-head { margin-top: 0; margin-bottom: 56px; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud-card {
  padding: 34px 32px;
  display: flex; align-items: center; gap: 20px;
}
.ac-ico { width: 58px; height: 58px; border-radius: 17px; }
.ac-ico svg { width: 27px; height: 27px; }
.aud-card p { color: var(--ink); font-size: 17.5px; font-weight: 700; line-height: 1.4; }

/* ---------- CTA ---------- */
.section-cta { padding: 150px 0 170px; }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 55%, var(--cyan) 105%);
  border-radius: 44px;
  padding: clamp(70px, 8vw, 120px) clamp(30px, 6vw, 100px);
  text-align: center;
  box-shadow: 0 34px 90px rgba(22, 41, 79, 0.4);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(480px 320px at 12% 0%, rgba(79, 201, 207, 0.25), transparent 65%),
    radial-gradient(520px 380px at 92% 100%, rgba(79, 201, 207, 0.18), transparent 65%);
}
.cta-card > * { position: relative; }
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: 13.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 30px;
}
.cta-eyebrow::before {
  content: '';
  width: 9px; height: 9px; border-radius: 2.5px;
  background: var(--teal-bright);
  transform: rotate(45deg);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: #fff;
  max-width: 1020px; margin: 0 auto;
}
.cta-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal-bright), #8FE5E9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-sub { color: rgba(255, 255, 255, 0.75); margin-top: 26px; font-size: 20px; font-weight: 500; }
.cta-actions { display: flex; gap: 18px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.cta-contact {
  margin-top: 44px;
  font-family: var(--font-mono); font-size: 13.5px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
}
.cta-contact a { color: var(--teal-bright); transition: color 0.25s; }
.cta-contact a:hover { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 80px 0 56px;
  background: var(--white);
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center; }
.f-logo { height: 92px; width: auto; }
.f-meta { text-align: right; color: var(--muted); font-size: 16.5px; font-weight: 500; display: grid; gap: 8px; }
.f-meta strong { color: var(--ink); font-weight: 800; }
.f-meta a { color: var(--royal); font-weight: 700; }
.f-meta a:hover { text-decoration: underline; }
.f-legal { grid-column: 1 / -1; padding-top: 38px; border-top: 1px solid var(--line); }
.f-legal p { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); opacity: 0.75; }

/* ---------- Sticky bottom bar ---------- */
.sticky-bar {
  position: fixed; bottom: 22px; left: 50%;
  transform: translate(-50%, 140%);
  z-index: 95;
  display: flex; align-items: center; gap: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(31, 78, 156, 0.14);
  border-radius: 22px;
  padding: 10px 10px 10px 24px;
  box-shadow: 0 20px 60px rgba(15, 40, 80, 0.22);
  transition: transform 0.6s var(--ease-out);
}
.sticky-bar.show { transform: translate(-50%, 0); }
.sb-text { display: flex; flex-direction: column; line-height: 1.25; }
.sb-text strong { color: var(--ink); font-size: 15.5px; font-weight: 800; letter-spacing: 0.02em; }
.sb-text span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sb-btn { padding: 13px 20px; font-size: 13.5px; border-radius: 14px; }
.sb-btn .btn-arrow svg { width: 15px; height: 15px; }
.sb-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.sb-close:hover { color: var(--ink); background: rgba(11, 27, 51, 0.06); }
.sb-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ---------- Reveal defaults (JS animates) ---------- */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; }
.split .word > span { display: inline-block; transform: translateY(110%); }
/* background-clip:text doesn't paint through transformed descendants —
   re-apply the gradient on the innermost spans inside em */
.sec-title em .word > span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-title em .word > span {
  background: linear-gradient(100deg, var(--teal-bright), #8FE5E9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-badge { display: none; }
  .obj-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-card:last-child ul { grid-template-columns: 1fr; gap: 16px; }
  .format-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-pill { padding: 12px 24px; }
  .nav-logo img { height: 48px; }
  .nav.scrolled .nav-logo img { height: 44px; }
  .container { padding: 0 24px; }
  .section { padding: 100px 0; }
  .sec-head { margin-bottom: 52px; }
  .stats-row, .market-grid, .themes-grid, .eco-grid, .obj-grid { grid-template-columns: 1fr; }
  .eco-grid { margin-bottom: 80px; }
  .cta-card { border-radius: 32px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .f-meta { text-align: center; }
  .sticky-bar { width: calc(100% - 32px); justify-content: space-between; padding-left: 20px; }
  .sb-text span { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .aud-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .hero { padding-top: 130px; }
  .hero-logo { margin-bottom: 34px; }
  .theme-card, .format-card, .icon-card, .eco-card { padding: 38px 30px; }
  .stat-card, .market-card { padding: 40px 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #scene { display: none; }
  .split .word > span { transform: none; }
  .sticky-bar { transition: none; }
}
