@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --primary: #6c63ff;
  --accent: #00d4ff;
  --dark: #080b14;
  --dark-2: #0f1420;
  --dark-3: #161b2e;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --border: rgba(108, 99, 255, 0.2);
  --gradient: linear-gradient(135deg, #6c63ff, #00d4ff);

  --radius: 18px;
  --container: 1120px;

  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 20px 70px rgba(108, 99, 255, 0.18);
  --ring: 0 0 0 3px rgba(0, 212, 255, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 10%, rgba(108, 99, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 80% 30%, rgba(0, 212, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 65%, var(--dark) 100%);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: rgba(0, 212, 255, 0.25);
}

/* Custom scrollbar */
*::-webkit-scrollbar {
  width: 10px;
}
*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
*::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, 0.25);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.04);
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.25);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: none;
  box-shadow: var(--ring);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.muted {
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.hover-glow {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hover-glow:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 70px rgba(0, 212, 255, 0.08), 0 18px 65px rgba(108, 99, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.25);
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  width: min(100% - 24px, calc(var(--container) + 24px));
  margin: 14px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: rgba(8, 11, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled .navbar {
  background: rgba(8, 11, 20, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-syntravo {
  color: var(--text-primary);
}

.logo-ai {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.logo-text {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.logo:hover .logo-text {
  text-shadow: 0 0 22px rgba(0, 212, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--text-secondary);
  padding: 10px 10px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}
.nav-link.is-active {
  color: var(--text-primary);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.18);
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}
.nav-toggle:focus {
  outline: none;
  box-shadow: var(--ring);
}
.nav-toggle-lines {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  margin: 0 auto;
  position: relative;
  border-radius: 99px;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
  will-change: transform;
}
.btn:focus {
  outline: none;
  box-shadow: var(--ring);
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-gradient {
  background: var(--gradient);
  color: #050713;
  box-shadow: 0 18px 45px rgba(108, 99, 255, 0.22);
}
.btn-gradient:hover {
  box-shadow: 0 18px 55px rgba(0, 212, 255, 0.18), 0 18px 55px rgba(108, 99, 255, 0.18);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-outline:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 18px 55px rgba(0, 212, 255, 0.1);
}

.btn-dark {
  background: rgba(8, 11, 20, 0.6);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-dark:hover {
  border-color: rgba(108, 99, 255, 0.25);
}

/* Inputs */
.input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: var(--ring);
  background: rgba(255, 255, 255, 0.04);
}
textarea.input {
  resize: vertical;
  min-height: 120px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 14px);
  display: grid;
  align-items: center;
  padding: 110px 0 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-dots {
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.55;
  animation: floatSlow 10s ease-in-out infinite;
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero-glow {
  position: absolute;
  inset: -120px;
  background: radial-gradient(500px 280px at 20% 20%, rgba(108, 99, 255, 0.20), transparent 70%),
    radial-gradient(620px 320px at 80% 30%, rgba(0, 212, 255, 0.16), transparent 70%),
    radial-gradient(520px 260px at 50% 85%, rgba(108, 99, 255, 0.18), transparent 70%);
  filter: blur(10px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-secondary);
  font-weight: 600;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.12);
}

.hero-title {
  margin: 16px 0 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem);
}

.hero-subtext {
  margin: 14px 0 0;
  color: var(--text-secondary);
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  opacity: 0.85;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}
.scroll-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  animation: scrollDot 1.35s ease-in-out infinite;
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  animation: scrollArrow 1.35s ease-in-out infinite;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
}

.section-subtitle {
  margin: 10px 0 0;
  color: var(--text-secondary);
  max-width: 70ch;
}

/* Stats */
.stats {
  padding: 0 0 30px;
  margin-top: -28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  padding: 16px 16px;
}
.stat-value {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 1.5rem;
}
.stat-label {
  margin-top: 6px;
  color: var(--text-secondary);
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 14px;
}
.cards-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 18px;
}
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.18);
  color: var(--accent);
}
.card h3 {
  margin: 14px 0 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--text-secondary);
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.22);
  position: relative;
  flex: 0 0 auto;
  margin-top: 2px;
}
.check::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 4px;
  border-left: 2px solid rgba(0, 212, 255, 0.95);
  border-bottom: 2px solid rgba(0, 212, 255, 0.95);
  transform: rotate(-45deg);
  opacity: 0;
}
.is-visible .check::after {
  animation: checkPop 0.45s ease forwards;
}

/* Mockup */
.mockup {
  position: relative;
  overflow: hidden;
  padding: 14px;
}
.mockup-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.d1 {
  background: rgba(255, 89, 89, 0.8);
}
.dot.d2 {
  background: rgba(255, 203, 89, 0.8);
}
.dot.d3 {
  background: rgba(89, 255, 166, 0.75);
}
.mockup-title {
  margin-left: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.mockup-body {
  padding: 14px 10px 12px;
  display: grid;
  gap: 10px;
}
.skeleton {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mockup-chart {
  height: 120px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  grid-auto-flow: column;
  align-items: end;
  gap: 8px;
  padding: 14px;
}
.mockup-chart span {
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.85), rgba(108, 99, 255, 0.65));
  opacity: 0.9;
  animation: barPulse 1.8s ease-in-out infinite;
}
.mockup-chart span:nth-child(1) {
  height: 30%;
}
.mockup-chart span:nth-child(2) {
  height: 52%;
  animation-delay: 0.1s;
}
.mockup-chart span:nth-child(3) {
  height: 38%;
  animation-delay: 0.2s;
}
.mockup-chart span:nth-child(4) {
  height: 65%;
  animation-delay: 0.3s;
}
.mockup-chart span:nth-child(5) {
  height: 48%;
  animation-delay: 0.4s;
}
.mockup-chart span:nth-child(6) {
  height: 72%;
  animation-delay: 0.5s;
}
.mockup-chart span:nth-child(7) {
  height: 56%;
  animation-delay: 0.6s;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.82rem;
}
.mockup-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(600px 320px at 30% 20%, rgba(0, 212, 255, 0.12), transparent 60%),
    radial-gradient(600px 320px at 70% 70%, rgba(108, 99, 255, 0.16), transparent 60%);
  filter: blur(18px);
  pointer-events: none;
}

/* Carousel / testimonials */
.carousel {
  position: relative;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.testimonial {
  padding: 18px;
}
.t-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.22);
  color: var(--text-primary);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.t-name {
  font-weight: 700;
}
.t-meta {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.t-quote {
  margin: 14px 0 0;
  color: var(--text-secondary);
}
.carousel-controls {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-primary);
  cursor: pointer;
}
.icon-btn:hover {
  border-color: rgba(0, 212, 255, 0.22);
  box-shadow: 0 16px 45px rgba(0, 212, 255, 0.08);
}
.icon-btn:focus {
  outline: none;
  box-shadow: var(--ring);
}

/* CTA */
.cta {
  padding: 80px 0;
  background: var(--gradient);
  color: #050713;
}
.cta-inner {
  display: grid;
  justify-items: start;
  gap: 10px;
}
.cta-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
}
.cta-sub {
  margin: 0;
  max-width: 62ch;
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: 56px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 11, 20, 0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.footer-brand .logo {
  font-size: 1.1rem;
}
.footer-title {
  font-weight: 800;
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}
.footer-title.mt {
  margin-top: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--text-primary);
}
.social {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-primary);
}
.social-link:hover {
  border-color: rgba(108, 99, 255, 0.22);
  box-shadow: 0 18px 55px rgba(108, 99, 255, 0.10);
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
}
.footer-bottom a {
  color: var(--text-secondary);
}
.footer-bottom a:hover {
  color: var(--text-primary);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sep {
  opacity: 0.6;
}

/* Page transition overlay */
.page-transition {
  position: fixed;
  inset: 0;
  background: radial-gradient(900px 600px at 20% 10%, rgba(108, 99, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 80% 30%, rgba(0, 212, 255, 0.14), transparent 55%),
    rgba(8, 11, 20, 0.92);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Toast */
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: min(92vw, 420px);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.toast-success {
  border-color: rgba(89, 255, 166, 0.25);
}
.toast-error {
  border-color: rgba(255, 89, 89, 0.25);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .grid-dots,
  .scroll-mouse::after,
  .scroll-arrow {
    animation: none !important;
  }
  .hover-glow:hover {
    transform: none;
  }
}

