/* axontel.network — dark tech / network infrastructure */

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

:root {
  --void: #0a0e14;
  --surface: #0e1219;
  --surface-raised: #131820;
  --surface-overlay: #181e28;
  --border: rgba(0, 229, 255, 0.08);
  --border-strong: rgba(0, 229, 255, 0.15);
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.08);
  --cyan-mid: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.25);
  --teal: #0097a7;
  --green: #00e676;
  --text: #c8d2dc;
  --text-muted: #5a6a7a;
  --text-bright: #e8edf3;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Instrument Sans', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.6;
  background: var(--void);
  -webkit-font-smoothing: antialiased;
}

/* ---- utilities ---- */

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 20px;
}

/* ---- header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 40px;
}

.wordmark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--text-bright);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(0, 230, 118, 0); }
}

.status-text {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- hero ---- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--void);
}

/* dot grid pattern background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

/* subtle glow behind hero content */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px 120px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.label-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.hero-label span:last-child {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero h1 {
  font-family: var(--sans);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-body {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--cyan);
  color: var(--void);
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.3), 0 0 8px rgba(0, 229, 255, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---- network map visualization ---- */

.network-map {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 320;
}

.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--cyan);
  z-index: 2;
}

.node::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.15);
  animation: node-ping 3s ease-out infinite;
}

@keyframes node-ping {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* stagger the ping animations */
.node-1::before { animation-delay: 0s; }
.node-2::before { animation-delay: 0.5s; }
.node-3::before { animation-delay: 1s; }
.node-4::before { animation-delay: 1.5s; }
.node-5::before { animation-delay: 2s; }
.node-6::before { animation-delay: 2.5s; }

/* AMS-01 — top center-left (primary hub, larger) */
.node-1 {
  top: 15%;
  left: 28%;
  width: 16px;
  height: 16px;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

/* FRA-02 */
.node-2 { top: 9%; left: 68%; }

/* LON-01 */
.node-3 { top: 47%; left: 12%; }

/* PAR-01 — center */
.node-4 { top: 44%; left: 48%; }

/* BER-01 */
.node-5 { top: 40%; left: 83%; }

/* ZUR-01 */
.node-6 { top: 82%; left: 33%; }

.node-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.node-1 .node-label {
  color: var(--cyan);
  font-weight: 700;
}

/* ---- metrics bar ---- */

.metrics-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.metrics-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 48px;
}

.metric-value {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}

.metric-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cyan);
}

.metric-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* ---- services ---- */

.services {
  padding: 100px 0;
  background: var(--void);
  position: relative;
}

/* subtle horizontal lines texture */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 79px,
    var(--border) 79px,
    var(--border) 80px
  );
  pointer-events: none;
  opacity: 0.5;
}

.services .section-inner {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-strong);
  border: 1px solid var(--border-strong);
}

.service-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.3s;
  position: relative;
}

.service-card:hover {
  background: var(--surface-raised);
}

/* cyan top-left accent on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s;
}

.service-card:hover::before {
  width: 48px;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  font-family: var(--mono);
}

.service-id {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
}

.service-specs li {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 10px;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

/* ---- network section ---- */

.network-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.network-info h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.network-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.network-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-key {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-val {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-bright);
}

/* terminal */
.network-terminal {
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--surface-overlay);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
}

.terminal-dot:first-child { background: #ff5f57; opacity: 0.6; }
.terminal-dot:nth-child(2) { background: #febc2e; opacity: 0.6; }
.terminal-dot:nth-child(3) { background: #28c840; opacity: 0.6; }

.terminal-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: auto;
  letter-spacing: 0.02em;
}

.terminal-body {
  background: var(--void);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 320px;
}

.terminal-body code {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
  display: block;
}

.t-prompt { color: var(--cyan); }
.t-accent { color: var(--cyan); font-weight: 600; }
.t-green { color: var(--green); }
.t-dim { color: var(--text-muted); }
.t-blank { height: 4px; }

.t-cursor {
  color: var(--cyan);
  animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---- about ---- */

.about {
  padding: 100px 0;
  background: var(--void);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}

.about-left h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-right p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-locations {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-strong);
}

.location {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location strong {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: 0.02em;
}

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

/* ---- contact ---- */

.contact {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
}

.contact-left h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-block strong {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-block a,
.contact-block span {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.contact-block a:hover { color: var(--cyan); }

/* form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  background: var(--void);
  color: var(--text-bright);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.1);
}

.form-group textarea { resize: vertical; }

.contact-right .btn {
  width: 100%;
  text-align: center;
}

.thank-you {
  text-align: center;
  font-size: 1rem;
  color: var(--cyan);
  padding: 60px 0;
  font-family: var(--mono);
}

/* ---- footer ---- */

.site-footer {
  background: var(--void);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 56px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
}

.footer-brand .wordmark {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col strong {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* ---- responsive ---- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 24px 80px;
  }

  .hero h1 { font-size: 2.8rem; }

  .hero-visual {
    max-width: 360px;
  }

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

  .network-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .metrics-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .metric { padding: 20px 32px; }

  .header-status { display: none; }

  .section-inner,
  .footer-inner { padding-left: 24px; padding-right: 24px; }

  .services,
  .network-section,
  .about,
  .contact { padding: 72px 0; }

  .header-inner { padding: 0 24px; }
  .footer-bottom { padding: 20px 24px; }

  .section-header h2,
  .network-info h2,
  .about-left h2,
  .contact-left h2 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn { text-align: center; }

  .hero-visual { display: none; }

  .metrics-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .metric {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 24px;
  }

  .metric-divider {
    width: 100%;
    height: 1px;
  }

  .about-locations {
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 28px;
  }

  .main-nav { gap: 16px; }

  .terminal-body { min-height: auto; }

  .terminal-body code {
    font-size: 0.65rem;
  }
}
