/* ==========================================================================
   SoftPhase Technologies — Premium Design System
   ========================================================================== */

:root {
  --bg: #050816;
  --bg-elevated: #0a0f1f;
  --card: #111827;
  --card-hover: #162033;
  --primary: #2563EB;
  --secondary: #06B6D4;
  --accent: #8B5CF6;
  --highlight: #00E5FF;
  --text: #FFFFFF;
  --subtext: #94A3B8;
  --muted: #64748B;
  --border: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(37, 99, 235, 0.35);
  --glass: rgba(17, 24, 39, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-alt: "Poppins", system-ui, sans-serif;
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #8B5CF6 50%, #06B6D4 100%);
  --gradient-aurora: linear-gradient(120deg, rgba(37, 99, 235, 0.35), rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.3));
  --gradient-text: linear-gradient(135deg, #FFFFFF 0%, #00E5FF 50%, #8B5CF6 100%);
  --gradient-card: linear-gradient(160deg, rgba(37, 99, 235, 0.12), rgba(17, 24, 39, 0.9) 40%);
  --nav-h: 80px;
  --container: 1200px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: rgba(37, 99, 235, 0.45);
  color: #fff;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1320px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Scroll Progress & Cursor
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
  transition: width 0.05s linear;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow.active {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Background Atmosphere
   -------------------------------------------------------------------------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(37, 99, 235, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(139, 92, 246, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(6, 182, 212, 0.12), transparent 55%),
    var(--bg);
}

.neural-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  max-width: 100vw;
}

#particles-js canvas {
  max-width: 100vw !important;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: auroraFloat 18s ease-in-out infinite;
  pointer-events: none;
}

.aurora-1 {
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.4);
  top: -10%;
  left: -5%;
}

.aurora-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.35);
  top: 20%;
  right: -8%;
  animation-delay: -6s;
}

.aurora-3 {
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.3);
  bottom: 10%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.h-display {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--subtext);
  max-width: 42rem;
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header .lead {
  margin: 1rem auto 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.35);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.15);
}

.btn-ghost {
  color: var(--subtext);
  padding-inline: 1rem;
}

.btn-ghost:hover {
  color: var(--highlight);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.1rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar-sp {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar-sp.scrolled {
  background: rgba(5, 8, 22, 0.8);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--glass-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100% - 2.5rem, 1320px);
  max-width: 100%;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  z-index: 1002;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  position: relative;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-text span {
  color: var(--highlight);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--subtext);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1003;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1040px) {
  .navbar-sp {
    padding-inline: clamp(1rem, 4vw, 1.25rem);
    overflow: hidden;
  }

  .navbar-inner {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .brand {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
    gap: 0.55rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100vw;
    height: 100dvh;
    background: rgba(5, 8, 22, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: calc(var(--nav-h) + 1rem) 1.25rem 2rem;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 0.75rem 1.25rem;
    width: min(100%, 320px);
    text-align: center;
  }

  .nav-cta {
    margin: 0.75rem 0 0;
    width: min(100%, 320px);
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Cards & Surfaces
   -------------------------------------------------------------------------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.card {
  background: var(--gradient-card), var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.35), transparent 40%, rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--highlight);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--subtext);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--highlight);
}

.card-link:hover {
  gap: 0.7rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy .typed-cursor {
  color: var(--highlight);
}

.hero-typed {
  min-height: 1.25em;
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
}

.hero-title {
  max-width: 100%;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: left;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
  font-family: var(--font-ui);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin-inline: auto;
  overflow: hidden;
}

.three-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.4), transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(37, 99, 235, 0.45), transparent 45%);
  filter: blur(20px);
  animation: pulseOrb 8s ease-in-out infinite;
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.2);
  animation: spinSlow 40s linear infinite;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 0 20px var(--highlight);
}

.hero-ring::before {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero-ring::after {
  bottom: 15%;
  right: 8%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.hero-ring-2 {
  inset: 18%;
  animation-direction: reverse;
  animation-duration: 28s;
  border-color: rgba(139, 92, 246, 0.25);
}

.hero-core {
  position: absolute;
  inset: 28%;
  border-radius: 28px;
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow), inset 0 0 60px rgba(37, 99, 235, 0.15);
  overflow: hidden;
}

.hero-core::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 229, 255, 0.15), transparent 30%);
  animation: spinSlow 12s linear infinite;
}

.hero-core-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.hero-core-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 18px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.45);
}

.hero-core h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.hero-core p {
  font-size: 0.8rem;
  color: var(--subtext);
}

.float-chip {
  position: absolute;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
}

.float-chip i {
  color: var(--highlight);
}

.float-chip-1 { top: 12%; left: 0; animation-delay: 0s; }
.float-chip-2 { top: 28%; right: -2%; animation-delay: -2s; }
.float-chip-3 { bottom: 22%; left: -4%; animation-delay: -4s; }
.float-chip-4 { bottom: 10%; right: 8%; animation-delay: -1s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
  }

  .stat {
    text-align: center;
  }

  .hero-visual {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .float-chip {
    font-size: 0.68rem;
    padding: 0.5rem 0.75rem;
  }

  .float-chip-1 { top: 10%; left: 2%; }
  .float-chip-2 { top: 24%; right: 2%; }
  .float-chip-3 { bottom: 20%; left: 2%; }
  .float-chip-4 { bottom: 8%; right: 4%; }

  .container,
  .container-wide {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding: clamp(3.5rem, 8vw, 5rem) 0;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Marquee / Tech Strip
   -------------------------------------------------------------------------- */
.marquee-wrap {
  width: 100%;
  max-width: 100%;
  padding: 1.5rem 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  background: rgba(17, 24, 39, 0.4);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--subtext);
  white-space: nowrap;
}

.marquee-item i {
  color: var(--highlight);
  opacity: 0.8;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   About / Split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(37, 99, 235, 0.25), rgba(5, 8, 22, 0.9)),
    var(--card);
  border: 1px solid var(--border);
}

.split-visual-inner {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.timeline {
  position: relative;
  padding-left: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--secondary));
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--highlight);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}

.timeline-year {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--highlight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-item h4 {
  margin-bottom: 0.35rem;
}

.timeline-item p {
  color: var(--subtext);
  font-size: 0.95rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}

.value-item:hover {
  border-color: rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.04);
}

.value-item i {
  color: var(--highlight);
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--subtext);
}

@media (max-width: 992px) {
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Process Steps
   -------------------------------------------------------------------------- */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.75rem 1.35rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--subtext);
}

@media (max-width: 992px) {
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-track {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Tech Grid
   -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.tech-item {
  aspect-ratio: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
  padding: 1rem;
}

.tech-item:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.tech-item i {
  font-size: 1.85rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tech-item span {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--subtext);
}

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--subtext);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.portfolio-thumb {
  height: 160px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(139, 92, 246, 0.35)),
    radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.3), transparent 50%);
  position: relative;
  overflow: hidden;
}

.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.portfolio-thumb.variant-2 {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(37, 99, 235, 0.4)),
    radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.35), transparent 50%);
}

.portfolio-thumb.variant-3 {
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.3)),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.35), transparent 55%);
}

.portfolio-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--highlight);
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.portfolio-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.portfolio-body p {
  font-size: 0.88rem;
  color: var(--subtext);
  flex: 1;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  height: 100%;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.author-info strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--muted);
}

.swiper-testimonials {
  padding-bottom: 3rem !important;
}

.swiper-testimonials .swiper-pagination-bullet {
  background: var(--subtext);
  opacity: 0.4;
}

.swiper-testimonials .swiper-pagination-bullet-active {
  background: var(--highlight);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-thumb {
  height: 180px;
  background:
    linear-gradient(140deg, rgba(37, 99, 235, 0.45), rgba(6, 182, 212, 0.25));
  position: relative;
}

.blog-thumb.b2 {
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.45), rgba(37, 99, 235, 0.3));
}

.blog-thumb.b3 {
  background: linear-gradient(140deg, rgba(6, 182, 212, 0.4), rgba(139, 92, 246, 0.3));
}

.blog-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  font-family: var(--font-ui);
}

.blog-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.blog-body p {
  color: var(--subtext);
  font-size: 0.9rem;
  flex: 1;
}

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.2)),
    var(--card);
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  filter: blur(60px);
  top: -40%;
  right: -10%;
  pointer-events: none;
}

.cta-banner .h2 {
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner .lead {
  margin: 0 auto 2rem;
  position: relative;
}

.cta-banner .btn-group {
  justify-content: center;
  position: relative;
}

/* --------------------------------------------------------------------------
   Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .lead {
  margin: 1rem auto 0;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-family: var(--font-ui);
}

.breadcrumb a:hover {
  color: var(--highlight);
}

.breadcrumb span {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--subtext);
}

.form-control-sp {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(5, 8, 22, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control-sp:focus {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

textarea.form-control-sp {
  min-height: 140px;
  resize: vertical;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(139, 92, 246, 0.2));
  display: grid;
  place-items: center;
  color: var(--highlight);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--subtext);
}

.contact-info-item a:hover {
  color: var(--highlight);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 280px;
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--subtext);
  margin-top: 2rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(1.1) brightness(0.7);
}

.honey-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-status.is-sending {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93C5FD;
}

.form-status.is-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
}

.form-status.is-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}

.form-card {
  position: relative;
}

/* --------------------------------------------------------------------------
   Careers
   -------------------------------------------------------------------------- */
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
  flex-wrap: wrap;
}

.job-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateX(4px);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.badge {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--highlight);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Why Choose
   -------------------------------------------------------------------------- */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}

.why-item:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-3px);
}

.why-item .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--highlight);
  min-width: 2rem;
}

.why-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.why-item p {
  font-size: 0.88rem;
  color: var(--subtext);
}

@media (max-width: 640px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Legal / Content Pages
   -------------------------------------------------------------------------- */
.content-prose {
  max-width: 800px;
  margin-inline: auto;
}

.content-prose h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.content-prose h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.content-prose p,
.content-prose li {
  color: var(--subtext);
  margin-bottom: 1rem;
}

.content-prose ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 1.25rem;
}

.content-prose li {
  margin-bottom: 0.5rem;
}

.content-prose a {
  color: var(--highlight);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.6));
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--subtext);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--subtext);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--highlight);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  font-family: var(--font-ui);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--subtext);
  margin-bottom: 0.65rem;
}

.footer-col a:hover {
  color: var(--highlight);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.6);
  border: 1px solid var(--border);
  min-width: 0;
}

.newsletter-form .btn {
  padding: 0.75rem 1.15rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--highlight);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-sub { color: var(--subtext); }
.w-100 { width: 100%; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Bootstrap dark-theme coexistence
   -------------------------------------------------------------------------- */
:root {
  --bs-body-bg: #050816;
  --bs-body-color: #ffffff;
  --bs-border-color: rgba(148, 163, 184, 0.12);
  --bs-primary: #2563EB;
  --bs-link-color: #00E5FF;
  --bs-link-hover-color: #67e8f9;
}

.btn:focus-visible,
.form-control-sp:focus-visible,
.filter-btn:focus-visible,
.nav-toggle:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid #00E5FF;
  outline-offset: 3px;
}

.btn.btn-primary,
.btn.btn-outline,
.btn.btn-ghost,
.btn.btn-sm,
.btn.btn-lg {
  --bs-btn-border-width: 0;
  line-height: 1.4;
}

.btn.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-open {
  overflow: hidden;
}

::placeholder {
  color: #64748B;
  opacity: 1;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0;
}

.values-grid .value-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (min-width: 641px) {
  .values-grid .value-item:last-child:nth-child(odd) {
    max-width: calc(50% - 0.5rem);
  }
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Responsive safeguards
   -------------------------------------------------------------------------- */
.section,
.page-hero,
.cta-banner,
.swiper,
.swiper-wrapper {
  max-width: 100%;
}

.swiper {
  overflow: hidden;
}

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
}

pre,
table {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 1040px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 2rem;
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .aurora {
    opacity: 0.25;
    filter: blur(60px);
  }

  .aurora-1 {
    width: 280px;
    height: 280px;
  }

  .aurora-2 {
    width: 220px;
    height: 220px;
  }

  .aurora-3 {
    width: 200px;
    height: 200px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 1.25rem);
  }

  .page-hero {
    padding-top: calc(var(--nav-h) + 2.5rem);
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-card .btn {
    width: 100%;
    justify-content: center;
  }
}
