/* =========================================================
   cpmnext — programmatic advertising agency
   ========================================================= */

:root {
  --bg: #05070f;
  --bg-alt: #090d1a;
  --surface: #0d1224;
  --surface-2: #111834;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --text-muted: #97a1c2;
  --text-dim: #6a739a;
  --primary: #3b6bff;
  --primary-2: #6a8bff;
  --accent: #00d4ff;
  --accent-2: #7b5cff;
  --success: #2be6a8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(59, 107, 255, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

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

::selection {
  background: var(--primary);
  color: #fff;
}

/* Background grid + noise texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

.container-xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Blobs / ambient glow ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}

.blob-blue {
  background: radial-gradient(circle at 30% 30%, #3b6bff, transparent 70%);
}

.blob-cyan {
  background: radial-gradient(circle at 30% 30%, #00d4ff, transparent 70%);
}

.blob-violet {
  background: radial-gradient(circle at 30% 30%, #7b5cff, transparent 70%);
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

@keyframes float-slower {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.05); }
}

/* ---------- Navbar ---------- */
.navbar-orbiq {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s var(--ease);
  background: transparent;
}

.navbar-orbiq.scrolled {
  padding: 12px 0;
  background: rgba(5, 7, 15, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.navbar-orbiq .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(0, 212, 255, 0.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

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

/* ---------- Buttons ---------- */
.btn-orbiq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(59, 107, 255, 0.7);
}

.btn-primary-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
}

.btn-primary-glow:hover::after {
  left: 125%;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(59, 107, 255, 0.9);
  color: #fff;
}

.btn-outline-orbiq {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline-orbiq:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-sm-pill {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(59, 107, 255, 0.1);
  border: 1px solid rgba(59, 107, 255, 0.35);
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.06;
  max-width: 920px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--primary-2), var(--accent), var(--primary-2));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to { background-position: -200% center; }
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.18rem;
  max-width: 620px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  transition: transform 0.25s var(--ease);
  will-change: transform;
}

/* Flow diagram card used in hero */
.flow-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.flow-node {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 10px;
  transition: all 0.3s var(--ease);
}

.flow-node:hover {
  border-color: rgba(59, 107, 255, 0.5);
  background: rgba(59, 107, 255, 0.08);
  transform: translateY(-4px);
}

.flow-node .flow-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  font-size: 1.2rem;
  color: #fff;
}

.flow-node .flow-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.flow-arrow {
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.flow-pulse-line {
  position: relative;
  height: 2px;
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  overflow: hidden;
}

.flow-pulse-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: pulse-travel 2.6s linear infinite;
}

@keyframes pulse-travel {
  0% { left: -30%; }
  100% { left: 100%; }
}

.flow-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.flow-stats div {
  text-align: center;
}

.flow-stats .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.flow-stats .lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Logo marquee ---------- */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.015);
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.marquee-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--text-muted);
}

/* ---------- Section basics ---------- */
.section {
  padding: 110px 0;
  position: relative;
}

.section-tight {
  padding: 80px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-top: 16px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Stats ---------- */
.stat-card {
  text-align: center;
  padding: 10px;
}

.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  background: linear-gradient(135deg, #fff, var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Cards / services ---------- */
.card-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  height: 100%;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 107, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card-glass:hover::before {
  opacity: 1;
}

.card-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 107, 255, 0.4);
  box-shadow: 0 24px 50px -24px rgba(59, 107, 255, 0.5);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  margin-bottom: 22px;
  box-shadow: 0 8px 20px -6px rgba(59, 107, 255, 0.6);
}

.card-glass h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-glass p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-glass .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--primary-2);
  transition: gap 0.25s;
}

.card-glass .card-link:hover {
  gap: 10px;
  color: var(--accent);
}

/* ---------- Steps ---------- */
.step-item {
  position: relative;
  padding-left: 0;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.step-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
  overflow: hidden;
}

.step-connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: pulse-travel 3s linear infinite;
}

/* ---------- Feature list (why choose us) ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row .fi {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(59, 107, 255, 0.12);
  color: var(--accent);
  font-size: 1.1rem;
}

.feature-row h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.feature-row p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card .quote-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card p.quote {
  font-size: 1.25rem;
  color: var(--text);
  margin: 10px 0 26px;
  line-height: 1.5;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 10px;
}

.testimonial-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.carousel-indicators-orbiq {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-indicators-orbiq button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-strong);
  transition: all 0.3s;
  cursor: pointer;
}

.carousel-indicators-orbiq button.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: 28px;
  padding: 70px 50px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1533, #0a0f22 60%);
  border: 1px solid var(--border);
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 20% 20%, rgba(59, 107, 255, 0.35), transparent 60%),
              radial-gradient(500px circle at 80% 80%, rgba(0, 212, 255, 0.25), transparent 60%);
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 650px;
  margin: 0 auto 16px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 34px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  background: var(--bg-alt);
}

.footer .brand {
  margin-bottom: 16px;
}

.footer p.desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer h5 {
  color: #fff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.25s;
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.social-icons a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-size: 0.88rem;
  flex: 1;
  min-width: 0;
}

.newsletter-form input::placeholder {
  color: var(--text-dim);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 170px 0 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero .eyebrow {
  display: block;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 780px;
  margin: 0 auto;
}

.page-hero p.lead {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.breadcrumb-orbiq {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.breadcrumb-orbiq a:hover {
  color: var(--accent);
}

/* ---------- Service detail rows ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-visual {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  padding: 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.mini-bar {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: bar-grow 1.6s var(--ease) forwards;
  width: 0;
}

@keyframes bar-grow {
  to { width: var(--w, 70%); }
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Platform badges ---------- */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
  cursor: default;
}

.platform-badge i {
  color: var(--accent);
  font-size: 1.05rem;
}

.platform-badge:hover {
  background: rgba(59, 107, 255, 0.1);
  border-color: rgba(59, 107, 255, 0.45);
  color: #fff;
  transform: translateY(-3px);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-list li i {
  color: var(--success);
  margin-top: 3px;
}

.num-tag {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ---------- About page ---------- */
.value-card {
  text-align: center;
  padding: 34px 22px;
}

.timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 40px;
  border-left: 1px solid var(--border-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: 46px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -46px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.15);
}

.timeline-item .year {
  color: var(--accent);
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.timeline-item h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 500px;
}

.world-dots {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 40px;
  min-height: 340px;
}

/* ---------- Contact page ---------- */
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-control-orbiq {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.25s;
}

.form-control-orbiq::placeholder {
  color: var(--text-dim);
}

.form-control-orbiq:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(59, 107, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(59, 107, 255, 0.12);
}

.form-label-orbiq {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}

.radio-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-pill {
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.radio-pill label {
  display: block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
}

.radio-pill input:checked + label {
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  border-color: transparent;
  color: #fff;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success .check-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(43, 230, 168, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1200;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
  transition: width 0.1s linear;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
}

.preloader-logo .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(0, 212, 255, 0.8);
  animation: dot-pulse 1s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.7); opacity: 0.5; }
}

/* ---------- Scroll to top ---------- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(59, 107, 255, 0.7);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Mobile menu ---------- */
.navbar-toggler-orbiq {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar-toggler-orbiq .bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.navbar-toggler-orbiq .bar:nth-child(1) { top: 14px; }
.navbar-toggler-orbiq .bar:nth-child(2) { top: 20px; }
.navbar-toggler-orbiq .bar:nth-child(3) { top: 26px; }

.navbar-toggler-orbiq.active .bar:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.navbar-toggler-orbiq.active .bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler-orbiq.active .bar:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 82vw);
  background: rgba(8, 11, 22, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 14px 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a.active,
.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu .btn-orbiq {
  margin-top: 24px;
}

body.menu-open {
  overflow: hidden;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .nav-links { display: none; }
  .navbar-toggler-orbiq { display: block; }
  .nav-cta .btn-orbiq.hero-desktop-cta { display: none; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .service-detail { grid-template-columns: 1fr; gap: 34px; }
  .service-detail.reverse { direction: ltr; }
  .service-detail .service-visual { order: -1; }
  .hero { padding: 150px 0 80px; }
}

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .cta-banner { padding: 50px 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-orbiq { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- AOS fallback (in case library delayed) ---------- */
[data-aos] {
  transition-property: transform, opacity;
}

/* ---------- Industries dropdown (desktop) ---------- */
.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown > a i {
  font-size: 0.7rem;
  margin-left: 4px;
  transition: transform 0.25s var(--ease);
}

.nav-links .has-dropdown:hover > a i,
.nav-links .has-dropdown:focus-within > a i {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 14px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  z-index: 1100;
}

.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 270px);
  gap: 4px;
  padding: 12px;
  background: rgba(9, 13, 26, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(59, 107, 255, 0.08);
}

.nav-links .dropdown-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
}

.nav-links .dropdown-grid a:hover {
  background: rgba(59, 107, 255, 0.12);
}

.dropdown-grid a > i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
}

.dropdown-grid a strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.dropdown-grid a small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.3;
}

@media (max-width: 1199px) {
  .nav-links a { padding: 8px 11px; font-size: 0.9rem; }
}

/* ---------- Industries (mobile menu) ---------- */
.mobile-menu {
  overflow-y: auto;
}

.mobile-industries summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-industries summary::-webkit-details-marker { display: none; }

.mobile-industries summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 0.85rem;
  transition: transform 0.25s var(--ease);
}

.mobile-industries[open] summary {
  color: #fff;
}

.mobile-industries[open] summary::after {
  transform: rotate(180deg);
}

.mobile-industries a {
  display: block;
  padding: 11px 6px 11px 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

a.platform-badge {
  cursor: pointer;
}

/* ---------- Brand wordmark suffix ---------- */
.brand-next,
.preloader-logo .brand-next {
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.04em;
}
