:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --bg-card: rgba(10, 21, 38, 0.82);
  --bg-card-strong: rgba(14, 28, 49, 0.96);
  --text: #f5f7fb;
  --text-muted: #9bb0c8;
  --accent: #ff7a18;
  --accent-strong: #ffb347;
  --accent-cool: #5dd6ff;
  --border: rgba(155, 176, 200, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(93, 214, 255, 0.16), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(255, 122, 24, 0.18), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #0a1627 38%, #07111f 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-shell { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.site-orb {
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.3;
}
.site-orb-1 { top: -8rem; right: -6rem; background: rgba(255, 122, 24, 0.45); }
.site-orb-2 { bottom: 8rem; left: -8rem; background: rgba(93, 214, 255, 0.22); }
.site-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 82%);
}

.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 2rem 0 4rem; }
.section-highlight { position: relative; }
.section-heading { max-width: 760px; margin-bottom: 1.75rem; }
.section-heading h2,
.page-intro h1,
.cta-panel h2,
.footer-title,
.hero-copy h1,
.narrative-copy h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.eyebrow,
.footer-kicker,
.floating-kicker,
.contact-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 21, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo { display: inline-flex; align-items: center; gap: 0.9rem; min-width: 0; }
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.logo-text-wrap { display: flex; flex-direction: column; gap: 0.1rem; }
.logo-text {
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.logo-subtext {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.nav a {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav a:hover,
.nav a.active {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}
.lang-label { color: var(--text-muted); font-size: 0.85rem; }
.lang-select {
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}

.main { min-height: calc(100vh - 120px); padding: 1.25rem 0 0; }

.hero-section { padding: 2rem 0 3.75rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 2rem;
}
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 10ch; }
.hero-lead,
.narrative-copy p,
.page-intro p,
.feature-card p,
.step-card p,
.contact-box p,
.cta-panel p,
.showcase-overlay p,
.bullet-item p {
  color: var(--text-muted);
}
.hero-lead { max-width: 620px; margin: 1.15rem 0 0; font-size: 1.06rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 2rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #10131b;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(255, 122, 24, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(255, 122, 24, 0.26);
}
.cta-ghost,
.cta-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-stats,
.feature-grid,
.steps-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.stat-card,
.feature-card,
.step-card,
.contact-box,
.bullet-panel,
.cta-panel,
.footer-top,
.page-intro,
.hero-frame,
.hero-floating-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-card,
.feature-card,
.step-card,
.contact-box {
  border-radius: 24px;
  padding: 1.25rem;
}
.stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-cool);
  font-size: 1.05rem;
}
.stat-card span { color: var(--text-muted); font-size: 0.92rem; }

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-frame {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
}
.hero-frame-main {
  inset: 0 0 5.5rem 1rem;
  background: var(--bg-card-strong);
  padding: 1.1rem;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.98;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(93, 214, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(18, 33, 54, 0.96), rgba(8, 16, 29, 0.96));
}
.hero-floating-card {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 320px;
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
}
.hero-floating-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
}
.hero-floating-card p { margin: 0; color: var(--text-muted); }

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card h3,
.step-card h2,
.contact-link {
  margin: 0 0 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
}
.feature-card h3 { font-size: 1.3rem; }

.narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}
.narrative-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 12ch; }
.narrative-copy p { max-width: 60ch; }
.bullet-panel {
  border-radius: 30px;
  padding: 1.5rem;
}
.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.bullet-item + .bullet-item { margin-top: 1rem; }
.bullet-item span {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  box-shadow: 0 0 0 6px rgba(255,255,255,0.03);
}
.bullet-item p { margin: 0; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.showcase-card {
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-card-strong);
  box-shadow: var(--shadow);
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.showcase-card:hover img { transform: scale(1.04); }
.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 21, 0.92));
}
.showcase-overlay p { margin: 0; font-size: 0.94rem; }

.page-intro {
  max-width: 820px;
  padding: 2rem;
  border-radius: 32px;
}
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 4rem); }

.steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.step-card {
  position: relative;
  padding-top: 4.25rem;
}
.step-number {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  color: var(--accent-cool);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-link {
  display: inline-block;
  color: var(--text);
  font-size: 1.4rem;
}

.cta-panel,
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.7rem;
  border-radius: 32px;
}
.cta-panel h2,
.footer-title { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-panel p,
.footer-top p { max-width: 54ch; margin: 0.55rem 0 0; }

.site-footer {
  padding: 0 0 2rem;
}
.footer-top { margin-bottom: 1.25rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  padding: 0.75rem 0;
}
.footer-links a {
  color: var(--text-muted);
  padding: 0.25rem 0.45rem;
}
.copyright {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.page { max-width: 840px; margin: 0 auto; }
.page h1, .page h2, .page h3 { font-family: 'Space Grotesk', sans-serif; }
.page section,
.page > p,
.page ul {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.page > p,
.page ul { color: var(--text-muted); }
.page section + section,
.page > p + section,
.page section + ul,
.page ul + section { margin-top: 1rem; }

.text-muted { color: var(--text-muted); font-size: 0.95rem; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 12, 0.82); backdrop-filter: blur(10px); }
.lightbox-content {
  position: relative;
  max-width: min(1120px, calc(100vw - 2rem));
  max-height: min(88vh, 860px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  background: #05070d;
}
.lightbox-content img { display: block; width: 100%; height: 100%; object-fit: contain; background: #05070d; }
.lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .header-inner,
  .footer-top,
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .narrative-grid,
  .feature-grid,
  .showcase-grid,
  .hero-stats,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .narrative-copy h2 {
    max-width: none;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-frame-main {
    inset: 0 0 5rem 0;
  }
}

@media (max-width: 720px) {
  .container { width: min(100% - 1.25rem, 1160px); }
  .header-inner { align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .lang-switch { width: 100%; justify-content: space-between; }
  .hero-section { padding-top: 1rem; }
  .hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .hero-visual { min-height: 340px; }
  .hero-frame-main { inset: 0 0 4.5rem 0; }
  .hero-floating-card {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
  .page-intro,
  .cta-panel,
  .footer-top,
  .bullet-panel {
    padding: 1.2rem;
  }
  .showcase-card { min-height: 220px; }
}
