/* landing.css - NWYD-IT GmbH cinematic landing page */

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

:root {
  --bg: #05070d;
  --bg-soft: #08111f;
  --text: #e8f1ff;
  --text-soft: #9ca8bd;
  --text-muted: #64748b;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --cyan-soft: #67e8f9;
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(56,189,248,.45);
  --glass: rgba(255,255,255,.035);
  --glass-strong: rgba(255,255,255,.07);
  --shadow-blue: rgba(37,99,235,.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(59,130,246,.22), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(34,211,238,.13), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(37,99,235,.16), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 45%, var(--bg) 100%);
  z-index: -4;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: -3;
}

.container {
  width: min(1180px, 90%);
  margin: auto;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(56,189,248,.16), transparent 62%);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  transition: opacity .25s ease;
}

.orb {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(150px);
  opacity: .18;
  right: -160px;
  top: 180px;
  z-index: -2;
  animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(-20px); }
  to { transform: translateY(40px); }
}

/* NAVBAR */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 7, 13, .68);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

nav.scrolled {
  background: rgba(5, 7, 13, .88);
  border-color: rgba(56,189,248,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
}

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

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #a8b3c7;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: .9;
  letter-spacing: -.075em;
  font-weight: 900;
  margin-bottom: 32px;
}

h1 span {
  display: block;
  background: linear-gradient(120deg, #ffffff 0%, #8bd7ff 45%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 650px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 42px;
}

.actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.btn {
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 20px 60px var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 80px rgba(56,189,248,.35);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.14);
  color: #dbeafe;
  background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
}

.metric {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--glass);
  border-radius: 22px;
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 26px;
  color: #f8fbff;
  margin-bottom: 6px;
}

.metric span {
  font-size: 13px;
  color: #8290a8;
}

/* VISUAL */

.visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-panel {
  width: 100%;
  max-width: 500px;
  min-height: 560px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    rgba(10,18,32,.75);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
  padding: 28px;
  transform-style: preserve-3d;
  transition: transform .2s ease;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 30% 10%, rgba(56,189,248,.32), transparent 30%);
  pointer-events: none;
}

.terminal {
  position: relative;
  border-radius: 24px;
  background: rgba(3,7,18,.86);
  border: 1px solid rgba(148,163,184,.18);
  padding: 24px;
  margin-top: 70px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.terminal-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #334155;
}

.code {
  font-family: Consolas, monospace;
  font-size: 14px;
  line-height: 2;
  color: var(--cyan-soft);
}

.status-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(15,23,42,.78);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}

.status-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 13px;
  margin-top: 10px;
}

/* SECTIONS */

section {
  padding: 120px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-label {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  letter-spacing: -.055em;
  line-height: 1;
  margin-bottom: 22px;
}

.section-head p {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.75;
}

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

.service {
  min-height: 280px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--glass-strong), rgba(255,255,255,.025));
  border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.service:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 100px rgba(37,99,235,.18);
}

.service-number {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 42px;
}

.service h3 {
  font-size: 25px;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}

.service p {
  color: #94a3b8;
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.quote-box {
  padding: 42px;
  border-radius: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
}

.quote-box p {
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: -.035em;
  color: #dbeafe;
}

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

.tag {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(59,130,246,.11);
  border: 1px solid rgba(56,189,248,.2);
  color: #bdefff;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.tag:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.45);
  background: rgba(59,130,246,.18);
}

.contact {
  text-align: center;
  padding-bottom: 140px;
}

.contact-box {
  padding: 70px 40px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top, rgba(56,189,248,.18), transparent 36%),
    rgba(255,255,255,.035);
  border: 1px solid var(--border);
  box-shadow: 0 40px 140px rgba(0,0,0,.35);
}

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

.contact p {
  color: #94a3b8;
  margin-bottom: 32px;
  font-size: 18px;
}

footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* RESPONSIVE */

@media(max-width: 1050px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: auto;
  }

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

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

@media(max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .actions {
    flex-direction: column;
  }

  .glass-panel {
    min-height: 520px;
  }

  section {
    padding: 80px 0;
  }
}
