/* OXAR — AS211623 (dark theme) */
:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --bg-alt: #0d1220;
  --bg-card: #151d2e;
  --text: #e8edf5;
  --text-muted: #8896ab;
  --accent: #00c8ff;
  --accent-hover: #33d4ff;
  --accent-dim: rgba(0, 200, 255, 0.08);
  --accent-glow: rgba(0, 200, 255, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 200, 255, 0.2);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: min(94vw, 1140px);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 200, 255, 0.25);
  color: #fff;
}

img { max-width: 100%; height: auto; }

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

.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 500;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--accent-hover); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.btn--primary {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.35);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn--outline {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo-img {
  height: 2rem;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.header__nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.header__nav-cta {
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.header__nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

@media (max-width: 768px) {
  .header__toggle { display: flex; }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .header__nav.is-open { display: flex; }

  .header__nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .header__nav a:last-child { border-bottom: none; }

  .header__nav-cta {
    border: none;
    padding: 0.75rem 0;
    text-align: left;
  }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 200, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 100, 200, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, rgba(10, 14, 23, 0.95) 100%);
}

.hero__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid rgba(0, 200, 255, 0.15);
  border-radius: 100px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.04);
}

.hero__badge-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.hero__badge-pulse::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.3);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.hero__badge-asn {
  color: var(--accent);
  font-size: 0.8125rem;
}

.hero__badge-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero__title br { display: block; }

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Sections ─── */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--cta {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 200, 255, 0.06) 0%, transparent 70%),
    var(--bg);
}

.section__header {
  margin-bottom: 3rem;
}

.section__label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0;
}

/* ─── Grids ─── */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Feature cards (Why) ─── */
.feature-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.05);
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius-xs);
  background: var(--accent-dim);
  color: var(--accent);
}

.feature-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Service cards ─── */
.service-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: var(--accent-dim);
  color: var(--accent);
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.service-card__tag {
  display: block;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ─── Colocation cards ─── */
.colo-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.colo-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.colo-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.08);
}

.colo-card__badge {
  position: absolute;
  top: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--accent);
  border-radius: 100px;
}

.colo-card__size {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.colo-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.colo-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  width: 100%;
}

.colo-card__features li {
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.colo-card__features li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.colo-card__features li:last-child {
  border-bottom: none;
}

.colo-extras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .colo-extras { grid-template-columns: repeat(3, 1fr); }
}

.colo-extra h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.colo-extra p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ─── Network section ─── */
.network-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.network-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.network-item:last-child { border-bottom: none; }

.network-item__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.network-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.network-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.network-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ─── Location cards ─── */
.location-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease);
}

.location-card:hover {
  border-color: var(--border-hover);
}

.location-card--core {
  border-color: rgba(0, 200, 255, 0.2);
}

.location-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.location-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.location-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.location-card__list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.location-card__list li strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.location-card__list li span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── About ─── */
.about-content {
  max-width: 65ch;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.about-content p + p {
  margin-top: 1.25rem;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.08);
  text-decoration: none;
}

.contact-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 55ch;
  margin: 0;
}

/* ─── Footer ─── */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.footer__left p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__company {
  font-weight: 600;
  color: var(--text) !important;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer__links a:hover { color: var(--accent); }

/* ─── Animations ─── */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .service-card,
  .colo-card,
  .location-card,
  .network-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s var(--ease) forwards;
  }

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

  .grid > :nth-child(1) { animation-delay: 0ms; }
  .grid > :nth-child(2) { animation-delay: 60ms; }
  .grid > :nth-child(3) { animation-delay: 120ms; }
  .grid > :nth-child(4) { animation-delay: 180ms; }
  .grid > :nth-child(5) { animation-delay: 240ms; }

  .network-item:nth-child(1) { animation-delay: 0ms; }
  .network-item:nth-child(2) { animation-delay: 60ms; }
  .network-item:nth-child(3) { animation-delay: 120ms; }
  .network-item:nth-child(4) { animation-delay: 180ms; }
  .network-item:nth-child(5) { animation-delay: 240ms; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
