:root {
  --bg: #07060a;
  --bg-2: #0b1220;
  --panel: #0f1216;
  --card: #0b0b0b;
  --accent: #d4af37;
  --accent-2: #b98a2f;
  --gold-bright: #f2c94c;
  --tech: #3dd3c9;
  --muted: #9aa6b2;
  --white: #e6eef8;
  --ink: #07060a;
  --glass: rgba(255, 255, 255, 0.03);
  --line: rgba(212, 175, 55, 0.16);
  --line-soft: rgba(255, 255, 255, 0.06);
  --header-bg: rgba(7, 6, 10, 0.72);
  --header-bg-scrolled: rgba(7, 6, 10, 0.92);
  --header-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --mobile-nav-bg: rgba(7, 6, 10, 0.97);
  --menu-bg: #12141a;
  --nav-hover: rgba(255, 255, 255, 0.04);
  --device-bg: #0c1016;
  --device-inset: rgba(0, 0, 0, 0.28);
  --float-bg: rgba(12, 16, 22, 0.9);
  --input-bg: #0b0e14;
  --footer-bg: #050508;
  --contact-bg: #090b10;
  --stele-from: #141821;
  --stele-to: #0a0c10;
  --dot-idle: #3a3f4a;
  --error: #ff8a7a;
  --glow-gold: rgba(212, 175, 55, 0.12);
  --glow-tech: rgba(61, 211, 201, 0.07);
  --surface-lift: rgba(255, 255, 255, 0.04);
  --kpi-bg: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
  --quote-bg: linear-gradient(180deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.02));
  --stats-mid: rgba(11, 18, 32, 0.9);
  --marquee-mid: rgba(7, 6, 10, 0.4);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.35);
  --noise-opacity: 0.045;
  --radius: 18px;
  --header: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

html[data-theme="light"] {
  --bg: #f6f1e6;
  --bg-2: #efe6d4;
  --panel: #fffdf8;
  --card: #ffffff;
  --accent: #b8892a;
  --accent-2: #9a7024;
  --gold-bright: #a67c1d;
  --tech: #178f88;
  --muted: #5a616c;
  --white: #1a1814;
  --ink: #1a1814;
  --glass: rgba(26, 24, 20, 0.04);
  --line: rgba(184, 137, 42, 0.28);
  --line-soft: rgba(26, 24, 20, 0.08);
  --header-bg: rgba(246, 241, 230, 0.78);
  --header-bg-scrolled: rgba(246, 241, 230, 0.94);
  --header-shadow: 0 12px 40px rgba(80, 60, 20, 0.08);
  --mobile-nav-bg: rgba(246, 241, 230, 0.98);
  --menu-bg: #fffdf8;
  --nav-hover: rgba(184, 137, 42, 0.1);
  --device-bg: #fffdf8;
  --device-inset: rgba(26, 24, 20, 0.05);
  --float-bg: rgba(255, 253, 248, 0.94);
  --input-bg: #ffffff;
  --footer-bg: #ebe3d2;
  --contact-bg: #efe6d4;
  --stele-from: #f3ead6;
  --stele-to: #e8dcc4;
  --dot-idle: #c8c2b6;
  --error: #c24738;
  --glow-gold: rgba(184, 137, 42, 0.16);
  --glow-tech: rgba(23, 143, 136, 0.1);
  --surface-lift: rgba(255, 255, 255, 0.7);
  --kpi-bg: linear-gradient(180deg, rgba(184, 137, 42, 0.12), rgba(255, 255, 255, 0.45));
  --quote-bg: linear-gradient(180deg, rgba(184, 137, 42, 0.1), rgba(255, 255, 255, 0.65));
  --stats-mid: rgba(239, 230, 212, 0.92);
  --marquee-mid: rgba(246, 241, 230, 0.55);
  --shadow: 0 18px 50px rgba(80, 60, 20, 0.12);
  --shadow-soft: 0 24px 60px rgba(80, 60, 20, 0.1);
  --noise-opacity: 0.03;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
html[data-theme="light"] { color-scheme: light; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(1200px 600px at 8% -10%, var(--glow-gold), transparent 55%),
    radial-gradient(900px 500px at 100% 12%, var(--glow-tech), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg) 100%);
  overflow-x: hidden;
}

main { width: 100%; display: block; }

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: var(--noise-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
html[data-theme="light"] .noise {
  mix-blend-mode: multiply;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.2s var(--ease), box-shadow 0.2s;
}
.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: var(--header-shadow);
}

.header-inner,
.hero-layout,
.section,
.stats,
.contact-frame,
.footer-grid,
.footer-end {
  width: 100%;
  padding-left: clamp(20px, 4vw, 72px);
  padding-right: clamp(20px, 4vw, 72px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 8%;
  background: #f3efe6;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.16);
}
.brand-lockup img {
  width: 168px;
  height: auto;
  max-height: 148px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  padding: 10px 12px;
  background: #f3efe6;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.brand-tag {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-desktop a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
  background: var(--nav-hover);
}
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--tech));
}

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

section[id] { scroll-margin-top: calc(var(--header) + 10px); }

.lang-select { position: relative; }
.lang-btn {
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  min-width: 52px;
}
.lang-btn:hover { border-color: var(--accent); }

.theme-toggle {
  width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--white);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: none;
}
html:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: var(--menu-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
  z-index: 60;
}
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--white);
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.lang-menu button:hover { background: rgba(212, 175, 55, 0.1); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.06);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: sticky;
  top: var(--header);
  z-index: 40;
  background: var(--mobile-nav-bg);
  border-bottom: 1px solid var(--line);
  padding: 18px clamp(20px, 4vw, 72px) 32px;
  flex-direction: column;
  gap: 4px;
  min-height: calc(100svh - var(--header));
}
.mobile-nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 1.15rem;
  padding: 10px 0;
}
.mobile-nav .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--gold-bright), var(--accent) 45%, var(--accent-2));
  color: #07060a;
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.22);
}
html[data-theme="light"] .btn-primary {
  background: linear-gradient(90deg, #e0b63d, #d4af37 45%, #b98a2f);
}
.btn-ghost {
  background: var(--glass);
  border-color: var(--line);
  color: var(--white);
}
.btn .ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.28);
  animation: ripple 0.6s linear;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, min(calc(100svh - var(--header)), 860px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 20%, transparent 72%);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  mix-blend-mode: screen;
  pointer-events: none;
}
html[data-theme="light"] .blob {
  mix-blend-mode: multiply;
}
html[data-theme="light"] .blob-a,
html[data-theme="light"] .blob-b { opacity: 0.28; }
html[data-theme="light"] .blob-c { opacity: 0.18; }
.blob-a {
  width: 480px; height: 480px;
  left: -8%; top: 4%;
  background: radial-gradient(circle, var(--accent), transparent 68%);
  opacity: 0.55;
  animation: float 10s ease-in-out infinite;
}
.blob-b {
  width: 340px; height: 340px;
  right: -4%; bottom: 6%;
  background: radial-gradient(circle, var(--gold-bright), transparent 70%);
  opacity: 0.4;
  animation: float 13s ease-in-out infinite reverse;
}
.blob-c {
  width: 260px; height: 260px;
  right: 28%; top: 12%;
  background: radial-gradient(circle, var(--tech), transparent 70%);
  opacity: 0.28;
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -22px, 0); }
}

.hero-pyramid {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(32px, 6vh, 72px);
  padding-bottom: clamp(48px, 8vh, 96px);
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold-bright);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}
.eyebrow-mark {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero-copy h1 em {
  display: block;
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-bright), var(--accent) 50%, var(--tech));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  max-width: 42rem;
}

.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  max-width: 480px;
}
.hero-trust strong {
  display: block;
  color: var(--accent);
  font-size: 1.25rem;
}
.hero-trust span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Device / dashboard */
.hero-stage { position: relative; }

.device {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, var(--surface-lift), transparent),
    var(--device-bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow:
    0 0 0 1px var(--line-soft) inset,
    var(--shadow-soft),
    0 0 80px rgba(212, 175, 55, 0.08);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.device-dots { display: flex; gap: 6px; }
.device-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot-idle);
}
.device-dots span:first-child { background: #d4af37; }
.device-bar strong { flex: 1; font-size: 0.92rem; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tech);
  border: 1px solid rgba(61, 211, 201, 0.3);
  padding: 4px 8px;
  border-radius: 999px;
}
.live-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tech);
  box-shadow: 0 0 8px var(--tech);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.kpi-row article {
  background: var(--kpi-bg);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px;
}
.kpi-row span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kpi-row strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
  color: var(--gold-bright);
}
.kpi-row small { color: var(--tech); font-size: 0.72rem; }

.device-split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 10px;
}
.chart-panel,
.feed-panel {
  background: var(--device-inset);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px;
  min-height: 140px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 8px;
}
.spark { width: 100%; height: 92px; display: block; }
.activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.activity li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 6px;
}
.activity time { color: var(--accent); font-variant-numeric: tabular-nums; flex: none; }

.store-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.store {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.store b { color: var(--white); }
.store i {
  margin-left: auto;
  width: 6px; height: 6px; border-radius: 50%;
  background: #5a6470;
}
.store.is-live i { background: var(--tech); box-shadow: 0 0 8px var(--tech); }

.float-card {
  position: absolute;
  z-index: 3;
  background: var(--float-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.float-card span { display: block; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.float-card strong { color: var(--gold-bright); }
.float-a { top: 18%; left: -28px; animation: float 7s ease-in-out infinite; }
.float-b { bottom: 14%; right: -22px; animation: float 8s ease-in-out infinite reverse; }

/* ---------- Marquee ---------- */
.marquee-band {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), var(--marquee-mid) 20%, var(--marquee-mid) 80%, rgba(61, 211, 201, 0.08));
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.marquee-track span {
  padding: 0 28px;
  position: relative;
}
.marquee-track span::after {
  content: "◆";
  position: absolute;
  right: -4px;
  color: var(--accent-2);
  font-size: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.section-head { max-width: 760px; margin-bottom: 48px; }
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}
.section-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 600;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.panel {
  position: relative;
  background:
    linear-gradient(180deg, var(--surface-lift), transparent 40%),
    var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  min-height: 320px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
  pointer-events: none;
}
.panel-lg { min-height: 100%; }
.panel:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.panel-index {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.35);
  line-height: 1;
}
.panel h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}
.panel p { color: var(--muted); line-height: 1.6; }
.panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.panel li {
  color: var(--white);
  font-size: 0.92rem;
  padding-left: 16px;
  position: relative;
}
.panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.08);
  margin-bottom: 18px;
}
.panel-icon svg { width: 28px; height: 28px; }
.panel-icon.accent-tech {
  color: var(--tech);
  border-color: rgba(61, 211, 201, 0.3);
  background: rgba(61, 211, 201, 0.08);
}

.features-section {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(212, 175, 55, 0.07), transparent 60%),
    transparent;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, var(--surface-lift), transparent);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px;
  min-height: 220px;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- Stats ---------- */
.stats-band {
  width: 100%;
  position: relative;
  padding: 56px 0 64px;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.14), var(--stats-mid) 28%, var(--stats-mid) 72%, rgba(61, 211, 201, 0.1));
  border-block: 1px solid var(--line);
}
.stats-ornament {
  position: absolute;
  inset: 10px 4vw auto 4vw;
  height: 8px;
  background:
    repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 22px);
  opacity: 0.55;
  clip-path: polygon(0 100%, 8px 0, calc(100% - 8px) 0, 100% 100%);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.stat {
  text-align: center;
  padding: 18px 8px;
  border-left: 1px solid rgba(212, 175, 55, 0.18);
}
.stat:first-child { border-left: 0; }
.stat .num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold-bright);
  font-weight: 600;
  line-height: 1;
}
.stat .label {
  margin-top: 8px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}
.meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
}
.meta-row div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.meta-row dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.meta-row dd {
  margin: 6px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.stele {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(242, 201, 76, 0.2), transparent 42%),
    linear-gradient(180deg, var(--stele-from), var(--stele-to));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.stele::before,
.stele::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--accent);
  border-style: solid;
}
.stele::before { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.stele::after { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }
.stele-sun {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.08), 0 0 40px rgba(212, 175, 55, 0.25);
  margin-bottom: 28px;
  position: relative;
}
.stele-sun::after {
  content: "";
  position: absolute;
  inset: 18px;
  background: linear-gradient(180deg, var(--gold-bright), var(--accent-2));
  clip-path: polygon(50% 8%, 92% 88%, 8% 88%);
}
.stele-quote {
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
  margin: 0;
  color: var(--white);
  max-width: 18ch;
}
.stele-rule {
  width: 64px;
  height: 1px;
  background: var(--accent);
  margin: 22px 0 12px;
}
.stele-caption {
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--accent);
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--tech), transparent);
  opacity: 0.5;
}
.steps li {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px 20px 28px;
}
.steps span {
  display: inline-block;
  font-family: var(--display);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.steps h3 { margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.95rem; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.quote-card {
  margin: 0;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--quote-bg);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.quote-card small { display: block; color: var(--muted); }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact {
  width: 100%;
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(900px 400px at 10% 80%, var(--glow-gold), transparent 55%),
    radial-gradient(700px 300px at 90% 20%, var(--glow-tech), transparent 50%),
    var(--contact-bg);
  border-top: 1px solid var(--line);
}
.contact-frame {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.contact-copy p { color: var(--muted); line-height: 1.65; font-size: 1.05rem; }
.contact-facts {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.contact-facts li {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.contact-facts span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-facts a { text-decoration: none; font-weight: 600; }
.contact-facts a:hover { color: var(--gold-bright); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}
.contact-form label { display: grid; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.contact-form .full,
.form-end { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--input-bg);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-end {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-status { margin: 0; color: var(--tech); font-size: 0.9rem; }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
}
.footer-brand p {
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.6;
}
.site-footer h3 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.site-footer a,
.site-footer p {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.site-footer a:hover { color: var(--white); }
.footer-end {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-desktop { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.is-open { display: flex; }
  .bento,
  .feature-grid,
  .quote-grid,
  .steps,
  .stats,
  .about-grid,
  .contact-frame,
  .hero-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .panel-lg,
  .hero-copy,
  .hero-stage,
  .about-copy,
  .about-visual,
  .contact-copy,
  .contact-form,
  .footer-brand {
    grid-column: 1 / -1;
  }
  .steps::before { display: none; }
  .float-a { left: 8px; }
  .float-b { right: 8px; }
}

@media (max-width: 720px) {
  .hero-layout,
  .bento,
  .feature-grid,
  .quote-grid,
  .steps,
  .stats,
  .about-grid,
  .contact-frame,
  .footer-grid,
  .kpi-row,
  .device-split,
  .store-row,
  .contact-form,
  .meta-row {
    grid-template-columns: 1fr;
  }
  .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
  .stat { border-left: 0; border-top: 1px solid rgba(212, 175, 55, 0.18); }
  .stat:first-child { border-top: 0; }
  .hero-copy h1 { font-size: 3rem; }
  .device { padding: 14px; }
  .store-row { grid-template-columns: 1fr 1fr; }
  .footer-end { flex-direction: column; gap: 6px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.08rem; letter-spacing: 0.1em; }
  .brand img { width: 42px; height: 42px; }
  .float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .float-card, .marquee-track, .live-pill i { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
