@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Orbitron:wght@600;700&display=swap');

:root {
  --bg: #070b13;
  --bg-soft: #0b1220;
  --surface: rgba(18, 28, 47, 0.72);
  --surface-solid: #111a2b;
  --text: #f4f7fb;
  --muted: #9aa8bc;
  --line: rgba(255, 255, 255, 0.1);
  --red: #c80812;
  --red-light: #ff2934;
  --cyan: #48d8ff;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(200, 8, 18, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 15%, rgba(72, 216, 255, 0.08), transparent 28rem),
    var(--bg);
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--red-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
h3 { margin-bottom: 12px; font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.75; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}
.site-header.scrolled {
  background: rgba(7, 11, 19, 0.82);
  backdrop-filter: blur(20px);
  border-color: var(--line);
}
.navbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: "Orbitron", sans-serif; font-weight: 700; }
.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 0.94rem; font-weight: 600; }
.nav-links a { color: #c7d1df; transition: 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 12px 20px;
  border: 1px solid rgba(255, 41, 52, 0.45);
  border-radius: 999px;
  background: rgba(200, 8, 18, 0.13);
}
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: #fff; }

.hero {
  min-height: 860px;
  padding: 170px 0 100px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 70px; position: relative; z-index: 1; }
.hero-text { max-width: 690px; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 30px; flex-wrap: wrap; }
.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-light), var(--red));
  box-shadow: 0 18px 40px rgba(200, 8, 18, 0.25);
}
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,0.04); }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; color: #cbd5e2; font-size: 0.86rem; }
.hero-points span::before { content: "•"; color: var(--red-light); margin-right: 8px; }

.hero-visual { display: grid; place-items: center; }
.logo-card {
  width: min(100%, 480px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.logo-card::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,8,18,0.14), transparent 66%);
  filter: blur(4px);
}
.logo-card > img { width: 68%; border-radius: 50%; position: relative; z-index: 2; filter: drop-shadow(0 24px 28px rgba(0,0,0,0.28)); }
.logo-ring {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(72,216,255,0.25);
  border-radius: 50%;
  animation: spin 25s linear infinite;
}
.logo-ring::before, .logo-ring::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 20px rgba(72,216,255,0.8);
}
.logo-ring::before { left: 12%; top: 12%; }
.logo-ring::after { right: 8%; bottom: 20%; background: var(--red-light); box-shadow: 0 0 20px rgba(255,41,52,0.8); }
@keyframes spin { to { transform: rotate(360deg); } }
.status-card {
  position: absolute;
  z-index: 3;
  min-width: 165px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10,16,27,0.87);
  backdrop-filter: blur(15px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.status-card strong { display: block; font-size: 0.9rem; }
.status-card span { color: var(--muted); font-size: 0.73rem; }
.status-one { top: 14%; left: -8%; }
.status-two { right: -8%; bottom: 14%; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; right: -180px; top: 80px; background: rgba(200,8,18,0.1); }
.hero-glow-two { width: 330px; height: 330px; left: -160px; bottom: 30px; background: rgba(72,216,255,0.07); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,0.018); }
.trust-grid { min-height: 132px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: grid; place-content: center; padding: 25px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { font-size: 1.75rem; }
.trust-grid span { margin-top: 4px; color: var(--muted); font-size: 0.8rem; }

.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading > p:last-child { max-width: 650px; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-card {
  grid-column: span 2;
  min-height: 430px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(255,41,52,0.4); }
.service-card::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px; border-radius: 50%;
  right: -95px; bottom: -100px;
  background: rgba(200,8,18,0.12);
  filter: blur(10px);
}
.service-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 16px; background: rgba(255,41,52,0.12); color: var(--red-light);
  font-family: "Orbitron", sans-serif; font-size: 1.25rem; margin-bottom: 45px;
}
.service-number { position: absolute; right: 26px; top: 28px; color: rgba(255,255,255,0.19); font-weight: 800; }
.service-card p { font-size: 0.92rem; }
.service-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.service-card li { margin-top: 10px; color: #d1d9e5; font-size: 0.86rem; }
.service-card li::before { content: "→"; color: var(--red-light); margin-right: 10px; }
.service-card.featured { background: linear-gradient(145deg, rgba(200,8,18,0.16), rgba(18,28,47,0.75)); }

.about { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.018), transparent); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.network-panel {
  width: 100%; aspect-ratio: 1;
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 36px;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    #0a101b;
  background-size: 36px 36px;
}
.panel-center {
  position: absolute; inset: 31%; z-index: 2;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,41,52,0.35);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 0 60px rgba(200,8,18,0.2);
}
.panel-center img { width: 86%; }
.node { position: absolute; width: 18px; height: 18px; border: 4px solid #0a101b; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px rgba(72,216,255,0.6); z-index: 3; }
.node-a { top: 15%; left: 23%; }
.node-b { top: 19%; right: 18%; background: var(--red-light); }
.node-c { bottom: 18%; left: 16%; background: var(--red-light); }
.node-d { bottom: 13%; right: 25%; }
.node-e { top: 48%; right: 10%; }
.line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(72,216,255,0.75), transparent); transform-origin: left center; }
.line-a { width: 43%; left: 25%; top: 21%; transform: rotate(24deg); }
.line-b { width: 35%; left: 19%; top: 65%; transform: rotate(-28deg); }
.line-c { width: 37%; left: 56%; top: 55%; transform: rotate(-24deg); }
.line-d { width: 38%; left: 55%; top: 39%; transform: rotate(20deg); }

.about-copy > p { max-width: 700px; }
.about-list { margin-top: 32px; display: grid; gap: 18px; }
.about-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.about-list span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,41,52,0.13); color: var(--red-light); font-weight: 800; }
.about-list p { margin: 0; font-size: 0.9rem; }
.about-list strong { color: var(--text); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { min-height: 235px; padding: 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); }
.process-step > span { display: inline-block; margin-bottom: 45px; color: var(--red-light); font-family: "Orbitron", sans-serif; font-size: 0.82rem; }
.process-step p { font-size: 0.9rem; }

.contact { padding-top: 70px; }
.contact-box {
  padding: 60px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  border: 1px solid rgba(255,41,52,0.25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 100%, rgba(200,8,18,0.18), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}
.contact-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.contact-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #c8d2df; font-size: 0.78rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: #dce3ec; font-size: 0.82rem; font-weight: 700; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4), .form-button, .form-note { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%; color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5,9,16,0.62);
  outline: none;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,41,52,0.6); box-shadow: 0 0 0 4px rgba(255,41,52,0.08); }
.form-note { margin: 0; text-align: center; font-size: 0.75rem; }

footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand span, footer p, footer a { color: var(--muted); font-size: 0.78rem; margin: 0; }

.message-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 20px;
  background: rgba(2,5,10,0.82); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: 0.25s ease;
}
.message-modal.open { opacity: 1; visibility: visible; }
.modal-card {
  width: min(100%, 620px); padding: 34px; position: relative;
  border: 1px solid var(--line); border-radius: 24px; background: var(--surface-solid); box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 14px; right: 18px; border: 0; background: none; color: #fff; font-size: 2rem; cursor: pointer; }
.modal-card textarea { margin: 14px 0; min-height: 220px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-box { grid-template-columns: 1fr; }
  .hero { padding-top: 150px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .logo-card { width: min(82vw, 500px); }
  .service-card { grid-column: span 3; }
  .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about-visual { max-width: 620px; margin-inline: auto; width: 100%; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 80px 0; }
  .navbar { height: 76px; }
  .brand img { width: 46px; height: 46px; }
  .brand span { font-size: 0.9rem; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 14px; right: 14px;
    display: grid; gap: 8px; padding: 18px;
    border: 1px solid var(--line); border-radius: 18px;
    background: rgba(7,11,19,0.97);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: 0.25s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 10px; }
  .hero { min-height: auto; padding: 125px 0 80px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.3rem); }
  .status-one { left: -2%; }
  .status-two { right: -2%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div, .trust-grid div:first-child { border: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; min-height: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 32px 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
