@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b1021;
  --card: #0f172a;
  --card-alt: #121a31;
  --surface: #0b1021;
  --text: #e8ecf6;
  --muted: #9fb2d7;
  --accent: #5cf0d6;
  --accent-2: #7c9bff;
  --accent-3: #ff9bd1;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max-width: 1200px;
}

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

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", -apple-system, sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(92, 240, 214, 0.1), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(124, 155, 255, 0.12), transparent 26%),
    radial-gradient(circle at 20% 80%, rgba(255, 155, 209, 0.08), transparent 30%),
    #060913;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(96%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(6, 9, 19, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 16px;
  background: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.brand-tagline {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-link.active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  box-shadow: 0 12px 26px rgba(124, 155, 255, 0.35);
  border: 1px solid transparent;
}

.lang-toggle {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  border-color: transparent;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #060913;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(124, 155, 255, 0.35);
}

.lang-toggle {
  min-width: 44px;
  height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(124, 155, 255, 0.4);
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(124, 155, 255, 0.45);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, rgba(124, 155, 255, 0.2), rgba(92, 240, 214, 0.08));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 14px 0;
}

.hero-copy p {
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

.hero-meta span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
}

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

.orbit {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(124, 155, 255, 0.2), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(92, 240, 214, 0.2), transparent 35%),
    rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(800px) rotateX(var(--tiltY, 0deg)) rotateY(var(--tiltX, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  filter: drop-shadow(0 8px 20px rgba(124, 155, 255, 0.35));
  animation: float 6s ease-in-out infinite;
}

.orbit-dot.big {
  width: 110px;
  height: 110px;
  top: 16%;
  right: 12%;
  animation-delay: 0.2s;
}

.orbit-dot.medium {
  width: 72px;
  height: 72px;
  bottom: 16%;
  left: 18%;
  animation-delay: 0.6s;
}

.orbit-dot.small {
  width: 48px;
  height: 48px;
  top: 46%;
  left: 42%;
  animation-delay: 1s;
}
.floating-card {
  position: absolute;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  max-width: 200px;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
}

.floating-card.alt {
  right: 10%;
  bottom: 18%;
}

.floating-card:not(.alt) {
  top: 18%;
  left: 12%;
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: #0d1324;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

h2 {
  margin: 8px 0 12px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
}

.lede {
  color: var(--muted);
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124, 155, 255, 0.12);
  color: #cdd7ff;
  border: 1px solid rgba(124, 155, 255, 0.3);
  font-weight: 600;
}

.pill.muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-color: var(--border);
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(124, 155, 255, 0.12), transparent 40%);
  pointer-events: none;
}

.card-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px 0 8px;
}

.card p {
  color: var(--muted);
}

.card.highlight {
  background: linear-gradient(145deg, rgba(92, 240, 214, 0.06), rgba(124, 155, 255, 0.07));
  border: 1px solid rgba(92, 240, 214, 0.25);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(124, 155, 255, 0.35);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--card-alt);
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent, #7c9bff) 55%, rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card {
  --accent: var(--accent-2);
}

.product-card .product-icon {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, rgba(255, 255, 255, 0.08)), rgba(255, 255, 255, 0.06));
}

.product-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 60%);
  top: -40px;
  right: -60px;
  transform: rotate(18deg);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.04));
  color: #f4f7ff;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, rgba(255, 255, 255, 0.08));
  position: relative;
  z-index: 1;
}

.product-title {
  margin: 0;
  position: relative;
  z-index: 1;
}

.product-desc {
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.meta-pill {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  border-color: color-mix(in srgb, var(--accent) 60%, rgba(255, 255, 255, 0.12));
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.metric-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.metric-number {
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 6px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.metric-label {
  color: var(--muted);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  width: 100%;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.contact-icon {
  font-size: 22px;
}

.contact-label {
  color: var(--muted);
  margin: 0;
}

.contact-value {
  margin: 2px 0 0;
  font-weight: 600;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent-2);
  box-shadow: 0 0 0 4px rgba(124, 155, 255, 0.2);
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  box-shadow: 0 12px 30px rgba(124, 155, 255, 0.4);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn.full {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(124, 155, 255, 0.45);
}

.footer {
  border-top: 1px solid var(--border);
  background: #080c18;
  padding: 32px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-weight: 600;
}

.footer-meta {
  color: var(--muted);
  font-size: 14px;
}

.footer-note {
  color: var(--muted);
  max-width: 460px;
}

.hero-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.product-card:hover .product-icon,
.card:hover .card-icon,
.contact-card:hover .contact-icon {
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent-2) 60%, var(--accent)));
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

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

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Nav and filter pills to match CTA gradient style */
.nav-link {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent-2) 50%, rgba(255, 255, 255, 0.14));
}

.nav-link.active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  box-shadow: 0 12px 26px rgba(124, 155, 255, 0.35);
  border: 1px solid transparent;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: color-mix(in srgb, var(--accent-2) 45%, rgba(255, 255, 255, 0.16));
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0f1f;
  box-shadow: 0 14px 28px rgba(124, 155, 255, 0.35);
  border: 1px solid transparent;
}

/* typography corrections */
.nav-link {
  font-weight: 600;
}
.nav-link.active {
  font-weight: 700;
}
.filter-btn {
  font-weight: 600;
}
.brand-name {
  font-weight: 700;
}
.btn {
  font-weight: 800;
}

@media (max-width: 1024px) {
  .section-head {
    align-items: center;
  }

  .hero {
    padding: 64px 0 48px;
  }
}

@media (max-width: 840px) {
  .nav-bar {
    padding: 12px 0;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 16px;
    background: rgba(8, 12, 24, 0.94);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: min(260px, 90vw);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    text-align: center;
    justify-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .section-head {
    justify-content: center;
    text-align: center;
  }

  .contact-grid {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-bar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    justify-content: center;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .footer-grid {
    text-align: center;
  }
}
