/* =========================================
   FONTS
   ========================================= */
@font-face {
  font-family: 'Host Grotesk';
  src: url('assets/fonts/HostGrotesk.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('assets/fonts/HostGroteskItalic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Host Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #fcfcfc;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1 {
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fcfcfc;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fcfcfc;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fcfcfc;
}

p {
  color: #9a9a9a;
  line-height: 1.7;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: #1985F6;
  color: #ffffff;
  border: 1.5px solid #1985F6;
}

.btn-primary:hover {
  background: #0D68FE;
  border-color: #0D68FE;
}

.btn-ghost {
  background: transparent;
  color: #fcfcfc;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-light {
  background: #1985F6;
  color: #ffffff;
  border: 1.5px solid #1985F6;
}

.btn-light:hover {
  background: #0D68FE;
  border-color: #0D68FE;
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.nav-link:hover {
  color: #fcfcfc;
}

/* =========================================
   GRADIENT TEXT
   ========================================= */
.gradient-text {
  background: linear-gradient(90deg, #FE6711 0%, #1985F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  padding: 96px 0 112px;
  background: #0a0a0a;
  position: relative;
}

.hero-bg-mark {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  max-width: 820px;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text em {
  font-style: italic;
}

.hero-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1985F6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* =========================================
   SECTION ACCENT LINES
   ========================================= */
.problem,
.use-cases,
.cta-final {
  position: relative;
}

.problem::before,
.use-cases::before,
.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #1985F6 35%, #FE6711 65%, transparent 100%);
}

/* =========================================
   PROBLEM
   ========================================= */
.problem {
  padding: 104px 0;
  background: #111111;
}

.problem h2 {
  margin-bottom: 48px;
}

/* =========================================
   COMPARISON GRAPHIC
   ========================================= */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.comparison-col {
  display: flex;
  flex-direction: column;
}

.comparison-col-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.comparison-col--risk .comparison-col-label { color: #E93517; }
.comparison-col--safe .comparison-col-label { color: #1985F6; }

.firm-box {
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.firm-box--risk {
  border: 1.5px dashed rgba(233, 53, 23, 0.35);
  background: rgba(233, 53, 23, 0.03);
}

.firm-box--safe {
  border: 1.5px solid rgba(25, 133, 246, 0.4);
  background: rgba(25, 133, 246, 0.03);
  flex: 1;
}

.firm-box-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 20px;
}

.firm-box--risk .firm-box-title { color: rgba(233, 53, 23, 0.55); }
.firm-box--safe .firm-box-title { color: rgba(25, 133, 246, 0.55); }

.firm-box-note {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(25, 133, 246, 0.5);
  margin-top: 16px;
  letter-spacing: 0.03em;
}

.flow-node {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fcfcfc;
  text-align: center;
}

/* Round-trip arrows */
.flow-rt {
  display: flex;
  width: 100%;
  padding: 0 40px;
  min-height: 88px;
}

.rt-send,
.rt-return {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.rt-line {
  flex: 1;
  width: 1px;
}

.flow-rt--risk .rt-line { background: rgba(233, 53, 23, 0.4); }
.flow-rt--safe .rt-line { background: rgba(25, 133, 246, 0.4); }

.rt-arrow {
  font-size: 1rem;
  line-height: 1;
}

.flow-rt--risk .rt-arrow { color: rgba(233, 53, 23, 0.8); }
.flow-rt--safe .rt-arrow { color: rgba(25, 133, 246, 0.8); }

.rt-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.rt-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 10px 0;
}

/* External destination */
.external-destination {
  width: 100%;
  border: 1px solid rgba(233, 53, 23, 0.25);
  background: rgba(233, 53, 23, 0.07);
  border-radius: 8px;
  padding: 18px 20px;
  text-align: center;
}

.provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.provider-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 3px 9px;
}

.external-destination p {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(233, 53, 23, 0.75);
  line-height: 1.4;
}

.problem-statement {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fcfcfc;
  line-height: 1.5;
  border-left: 3px solid #1985F6;
  padding-left: 20px;
}

/* =========================================
   SOLUTION
   ========================================= */
.solution {
  padding: 104px 0;
  background: #0a0a0a;
}

.solution h2 {
  margin-bottom: 20px;
}

.solution-intro {
  max-width: 680px;
  margin-bottom: 72px;
  font-size: 1rem;
}

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

.pillar {
  border-top: 2px solid #1985F6;
  padding-top: 28px;
}

.pillar h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.pillar p {
  font-size: 0.95rem;
}

/* =========================================
   USE CASES
   ========================================= */
.use-cases {
  padding: 104px 0;
  background: #111111;
}

.use-cases h2 {
  margin-bottom: 56px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.use-case-card {
  background: #161616;
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.use-case-card:last-child {
  border-right: none;
}

.use-case-card h3 {
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 600;
}

.use-case-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.use-cases-invite {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.use-cases-invite-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fcfcfc;
}

.use-cases-invite-text p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(252, 252, 252, 0.55);
}

/* =========================================
   HUMAN IN THE LOOP
   ========================================= */
.human-loop {
  padding: 104px 0;
  background: #0a0a0a;
}

.human-loop-header {
  margin-bottom: 56px;
}

.human-loop-header h2 {
  margin-bottom: 20px;
}

.human-loop-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(252, 252, 252, 0.65);
}

.hitl-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   LOCAL VS CLOUD
   ========================================= */
.local-vs-cloud {
  padding: 104px 0;
  background: #111111;
}

.local-vs-cloud h2 {
  margin-bottom: 56px;
}

.lvc-grid {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.lvc-cell {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lvc-cell:nth-child(3n+1) {
  border-left: none;
}

.lvc-cell:nth-last-child(-n+3) {
  border-bottom: none;
}

.lvc-head {
  background: #161616;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.4);
  align-items: center;
}

.lvc-local.lvc-head {
  color: #1985F6;
}

.lvc-topic {
  background: #161616;
  align-items: center;
}

.lvc-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(252, 252, 252, 0.6);
}

.lvc-cloud {
  background: rgba(233, 53, 23, 0.04);
}

.lvc-local {
  background: rgba(25, 133, 246, 0.05);
}

.lvc-cell p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(252, 252, 252, 0.65);
  margin: 0;
}

.lvc-mark {
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.lvc-mark--bad {
  color: #E93517;
}

.lvc-mark--good {
  color: #1985F6;
}

.lvc-insight {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lvc-insight h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fcfcfc;
  margin-bottom: 12px;
}

.lvc-insight p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(252, 252, 252, 0.55);
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 104px 0;
  background: #0a0a0a;
}

.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-portrait img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text > p {
  margin-bottom: 40px;
  font-size: 1rem;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.trust-list li::before {
  content: '–';
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  font-weight: 300;
}

/* =========================================
   FINAL CTA
   ========================================= */
.cta-final {
  padding: 104px 0;
  background: #111111;
}

.cta-final .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.cta-final h2 {
  color: #fcfcfc;
  margin-bottom: 20px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  margin-bottom: 44px;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   IMPRESSUM
   ========================================= */
.impressum {
  padding: 104px 0 120px;
  background: #0a0a0a;
  min-height: 70vh;
}

.impressum h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  color: #fcfcfc;
}

.impressum h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252, 252, 252, 0.4);
  margin-top: 40px;
  margin-bottom: 8px;
}

.impressum p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(252, 252, 252, 0.75);
}

.impressum a {
  color: #1985F6;
  text-decoration: none;
}

.impressum a:hover {
  text-decoration: underline;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .use-case-grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .use-case-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .use-case-card:last-child {
    border-bottom: none;
  }

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

  .about-portrait {
    max-width: 260px;
  }

  .nav-link {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .cta-final .container {
    padding: 0 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .problem {
    padding: 72px 0;
  }

  .solution,
  .use-cases,
  .about,
  .cta-final {
    padding: 72px 0;
  }
}