@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600&display=swap');

:root {
  --bg: #02040f;
  --bg-secondary: rgba(10, 12, 34, 0.88);
  --surface: rgba(10, 12, 34, 0.78);
  --surface-alt: rgba(21, 23, 45, 0.78);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --text-muted: rgba(226, 232, 240, 0.76);
  --accent-1: #22d3ee;
  --accent-2: #8b5cf6;
  --accent-3: #f472b6;
  --accent-gradient: linear-gradient(135deg, #22d3ee 0%, #38bdf8 25%, #8b5cf6 60%, #f472b6 100%);
  --accent-glow: rgba(139, 92, 246, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-lg: 0 30px 80px rgba(3, 7, 18, 0.55);
  --shadow-sm: 0 14px 40px rgba(8, 25, 60, 0.45);
  --max-width: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.25), transparent 55%),
    radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.2), transparent 60%), var(--bg);
  color: var(--text);
  min-height: 100%;
  scroll-behavior: smooth;
}

.is-hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

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

a:focus {
  outline: 2px solid rgba(148, 163, 184, 0.6);
  outline-offset: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.page::before,
.page::after {
  content: '';
  position: fixed;
  inset: -40% -25% auto;
  height: 120vh;
  background: radial-gradient(circle at 15% 25%, rgba(34, 211, 238, 0.4), transparent 60%),
    radial-gradient(circle at 80% 35%, rgba(139, 92, 246, 0.35), transparent 65%);
  filter: blur(120px);
  opacity: 0.6;
  z-index: -2;
  animation: auroraDrift 24s ease-in-out infinite;
}

.page::after {
  inset: auto -15% -30% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.45), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(244, 114, 182, 0.4), transparent 65%);
  animation-duration: 30s;
  animation-direction: reverse;
}

main {
  flex: 1;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(2, 4, 15, 0.85);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-logo {
  position: relative;
  width: min(150px, 34vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo::before {
  content: '';
  position: absolute;
  inset: -20%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.6), rgba(139, 92, 246, 0.35));
  filter: blur(20px);
  opacity: 0.8;
  animation: brandGlow 8s ease-in-out infinite;
}

.brand-logo img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 35px rgba(34, 211, 238, 0.25));
  animation: brandFloat 10s ease-in-out infinite;
}

.brand-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #f1f5f9;
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.45);
}

@supports (-webkit-background-clip: text) {
  .brand-wordmark {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open .nav-toggle-bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 -0.55rem;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  padding: clamp(5rem, 8vw, 7rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 10% -35% -10% 55%;
  background: radial-gradient(circle at 20% 40%, rgba(34, 211, 238, 0.55), transparent 65%),
    radial-gradient(circle at 80% 60%, rgba(244, 114, 182, 0.4), transparent 70%);
  filter: blur(120px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-1);
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0;
}

.hero-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.78);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.button.primary {
  background: var(--accent-gradient);
  color: #04121e;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.35);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.45);
}

.button.ghost {
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text);
  background: rgba(15, 23, 42, 0.55);
}

.button.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.4);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.hero-logo {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(8, 14, 36, 0.72);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.hero-logo::before,
.hero-logo::after {
  content: '';
  position: absolute;
  inset: 15% 5% -25% 30%;
  background: linear-gradient(125deg, rgba(34, 211, 238, 0.45), rgba(139, 92, 246, 0.4), rgba(244, 114, 182, 0.4));
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-logo::after {
  inset: auto 20% 10% 10%;
  opacity: 0.4;
  animation: heroSweep 18s linear infinite;
}

.hero-logo img {
  width: min(320px, 65vw);
}

.hero-actions[hidden],
.hero-metrics[hidden] {
  display: none !important;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  width: 100%;
}

.metric {
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.metric-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.7);
}

.metric-value {
  display: block;
  margin-top: 0.45rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section.alt {
  background: rgba(8, 10, 30, 0.6);
}

.section-header {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.neon-card {
  padding: 2rem;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.neon-card::before {
  content: '';
  position: absolute;
  inset: -40% -10% 50% 20%;
  background: var(--accent-gradient);
  opacity: 0.35;
  filter: blur(40px);
  pointer-events: none;
}

.neon-card h3 {
  font-size: 1.4rem;
  margin: 0;
}

.neon-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.platform {
  position: relative;
}

.platform::before {
  content: '';
  position: absolute;
  inset: 12% -15% auto 25%;
  height: 320px;
  background: radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.4), transparent 65%),
    radial-gradient(circle at 70% 60%, rgba(244, 114, 182, 0.35), transparent 65%);
  filter: blur(110px);
  opacity: 0.7;
  pointer-events: none;
}

.platform-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  z-index: 1;
}

.platform-feature {
  background: rgba(8, 15, 32, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.platform-feature::after {
  content: '';
  position: absolute;
  inset: auto -40% -20% 20%;
  height: 220px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.4), rgba(139, 92, 246, 0.4));
  opacity: 0.4;
  filter: blur(70px);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.35);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-1);
  font-size: 0.85rem;
}

.platform-feature h3 {
  margin: 0;
  font-size: 1.3rem;
}

.platform-feature p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow {
  position: relative;
}

.flow-inner {
  background: rgba(4, 7, 22, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

.flow-inner::before {
  content: '';
  position: absolute;
  inset: -20% 30% -40% -20%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.45), rgba(139, 92, 246, 0.35), rgba(244, 114, 182, 0.4));
  opacity: 0.5;
  filter: blur(80px);
  pointer-events: none;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.flow-step {
  background: rgba(2, 10, 30, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.flow-step h3 {
  margin: 0;
  font-size: 1.2rem;
}

.flow-step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.story-card {
  padding: 2rem;
  background: rgba(6, 12, 30, 0.78);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: '';
  position: absolute;
  inset: -20% -30% 40% 30%;
  background: var(--accent-gradient);
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
}

.story-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.story-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact {
  position: relative;
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(5, 9, 26, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-inner::before {
  content: '';
  position: absolute;
  inset: -30% -10% 30% 20%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.55), rgba(139, 92, 246, 0.4));
  opacity: 0.5;
  filter: blur(70px);
  pointer-events: none;
}

.contact-inner h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
}

.contact-inner p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: -30% -20% -40% 10%;
  background: radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.4), transparent 65%),
    radial-gradient(circle at 70% 60%, rgba(244, 114, 182, 0.3), transparent 65%);
  filter: blur(120px);
  opacity: 0.8;
  pointer-events: none;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.footer-inner img {
  width: 160px;
  filter: drop-shadow(0 16px 32px rgba(34, 211, 238, 0.35));
}

[data-animate] {
  --animate-delay: 0s;
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(12px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1),
    filter 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
  transition-delay: var(--animate-delay);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, -3%, 0) scale(1.08);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes brandGlow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-30%) rotate(0deg);
  }
  100% {
    transform: translateX(45%) rotate(360deg);
  }
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-visual {
    align-items: stretch;
  }

  .industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto auto;
    background: rgba(2, 4, 15, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    transform-origin: top right;
    transform: scale(0.86);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .site-nav a::after {
    inset: auto 0 -0.25rem;
  }

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

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-inner {
    padding: 2.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .contact-inner {
    padding: 2rem;
  }

  .footer-inner img {
    width: 140px;
  }
}
