/* ==========================================================================
   FusionTrade — Super Premium Design System
   ========================================================================== */
:root {
  --bg: #06070c;
  --bg-soft: #0a0c14;
  --bg-elevated: #12151f;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ink: #f7f8fc;
  --ink-muted: #9aa3bb;
  --ink-dim: #6b738c;
  --brand-1: #ffc05c;
  --brand-2: #f3931b;
  --brand-3: #e84e24;
  --brand-gradient: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 48%, var(--brand-3) 100%);
  --brand-gradient-soft: linear-gradient(145deg, rgba(243, 147, 27, 0.2), rgba(232, 78, 36, 0.05));
  --cool: #7eb0ff;
  --success: #3dd68c;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 0 1px rgba(243, 147, 27, 0.2), 0 32px 80px -28px rgba(243, 147, 27, 0.5);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --container: min(1180px, calc(100vw - 2.5rem));
  --font: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Manrope", "Segoe UI", sans-serif;
  --header-h: 68px;
  --dock-h: 0px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

@media (max-width: 860px) {
  :root {
    --container: min(1180px, calc(100vw - 1.75rem));
    --header-h: 60px;
    --dock-h: calc(72px + var(--safe-b));
  }
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--dock-h);
  min-height: 100dvh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
p { margin: 0; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid rgba(243, 147, 27, 0.7);
  outline-offset: 3px;
}

/* Never match <html lang="en"> — that would hide the whole page */
body [lang="en"] { display: none; }
:root[data-lang="en"] body [lang="en"] { display: revert; }
:root[data-lang="en"] body [lang="de"] { display: none; }
:root[data-lang="de"] body [lang="de"] { display: revert; }

/* ==========================================================================
   Atmosphere
   ========================================================================== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 55% at 15% -10%, rgba(243, 147, 27, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 5%, rgba(126, 176, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(232, 78, 36, 0.12), transparent 55%),
    linear-gradient(180deg, #080a12 0%, var(--bg) 40%, #05060a 100%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% -5%, black, transparent 72%);
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ==========================================================================
   Skip link
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--ink);
  color: #0a0a0f;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  transition: top 0.2s var(--ease-premium);
}
.skip-link:focus { top: calc(12px + var(--safe-t)); }

/* ==========================================================================
   Header — glass app bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--safe-t);
  background: rgba(6, 7, 12, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease-premium), background 0.35s var(--ease-premium), box-shadow 0.35s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(6, 7, 12, 0.86);
  box-shadow: 0 12px 40px -28px rgba(0, 0, 0, 0.8);
}

.site-header-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(243, 147, 27, 0.25));
}
.site-brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.site-brand-name span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.by-matika {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 560;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.by-matika strong {
  font-weight: 750;
  color: var(--ink-muted);
}
.by-matika:hover {
  color: var(--ink-muted);
  border-color: var(--border-strong);
  background: var(--card);
}
.by-matika:hover strong { color: var(--ink); }
@media (min-width: 980px) {
  .by-matika { display: inline-flex; }
}

.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav-links { display: flex; align-items: center; gap: 2px; }
.site-nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-nav-links a:hover { color: var(--ink); background: var(--card); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--ink-dim);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.2s var(--ease-spring);
}
.lang-switch button[aria-pressed="true"] {
  color: #120a02;
  background: var(--ink);
  box-shadow: 0 4px 14px -6px rgba(255, 255, 255, 0.35);
}
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    transform 0.28s var(--ease-premium),
    box-shadow 0.28s var(--ease-premium),
    border-color 0.25s,
    background 0.25s,
    filter 0.25s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--brand-gradient);
  color: #1a0e02;
  border: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 14px 36px -12px rgba(243, 147, 27, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 22px 44px -14px rgba(243, 147, 27, 0.7);
  filter: brightness(1.04);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s var(--ease-premium), opacity 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { width: var(--container); margin: 0 auto; }
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 80px 0; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-muted);
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(243, 147, 27, 0.16);
  animation: pulse-dot 2.4s var(--ease-premium) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(243, 147, 27, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(243, 147, 27, 0.06); }
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section-head p { margin-top: 18px; font-size: 17px; color: var(--ink-muted); font-weight: 500; }

/* ==========================================================================
   Hero — one composition, brand-led
   ========================================================================== */
.hero {
  padding: clamp(72px, 12vh, 120px) 0 96px;
  position: relative;
  overflow: hidden;
  min-height: min(100dvh, 980px);
  display: flex;
  align-items: center;
}
@media (max-width: 720px) {
  .hero {
    padding: 36px 0 48px;
    min-height: auto;
  }
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  text-decoration: none;
}
.hero-brand svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 10px 28px rgba(243, 147, 27, 0.35));
}
.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.hero-brand-name span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 720px) {
  .hero-brand { margin-bottom: 22px; }
  .hero-brand svg { width: 40px; height: 40px; }
}

.hero h1 {
  font-size: clamp(32px, 5.6vw, 58px);
  max-width: 16ch;
  margin: 0 auto;
}
.hero h1 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 540px;
  font-size: clamp(15.5px, 2vw, 18px);
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .hero-cta .btn-ghost-hero { display: none; }
}

.btn-ghost-hero {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border-color: var(--border-strong);
}

.hero-product {
  margin-top: clamp(40px, 7vw, 64px);
  position: relative;
}
.hero-product::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -8%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(243, 147, 27, 0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.hero-frame {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  border-radius: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 10px;
  box-shadow:
    var(--shadow-glow),
    0 40px 100px -40px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.hero-frame-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 12px;
}
.hero-frame-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.hero-frame-chrome span:nth-child(1) { background: #ff5f57; }
.hero-frame-chrome span:nth-child(2) { background: #febc2e; }
.hero-frame-chrome span:nth-child(3) { background: #28c840; }
.hero-frame img {
  border-radius: clamp(10px, 1.5vw, 14px);
  width: 100%;
  height: auto;
}

.hero-scrollcue {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-scrollcue:hover { color: var(--ink-muted); }
.hero-scrollcue svg { animation: bob 2.2s var(--ease-premium) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (max-width: 860px) {
  .hero-scrollcue { display: none; }
}

/* ==========================================================================
   Feature grid — desktop grid / mobile horizontal snap (app rails)
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .feature-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - var(--container)) / 2);
    padding: 4px calc((100vw - var(--container)) / 2) 16px;
    margin-inline: calc((100vw - var(--container)) / -2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
}

.feature-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-premium), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}
@media (hover: none) {
  .feature-card:hover { transform: none; }
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(243, 147, 27, 0.28);
  color: var(--brand-1);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  font-weight: 500;
}

/* ==========================================================================
   Trust banner
   ========================================================================== */
.trust-banner {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 80% at 50% -20%, rgba(243, 147, 27, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.trust-banner h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  position: relative;
}
.trust-banner p {
  margin: 16px auto 30px;
  max-width: 560px;
  color: var(--ink-muted);
  font-size: 16px;
  position: relative;
}
@media (max-width: 720px) { .trust-banner { padding: 40px 22px; } }

/* ==========================================================================
   Showcase
   ========================================================================== */
.showcase { display: flex; flex-direction: column; gap: 100px; }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase-row.reverse .showcase-visual { order: 2; }
@media (max-width: 900px) {
  .showcase { gap: 72px; }
  .showcase-row,
  .showcase-row.reverse .showcase-visual {
    grid-template-columns: 1fr;
    order: initial;
  }
  .showcase-row { gap: 28px; }
}

.showcase-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.showcase-visual .glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: var(--brand-gradient);
  filter: blur(70px);
  opacity: 0.32;
  border-radius: 50%;
}
.showcase-visual img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 1px);
}
.showcase-visual.is-light { background: #f2f2f4; }
.showcase-visual.is-light img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 0;
}

.showcase-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 14px;
}
.showcase-kicker svg { width: 16px; height: 16px; }
.showcase-copy h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 16px;
}
.showcase-copy p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 26px;
  font-weight: 500;
}

/* ==========================================================================
   Insights
   ========================================================================== */
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .insight-grid { grid-template-columns: 1fr; } }
.insight-card {
  display: block;
  text-decoration: none;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-premium), border-color 0.3s, box-shadow 0.35s;
  overflow: hidden;
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.insight-card img {
  border-radius: 14px;
  margin-bottom: 18px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.insight-body { padding: 4px 8px 10px; }
.insight-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 12px;
}
.insight-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.insight-card p { font-size: 14.5px; color: var(--ink-muted); }
.insight-more {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.25s var(--ease-premium);
}
.insight-card:hover .insight-more { color: var(--brand-1); gap: 10px; }
.insight-footer { text-align: center; margin-top: 36px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.faq-item.is-open {
  border-color: rgba(243, 147, 27, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 40px -28px rgba(243, 147, 27, 0.35);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 64px;
}
.faq-question .plus {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: transform 0.4s var(--ease-premium), background 0.3s, color 0.3s, border-color 0.3s;
}
.faq-item.is-open .faq-question .plus {
  transform: rotate(135deg);
  background: var(--brand-gradient);
  color: #1a0e02;
  border-color: transparent;
}
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s var(--ease-premium); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p {
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 500;
}
@media (max-width: 560px) {
  .faq-question { padding: 18px 16px; font-size: 15px; }
  .faq-answer p { padding: 0 16px 18px; }
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(243, 147, 27, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.03);
  position: relative;
}
.testimonial .quote-mark {
  width: 36px;
  height: 36px;
  margin: 0 auto 20px;
  color: var(--brand-2);
  opacity: 0.9;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.45;
}
.testimonial-author {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(243, 147, 27, 0.35);
  box-shadow: 0 8px 24px -10px rgba(243, 147, 27, 0.5);
}
.testimonial-author-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  text-align: left;
}
.testimonial-author-role {
  font-size: 13.5px;
  color: var(--ink-dim);
  text-align: left;
}
@media (max-width: 560px) { .testimonial { padding: 40px 22px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 calc(36px + var(--safe-b));
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 320px; }
.footer-brand .site-brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--ink-dim); line-height: 1.65; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-bottom: 16px;
  font-weight: 750;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14.5px;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
}
.footer-bottom p { font-size: 13px; color: var(--ink-dim); }
.footer-bottom a { color: var(--ink-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links { gap: 32px; width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Mobile nav — full-screen premium sheet
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 7, 12, 0.94);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  display: flex;
  flex-direction: column;
  padding: calc(88px + var(--safe-t)) 24px calc(32px + var(--safe-b));
  gap: 4px;
  transform: translateY(-12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium), transform 0.4s var(--ease-premium);
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mobile-nav-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.mobile-nav a.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s, padding-left 0.25s var(--ease-premium);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a.mobile-link:active { color: var(--brand-1); padding-left: 8px; }
.mobile-nav .lang-switch {
  align-self: stretch;
  justify-content: stretch;
  margin: 28px 0 8px;
  padding: 4px;
}
.mobile-nav .lang-switch button {
  flex: 1;
  padding: 12px 16px;
  font-size: 13.5px;
}
.mobile-nav .btn { margin-top: auto; min-height: 52px; font-size: 16px; }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Mobile dock — app-like bottom CTA
   ========================================================================== */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: linear-gradient(180deg, transparent, rgba(6, 7, 12, 0.55) 20%, rgba(6, 7, 12, 0.92));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-premium);
}
.mobile-dock.is-visible { transform: translateY(0); }
.mobile-dock-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 8px 8px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 21, 31, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 50px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(243, 147, 27, 0.08);
}
.mobile-dock-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.mobile-dock-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-dock-copy span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-dim);
  font-weight: 560;
}
.mobile-dock .btn {
  flex-shrink: 0;
  padding: 12px 18px;
  min-height: 44px;
  font-size: 13.5px;
}
@media (max-width: 860px) {
  .mobile-dock { display: block; }
  body.nav-open .mobile-dock { transform: translateY(110%); }
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + var(--dock-h));
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(18, 21, 31, 0.88);
  backdrop-filter: blur(12px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium), border-color 0.3s, bottom 0.35s;
  box-shadow: var(--shadow-soft);
  -webkit-tap-highlight-color: transparent;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover { border-color: var(--border-strong); }
.back-to-top:active { transform: scale(0.94); }

/* ==========================================================================
   Reveal motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-premium),
    transform 0.85s var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition:
    opacity 1s var(--ease-premium),
    transform 1s var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-scale.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hero entrance (immediate, no IO wait) */
.hero-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.9s var(--ease-premium) forwards;
}
.hero-enter:nth-child(1) { animation-delay: 0.05s; }
.hero-enter:nth-child(2) { animation-delay: 0.14s; }
.hero-enter:nth-child(3) { animation-delay: 0.22s; }
.hero-enter:nth-child(4) { animation-delay: 0.3s; }
.hero-product-enter {
  animation-name: hero-product-in;
  animation-delay: 0.42s;
  animation-duration: 1.05s;
}
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-product-in {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-enter { opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   Responsive nav
   ========================================================================== */
@media (max-width: 860px) {
  .site-nav-links,
  .site-header .lang-switch,
  .site-header .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Mobile premium polish
   ========================================================================== */
@media (max-width: 860px) {
  body { font-size: 15.5px; }
  .site-brand-name { font-size: 15.5px; }
  .site-brand svg { width: 32px; height: 32px; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(26px, 7.2vw, 34px); }
  .btn { min-height: 48px; }
  .btn-sm { min-height: 40px; }
}

@supports (padding: max(0px)) {
  .site-header { padding-top: max(0px, var(--safe-t)); }
}
