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

:root {
  --bg: #050816;
  --bg-alt: #090f24;
  --card-bg: rgba(9, 15, 36, 0.95);
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.2);
  --accent-strong: #63e6be;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.8);
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: -50%;
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(244, 114, 182, 0.22), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(45, 212, 191, 0.18), transparent 60%);
  opacity: 0.9;
  filter: blur(2px);
  z-index: -3;
  animation: bgShift 35s ease-in-out infinite alternate;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='1.5' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: -1;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.9), transparent);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent-strong), #1f2937);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  padding-block: 3rem 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 3.5vw + 1rem, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.accent {
  background: linear-gradient(120deg, #4fd1c5, #a855f7, #f97316);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 34rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn.primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.8);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(15, 23, 42, 0.9);
}

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

.meta-item {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 0% 0%, rgba(79, 209, 197, 0.08), rgba(15, 23, 42, 0.96));
  min-width: 140px;
}

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.2rem;
}

.meta-value {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

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

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, #4fd1c5, transparent 60%);
  animation: float 12s ease-in-out infinite;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 70% 50%, #a855f7, transparent 60%);
  animation: float 14s ease-in-out infinite reverse;
}

.network-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding-bottom: 0.75rem;
  overflow: hidden;
}

.floating {
  animation: floatSoft 18s ease-in-out infinite alternate;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.7rem;
  background: radial-gradient(circle at 10% 0%, rgba(148, 163, 184, 0.3), rgba(15, 23, 42, 0.98));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot.red { background: #f97373; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #4ade80; }

.card-body {
  padding: 0.9rem 1rem 0.75rem;
}

.card-body h2 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card-body p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.pill {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill-secondary {
  border-color: rgba(129, 140, 248, 0.7);
  color: #a5b4fc;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
}

.section {
  padding-block: 4rem;
}

.section-alt {
  background: radial-gradient(circle at 0% 0%, rgba(79, 209, 197, 0.06), rgba(5, 8, 22, 0.98));
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-heading {
  max-width: 640px;
}

.section-heading h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-heading p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.topology {
  display: grid;
  gap: 1.5rem;
}

.topology-layer {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85));
  padding: 1rem 1.2rem;
}

.topology-layer h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--text);
}

.contact-card {
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1.4rem;
  max-width: 540px;
}

.contact-card h3 {
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card a {
  color: var(--accent-strong);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.disclaimer {
  margin-top: 0.8rem;
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.8);
  padding-block: 1.2rem 1.8rem;
  background: radial-gradient(circle at 50% -40%, rgba(148, 163, 184, 0.2), rgba(5, 8, 22, 1));
}

.footer-inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Animations & reveal */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bgShift {
  from {
    transform: translate3d(-10px, 0, 0) scale(1.1);
  }
  to {
    transform: translate3d(10px, -10px, 0) scale(1.15);
  }
}

@keyframes float {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(10px, -12px, 0); }
  100% { transform: translate3d(-8px, 6px, 0); }
}

@keyframes floatSoft {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(-0.5deg); }
  100% { transform: translate3d(0, 4px, 0) rotate(0.5deg); }
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-visual {
    order: -1;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
  }
}

@media (max-width: 780px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    gap: 0.75rem;
  }

  .meta-item {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

@media (max-width: 520px) {
  .section {
    padding-block: 3rem;
  }

  .meta-item {
    flex: 1 1 100%;
  }
}
