:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --heading: #061b31;
  --text: #64748d;
  --label: #273951;
  --purple: #533afd;
  --purple-dark: #4434d4;
  --purple-soft: #f4f2ff;
  --border: #e5edf5;
  --dark: #1c1e54;
  --success: #15be53;
  --ruby: #ea2261;
  --magenta: #f96bee;
  --shadow: rgba(50, 50, 93, 0.25) 0 30px 45px -30px, rgba(0, 0, 0, 0.1) 0 18px 36px -18px;
  --soft-shadow: rgba(23, 23, 23, 0.08) 0 15px 35px 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01";
}

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

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 237, 245, 0.72);
  animation: slideDown 700ms ease both;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--heading);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--purple), var(--ruby));
  box-shadow: var(--soft-shadow);
  animation: softPulse 3.8s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--heading);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--purple);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease, box-shadow 180ms ease;
}

.nav-cta,
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: rgba(83, 58, 253, 0.26) 0 14px 28px -18px;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: rgba(83, 58, 253, 0.35) 0 18px 34px -18px;
}

.btn-secondary {
  color: var(--purple);
  border: 1px solid #b9b9f9;
  background: rgba(83, 58, 253, 0.04);
}

.btn-secondary:hover {
  background: rgba(83, 58, 253, 0.08);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--heading);
  border-radius: 6px;
  padding: 8px 12px;
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
  min-height: 720px;
  padding: 86px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 50px -140px auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 107, 238, 0.22), rgba(83, 58, 253, 0.06) 54%, transparent 70%);
  z-index: -1;
  animation: orbFloat 9s ease-in-out infinite;
}

.hero-copy {
  animation: fadeUp 800ms ease 120ms both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple);
  font-family: 'Source Code Pro', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow.light {
  color: #b9b9f9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  margin-bottom: 18px;
}

h3 {
  font-size: 24px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero-text,
.section-heading p,
.dark-section p,
.contact-card p {
  font-size: 19px;
  line-height: 1.45;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--label);
  font-size: 14px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.hero-card {
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: floatIn 900ms ease 260ms both;
  transform-origin: center;
}

.machine-visual {
  position: relative;
  min-height: 340px;
  border-radius: 8px;
  background: linear-gradient(145deg, #101434, #1c1e54 52%, #533afd);
  padding: 22px;
  color: #fff;
}

.machine-top {
  width: 64%;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 22px;
}

.machine-grid {
  width: 66%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.machine-grid span {
  height: 70px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #e6ecff);
  box-shadow: inset rgba(6, 27, 49, 0.12) 0 -10px 18px;
  animation: shelfGlow 3.2s ease-in-out infinite;
}

.machine-grid span:nth-child(2n) {
  animation-delay: 280ms;
}

.machine-grid span:nth-child(3n) {
  animation-delay: 520ms;
}

.machine-panel {
  position: absolute;
  top: 86px;
  right: 24px;
  width: 82px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.machine-panel span {
  display: block;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 5px;
  background: linear-gradient(135deg, #061b31, #122c50);
  box-shadow: 0 0 24px rgba(21, 190, 83, 0.18);
  animation: screenBlink 4.5s ease-in-out infinite;
}

.machine-panel strong {
  display: block;
  font-family: 'Source Code Pro', monospace;
  text-align: center;
  font-size: 12px;
}

.status-panel {
  margin-top: 20px;
}

.panel-label,
.small-note {
  font-family: 'Source Code Pro', monospace;
  font-size: 12px;
}

.panel-label {
  color: var(--purple);
  font-weight: 700;
  text-transform: uppercase;
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--label);
}

.status-line strong {
  color: var(--heading);
  font-weight: 500;
}

.small-note {
  margin: 14px 0 0;
  color: var(--text);
}

.logo-strip {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f8fbff;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  color: var(--label);
  font-size: 15px;
  text-align: center;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.cards {
  display: grid;
  gap: 20px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.step,
.contact-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: rgba(23, 23, 23, 0.06) 0 3px 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover,
.step:hover,
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(83, 58, 253, 0.26);
  box-shadow: rgba(23, 23, 23, 0.1) 0 18px 40px;
}

.card {
  padding: 28px;
}

.card p,
.step p {
  line-height: 1.55;
}

.icon {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 3px 8px;
  border: 1px solid rgba(21, 190, 83, 0.4);
  border-radius: 4px;
  color: #108c3d;
  background: rgba(21, 190, 83, 0.18);
  font-family: 'Source Code Pro', monospace;
  font-size: 12px;
  font-weight: 700;
}

.dark-section {
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top left, rgba(249, 107, 238, 0.22), transparent 34%),
    linear-gradient(135deg, #14163e, var(--dark));
}

.dark-section h2,
.dark-section strong {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 58px;
  align-items: start;
}

.location-list {
  display: grid;
  gap: 14px;
}

.location-list div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.location-list div:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.location-list span {
  color: rgba(255, 255, 255, 0.68);
}

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

.step {
  padding: 26px;
}

.step span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-weight: 600;
}

.contact-section {
  padding-top: 30px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.contact-box {
  padding: 22px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid var(--border);
}

.contact-box p {
  margin-bottom: 12px;
  font-size: 16px;
}

.contact-box a:not(.btn) {
  color: var(--purple);
}

.full {
  width: 100%;
  margin-top: 12px;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
}

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

.footer p {
  margin: 0;
}

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

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

.cards .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.logo-grid .reveal:nth-child(2) {
  transition-delay: 110ms;
}

.cards .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.logo-grid .reveal:nth-child(3) {
  transition-delay: 220ms;
}

.logo-grid .reveal:nth-child(4) {
  transition-delay: 330ms;
}

.logo-grid .reveal:nth-child(5) {
  transition-delay: 440ms;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 20px, 0) scale(1.06);
  }
}

@keyframes softPulse {
  0%, 100% {
    box-shadow: rgba(23, 23, 23, 0.08) 0 15px 35px 0;
  }
  50% {
    box-shadow: rgba(83, 58, 253, 0.32) 0 16px 34px -10px;
  }
}

@keyframes shelfGlow {
  0%, 100% {
    opacity: 0.88;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes screenBlink {
  0%, 72%, 100% {
    opacity: 1;
  }
  76% {
    opacity: 0.72;
  }
  80% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .hero {
    min-height: auto;
  }

  .three-col,
  .steps {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px;
  }

  .hero {
    padding: 50px 0;
    gap: 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .machine-grid {
    width: 62%;
  }

  .machine-grid span {
    height: 54px;
  }

  .section {
    padding: 62px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
