/* ============================================
   Velorian Systems — Core Styles
   ============================================ */

:root {
  --bg: #080d14;
  --bg-alt: #0c1220;
  --bg-card: rgba(14, 22, 36, 0.7);
  --bg-card-hover: rgba(18, 28, 46, 0.88);
  --neon: #22e0d6;
  --neon-2: #18a8ff;
  --neon-glow: rgba(34, 224, 214, 0.42);
  --neon-glow-2: rgba(24, 168, 255, 0.32);
  --text: #edf2fa;
  --text-muted: #96a2b8;
  --text-dim: #64718a;
  --border: rgba(34, 224, 214, 0.18);
  --border-hover: rgba(34, 224, 214, 0.45);
  --glass: rgba(10, 14, 20, 0.75);
  --radius: 12px;
  --radius-lg: 20px;
  --font-body: 'Sora', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-accent: 'Orbitron', sans-serif;
  --container: 1200px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 15% 40%, rgba(34, 224, 214, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 60%, rgba(24, 168, 255, 0.04) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Left & right ambient edge glows */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 320px;
  pointer-events: none;
  z-index: 0;
  animation: edge-glow-breathe 8s ease-in-out infinite;
}

body::before {
  left: 0;
  background: radial-gradient(ellipse at left center, rgba(34, 224, 214, 0.08) 0%, transparent 70%);
}

body::after {
  right: 0;
  background: radial-gradient(ellipse at right center, rgba(24, 168, 255, 0.08) 0%, transparent 70%);
  animation-delay: 4s;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  color: var(--bg);
  box-shadow: 0 0 30px var(--neon-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--neon-glow), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(34, 224, 214, 0.05);
  box-shadow: 0 0 20px var(--neon-glow);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

.navbar--scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.navbar__logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.navbar__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  transition: var(--transition);
}

.navbar__link:hover {
  color: var(--text);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__cta {
  z-index: 1001;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 1;
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: var(--neon-glow);
  top: 5%;
  right: -12%;
  opacity: 0.55;
  animation: glow-pulse 6s ease-in-out infinite;
}

.hero__glow--2 {
  width: 500px;
  height: 500px;
  background: var(--neon-glow-2);
  bottom: 5%;
  left: -8%;
  opacity: 0.45;
  animation: glow-pulse 6s ease-in-out infinite 3s;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 60px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neon);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* Marquee */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 16px;
}

.marquee:last-child {
  margin-bottom: 0;
}

.marquee__track {
  display: inline-flex;
  gap: 16px;
}

.marquee__tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
}

.marquee__tag:hover {
  border-color: var(--border-hover);
  color: var(--neon);
  box-shadow: 0 0 15px var(--neon-glow);
}

/* Sections */
.section {
  padding: 120px 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
  box-shadow: inset 0 1px 0 rgba(34, 224, 214, 0.08), inset 0 -1px 0 rgba(34, 224, 214, 0.06);
}

.section--stats {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
}

.section--cta {
  padding: 120px 0 140px;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px var(--neon-glow);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(34, 224, 214, 0.08);
  color: var(--neon);
  margin-bottom: 20px;
}

.benefit-card__icon svg {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--neon-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--neon);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card__tags li {
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-heading);
}

/* Success Stories */
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.success-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.success-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-card__company {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text), var(--neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-card__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.success-card__stat {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--neon);
  letter-spacing: 0.05em;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item__label {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Process */
.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon), var(--neon-2), transparent);
  opacity: 0.3;
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step__marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px var(--neon-glow);
}

.process-step__num {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--neon);
  font-weight: 700;
}

.process-step__content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  padding-top: 12px;
}

.process-step__content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* CTA */
.cta-box {
  position: relative;
  padding: 64px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  text-align: center;
  overflow: hidden;
}

.cta-box__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--neon-glow);
  filter: blur(120px);
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
  pointer-events: none;
}

.cta-box__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-box__desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form__input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 7, 10, 0.6);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.contact-form__input::placeholder {
  color: var(--text-dim);
}

.contact-form__input:focus {
  border-color: var(--border-hover);
  box-shadow: 0 0 20px var(--neon-glow);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 20px;
}

.contact-form__note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Footer */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer__brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 48px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer__col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--neon);
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .navbar__nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: var(--transition);
  }

  .navbar__nav.active {
    transform: translateX(0);
  }

  .navbar__link {
    font-size: 1.3rem;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__links {
    justify-content: flex-start;
    gap: 48px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 20px;
  }

  .process-step__marker {
    width: 42px;
    height: 42px;
  }

  .process-step {
    gap: 20px;
  }
}
