:root {
  color-scheme: light dark;
  --bg: #070810;
  --bg-alt: #0c0f1d;
  --bg-card: rgba(17, 21, 40, 0.85);
  --text: #f5f7ff;
  --text-muted: rgba(245, 247, 255, 0.72);
  --accent: #5c8dff;
  --accent-strong: #7ef3ff;
  --accent-warm: #f5b16c;
  --border: rgba(124, 139, 177, 0.24);
  --shadow: 0 20px 60px rgba(4, 10, 40, 0.45);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --gradient: linear-gradient(135deg, rgba(92, 141, 255, 0.9), rgba(126, 243, 255, 0.7));
  --gradient-warm: linear-gradient(135deg, rgba(245, 177, 108, 0.9), rgba(92, 141, 255, 0.8));
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(126, 243, 255, 0.14), transparent 45%),
    radial-gradient(circle at bottom right, rgba(92, 141, 255, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

section {
  scroll-margin-top: 120px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px clamp(24px, 6vw, 96px);
  background: rgba(4, 8, 18, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
  padding: 140px clamp(24px, 6vw, 96px) 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(92, 141, 255, 0.24), transparent 55%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo img {
  height: 40px;
  width: 40px;
  display: block;
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.footer-logo {
  align-items: flex-start;
  font-size: 1.2rem;
}

.footer-logo img {
  height: 38px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.cta {
  background: rgba(126, 243, 255, 0.12);
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-content {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.5vw, 3.9rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-subtext {
  color: rgba(245, 247, 255, 0.82);
  max-width: 560px;
  margin-top: -12px;
  margin-bottom: 32px;
  font-size: 0.98rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(126, 243, 255, 0.2);
}

.btn.primary {
  background: var(--gradient);
  color: #010409;
}

.btn.secondary {
  border-color: rgba(126, 243, 255, 0.4);
  color: var(--accent-strong);
}

.btn.tertiary {
  border-color: rgba(245, 177, 108, 0.5);
  color: var(--accent-warm);
}

.hero-metrics {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.metric-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.globe {
  width: clamp(260px, 28vw, 360px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(126, 243, 255, 0.8), rgba(92, 141, 255, 0.55) 55%, rgba(7, 8, 16, 0.8));
  filter: drop-shadow(0 35px 80px rgba(92, 141, 255, 0.35));
  margin: 0 auto;
  position: relative;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.globe::after {
  inset: 24%;
}

.signal {
  position: absolute;
  inset: 30% auto auto 50%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(126, 243, 255, 0.35);
  transform: translateX(-50%);
  animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.2;
    transform: translateX(-50%) scale(1.2);
  }
}

.cards {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  gap: 18px;
  justify-content: center;
  transform: translateY(50%);
}

.card {
  background: var(--bg-card);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  width: 220px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

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

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

.section {
  padding: 110px clamp(24px, 6vw, 96px);
  position: relative;
}

.section-header {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header p {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(126, 243, 255, 0.1);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pillars {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pillar {
  padding: 28px;
  background: rgba(10, 13, 26, 0.75);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.pillar h3 {
  margin-bottom: 14px;
}

.stack-diagram {
  display: grid;
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}

.stack-layer {
  background: rgba(11, 16, 30, 0.8);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(126, 243, 255, 0.12);
  position: relative;
}

.stack-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 243, 255, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stack-layer:hover::before {
  opacity: 1;
}

.patent-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.patent-card {
  padding: 32px;
  background: rgba(9, 14, 30, 0.85);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(92, 141, 255, 0.2);
  box-shadow: var(--shadow);
}

.patent-card h3 {
  font-size: 1.2rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

.patent-number {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-strong);
  letter-spacing: 0.08em;
}

.patent-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.patent-highlights {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: var(--text-muted);
}

.patent-highlights li {
  line-height: 1.5;
}

.patent-card details {
  border-top: 1px solid rgba(92, 141, 255, 0.28);
  padding-top: 16px;
  margin-bottom: 20px;
}

.patent-card details[open] {
  padding-bottom: 4px;
}

.patent-card summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
}

.patent-card summary::marker {
  display: none;
}

.patent-card summary::-webkit-details-marker {
  display: none;
}

.patent-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.patent-links a {
  color: var(--text-base);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.patent-links a::after {
  content: "↗";
  font-size: 0.85em;
  color: var(--accent);
}

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

.result {
  padding: 24px;
  background: rgba(12, 16, 30, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.result h3 {
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.timeline-steps li {
  list-style: none;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(9, 12, 24, 0.8);
  border: 1px solid rgba(92, 141, 255, 0.14);
  position: relative;
}

.timeline-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -20px;
  left: 28px;
  background: var(--gradient-warm);
  color: #05060f;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pricing-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(10, 13, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 14px;
}

.pricing-card.featured {
  border-color: rgba(126, 243, 255, 0.5);
  background: linear-gradient(160deg, rgba(12, 18, 36, 0.95), rgba(92, 141, 255, 0.12));
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.price .unit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price .currency {
  margin-right: 4px;
}

.pricing-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-grid figure {
  padding: 32px;
  background: rgba(8, 12, 24, 0.85);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.testimonial-grid blockquote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.faq-items {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

details {
  background: rgba(9, 12, 22, 0.85);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 24px;
}

details summary {
  font-weight: 600;
  cursor: pointer;
}

details[open] summary {
  color: var(--accent-strong);
  margin-bottom: 12px;
}

details p {
  color: var(--text-muted);
}

.contact {
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(92, 141, 255, 0.28), transparent 60%), var(--bg-alt);
}

.contact-card {
  width: min(760px, 100%);
  padding: 48px;
  border-radius: var(--radius-lg);
  background: rgba(5, 8, 18, 0.92);
  border: 1px solid rgba(126, 243, 255, 0.18);
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 500;
}

input,
textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(126, 243, 255, 0.25);
  background: rgba(4, 6, 14, 0.95);
  color: var(--text);
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(126, 243, 255, 0.35);
  outline-offset: 2px;
}

.contact-meta {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.contact-meta h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer {
  padding: 48px clamp(24px, 6vw, 96px) 24px;
  background: rgba(4, 6, 14, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}

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

.footer-links h4 {
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.back-to-top {
  color: var(--accent-strong);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5, 8, 18, 0.98);
    padding: 90px 32px 32px;
    border-radius: 0 0 0 var(--radius-lg);
    width: min(360px, 90vw);
    margin-left: auto;
    transform: translateY(-110%);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(4, 8, 18, 0.6);
    z-index: 10;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 14px clamp(18px, 8vw, 32px);
  }

  .logo img {
    height: 38px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 160px;
  }

  .cards {
    position: static;
    transform: none;
    margin-top: 32px;
  }

  .hero-visual {
    min-height: unset;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-inline: clamp(16px, 7vw, 24px);
  }

  .hero-metrics {
    flex-direction: column;
    gap: 18px;
  }

  .contact-card {
    padding: 32px;
  }
}
