:root {
  --bg: #070b18;
  --bg-soft: #0f1630;
  --text: #e7ecff;
  --muted: #b5c0e7;
  --primary: #5ad1ff;
  --secondary: #8b7dff;
  --card: rgba(14, 22, 45, 0.7);
  --border: rgba(147, 177, 255, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  perspective: 1200px;
}

body.is-loading {
  overflow: hidden;
  height: 100vh;
}

.loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  z-index: 120;
  background: radial-gradient(circle at 25% 20%, rgba(90, 209, 255, 0.22), transparent 42%),
    linear-gradient(145deg, #060a16, #0b1230);
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 16px rgba(90, 209, 255, 0.6));
}

.loader-content p {
  margin: 0 0 0.8rem;
  color: #d8e8ff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.loader-bar {
  width: 210px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  animation: loading 2.3s ease forwards;
}

@keyframes loading {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

#three-background {
  position: fixed;
  inset: 0;
  z-index: -3;
}

.overlay-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(90, 209, 255, 0.24), transparent 38%),
    radial-gradient(circle at 80% 15%, rgba(139, 125, 255, 0.2), transparent 35%),
    linear-gradient(140deg, rgba(7, 11, 24, 0.9), rgba(7, 11, 24, 0.7));
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 24, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 34px;
  height: 34px;
}

.nav {
  display: inline-flex;
  gap: 1.1rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #d8e7ff;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.nav a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav a:hover {
  color: var(--primary);
}

.hero {
  padding: 7.5rem 0 4.5rem;
  transform: translateZ(0);
}

.cinematic-strip {
  margin-top: 1.6rem;
  width: min(440px, 100%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(90, 209, 255, 0.9), rgba(139, 125, 255, 0.9), transparent);
  filter: drop-shadow(0 0 10px rgba(90, 209, 255, 0.7));
}

.eyebrow {
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  line-height: 1.15;
}

h1 {
  max-width: 900px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.hero-copy {
  max-width: 770px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 0.74rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35), transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.45s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn:hover::before {
  transform: translateX(130%);
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), #5ba8ff 55%, var(--secondary));
  color: #02111f;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(90, 209, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.section {
  padding: 3.2rem 0;
  position: relative;
}

.section h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards {
  margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: linear-gradient(165deg, rgba(16, 27, 58, 0.88), rgba(8, 14, 36, 0.85));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.05rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(90, 209, 255, 0.55), rgba(139, 125, 255, 0.35), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
  transform-style: preserve-3d;
  animation: floatIcon 4.2s ease-in-out infinite;
}

.icon-cube {
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(90, 209, 255, 0.95), rgba(49, 110, 255, 0.65));
  box-shadow: inset -8px -8px 14px rgba(0, 0, 0, 0.18), 0 10px 22px rgba(66, 151, 255, 0.45);
}

.icon-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d8f2ff, #5ad1ff 55%, #3b58cf);
  box-shadow: 0 10px 22px rgba(90, 209, 255, 0.4);
}

.icon-prism {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(145deg, #c6dbff, #8b7dff);
  box-shadow: 0 10px 22px rgba(139, 125, 255, 0.38);
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-6px) rotateY(10deg);
  }
}

.card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
  border-color: rgba(90, 209, 255, 0.55);
  box-shadow: 0 20px 34px rgba(35, 153, 255, 0.2);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: stretch;
}

.pillars {
  margin-top: 1.1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.bento-card {
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -95px;
  top: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 209, 255, 0.18), transparent 70%);
}

.bento-large {
  grid-column: span 6;
}

.bento-wide {
  grid-column: span 6;
}

.bento-grid .bento-card:not(.bento-large):not(.bento-wide) {
  grid-column: span 3;
}

.pill-tag {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(90, 209, 255, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  color: #bde9ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar {
  background: linear-gradient(160deg, rgba(17, 27, 55, 0.85), rgba(9, 14, 33, 0.78));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-panel,
.metrics-panel,
.contact-form {
  background: linear-gradient(160deg, rgba(16, 25, 52, 0.82), rgba(9, 14, 31, 0.8));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  backdrop-filter: blur(10px);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.15rem 0 0.9rem;
}

.about-badges span {
  border: 1px solid rgba(139, 125, 255, 0.45);
  border-radius: 999px;
  padding: 0.26rem 0.72rem;
  font-size: 0.8rem;
  color: #d8ceff;
  background: rgba(139, 125, 255, 0.12);
}

.timeline {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  position: relative;
  padding-left: 1.4rem;
}

.timeline-line {
  position: absolute;
  left: 0.35rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(90, 209, 255, 0.9), rgba(139, 125, 255, 0.85), rgba(139, 125, 255, 0.05));
  box-shadow: 0 0 14px rgba(90, 209, 255, 0.55);
}

.timeline-item {
  background: linear-gradient(165deg, rgba(18, 29, 59, 0.82), rgba(10, 17, 39, 0.78));
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 1rem;
  position: relative;
}

.timeline-item span {
  display: inline-flex;
  min-width: 38px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(90, 209, 255, 0.16);
  border: 1px solid rgba(90, 209, 255, 0.4);
  margin-bottom: 0.6rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem;
  background: linear-gradient(155deg, rgba(90, 209, 255, 0.14), rgba(139, 125, 255, 0.12), rgba(8, 14, 33, 0.7));
}

.cta-panel p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
}

.logos-marquee {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(14, 24, 53, 0.85), rgba(8, 14, 33, 0.85));
}

.logos-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 0.9rem;
  animation: marqueeMove 30s linear infinite;
}

.logos-track span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 209, 255, 0.34);
  background: rgba(90, 209, 255, 0.08);
  font-weight: 600;
  color: #d6ecff;
  white-space: nowrap;
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-slider {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #d8e7ff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.testimonial-track-wrap {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 0.8rem;
  transition: transform 0.42s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 0.54rem);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(17, 27, 55, 0.86), rgba(8, 15, 35, 0.82));
}

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.country-flag {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: #c5e6ff;
  border: 1px solid rgba(90, 209, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(90, 209, 255, 0.08);
}

.stars {
  display: inline-flex;
  gap: 0.16rem;
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: #ffd873;
  filter: drop-shadow(0 0 4px rgba(255, 216, 115, 0.25));
  transform-origin: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.testimonial-card:hover .stars svg {
  animation: starPulse 0.55s ease;
}

.testimonial-card:hover .stars svg:nth-child(2) { animation-delay: 0.03s; }
.testimonial-card:hover .stars svg:nth-child(3) { animation-delay: 0.06s; }
.testimonial-card:hover .stars svg:nth-child(4) { animation-delay: 0.09s; }
.testimonial-card:hover .stars svg:nth-child(5) { animation-delay: 0.12s; }

@keyframes starPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.22) rotate(-7deg); filter: drop-shadow(0 0 9px rgba(255, 216, 115, 0.9)); }
  100% { transform: scale(1); }
}

.testimonial-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  margin-top: auto;
}

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: linear-gradient(160deg, rgba(15, 24, 52, 0.84), rgba(8, 14, 32, 0.82));
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
}

.about-panel li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.about-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.metrics-panel {
  display: grid;
  gap: 0.75rem;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.metric-value {
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
  color: #d8e7ff;
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form {
  max-width: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-full {
  padding-top: 3.6rem;
  padding-bottom: 3.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-info {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  background: linear-gradient(160deg, rgba(16, 25, 52, 0.82), rgba(9, 14, 31, 0.8));
}

.contact-points {
  margin-top: 1rem;
}

.contact-points p {
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.field {
  position: relative;
  display: block;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 1.1rem 0.82rem 0.62rem;
  font: inherit;
}

.field span {
  position: absolute;
  left: 0.82rem;
  top: 0.78rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.22s ease;
  font-size: 0.94rem;
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  top: 0.33rem;
  font-size: 0.72rem;
  color: #9fdfff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(90, 209, 255, 0.18);
}

.form-status {
  min-height: 1.25rem;
  color: #81ffc6;
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  background: rgba(5, 9, 20, 0.75);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: rgba(15, 24, 50, 0.95);
  border: 1px solid rgba(129, 255, 198, 0.45);
  color: #bcffd8;
  border-radius: 0.8rem;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  --parallax-shift: 0px;
  transform: translate3d(0, calc(var(--parallax-shift) * 0.25), 0);
  will-change: transform;
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader-bar span,
  .reveal,
  .reveal-item,
  .btn,
  .card,
  .card-icon {
    transition: none;
    animation: none;
    transform: none;
  }

  .logos-track {
    animation: none;
  }
}

@media (max-width: 860px) {
  .header {
    position: sticky;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide,
  .bento-grid .bento-card:not(.bento-large):not(.bento-wide) {
    grid-column: span 1;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 4%;
    left: 4%;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid var(--border);
    background: rgba(9, 15, 32, 0.98);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .timeline {
    padding-left: 0.95rem;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-meta {
    flex-wrap: wrap;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
