/* ===========================================================
   Lumora Marketing — Stylesheet
   Design tokens: midnight black / deep navy / white / soft grey
   Accents: electric purple / neon blue / cyan / emerald gradients
   Fonts: Bricolage Grotesque (display) + Inter (body)
=========================================================== */

:root {
  --midnight: #05060a;
  --navy: #0b1220;
  --navy-soft: #10192e;
  --white: #ffffff;
  --grey: #f4f5f7;
  --grey-dim: #e9eaee;
  --ink: #10121a;
  --muted: #676c7a;
  --purple: #8b5cf6;
  --blue: #4c6fff;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --line: rgba(16, 18, 26, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --grad-main: linear-gradient(135deg, var(--purple) 0%, var(--blue) 50%, var(--cyan) 100%);
  --grad-soft: linear-gradient(135deg, rgba(139,92,246,.18), rgba(76,111,255,.18) 50%, rgba(34,211,238,.18));
  --max: 1280px;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--purple); color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--ink); line-height: 1.02; letter-spacing: -0.02em; }

.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .7rem;
  color: var(--purple);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow.on-dark { color: var(--cyan); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--grad-main); display: inline-block; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 500;
  background: var(--ink); color: var(--white); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 16px; top: 16px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 2.1rem; font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .01em;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  text-align: center; cursor: pointer; overflow: hidden;
}
.btn-grad { background: var(--grad-main); color: var(--white); box-shadow: 0 8px 30px rgba(139,92,246,.35); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(139,92,246,.5); }
.btn-outline-light { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn-outline-light:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: .65rem 1.3rem; font-size: .78rem; }
.magnetic { will-change: transform; }

/* ---------- Glow divider (signature element) ---------- */
.glow-divider { display: flex; align-items: center; gap: 1rem; width: 100%; }
.glow-divider::before, .glow-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.glow-divider.on-dark::before, .glow-divider.on-dark::after { background: var(--line-dark); }
.glow-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--grad-main); box-shadow: 0 0 18px rgba(139,92,246,.7); }

/* ---------- Floating geometric shapes / orbs ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .55; }
.orb-purple { background: radial-gradient(circle, rgba(139,92,246,.55), transparent 70%); }
.orb-cyan { background: radial-gradient(circle, rgba(34,211,238,.5), transparent 70%); }
.orb-blue { background: radial-gradient(circle, rgba(76,111,255,.5), transparent 70%); }
@keyframes float-slow { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px,-30px); } }
@keyframes float-slower { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,20px); } }
.float-a { animation: float-slow 12s ease-in-out infinite; }
.float-b { animation: float-slower 15s ease-in-out infinite; }

.geo-shape { position: absolute; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.geo-circle { border-radius: 50%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
  background: transparent;
}
.site-header.solid, .site-header.menu-open {
  background: rgba(5,6,10,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
@media (min-width: 640px) { .nav-inner { padding: 18px 32px; } }
.brand { display: flex; align-items: center; gap: 9px; line-height: 1; }
.brand-mark { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--grad-main); box-shadow: 0 0 16px rgba(139,92,246,.6); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--white); letter-spacing: -0.01em; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: rgba(255,255,255,.78); transition: color .25s; }
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }

.nav-cta { display: none; }
.nav-toggle { background: none; border: none; color: var(--white); }

.mobile-nav { display: none; overflow: hidden; background: var(--midnight); max-height: 0; transition: max-height .35s ease; }
.mobile-nav.open { display: block; max-height: 700px; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 2px; padding: 0 24px 24px; }
.mobile-nav-inner a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--white); font-family: var(--font-display); }
.mobile-nav-inner .btn { margin-top: 16px; }

@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Page loader ---------- */
#page-loader {
  position: fixed; inset: 0; z-index: 999; background: var(--midnight);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  transition: opacity .6s ease;
}
#page-loader.hide { opacity: 0; pointer-events: none; }
#page-loader .mark { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-main); box-shadow: 0 0 30px rgba(139,92,246,.8); animation: pulse-mark 1.1s ease-in-out infinite; }
@keyframes pulse-mark { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
#page-loader p { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .24em; color: var(--white); font-size: 1rem; margin: 0; }

/* ---------- Scroll progress ---------- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-main); z-index: 210; transition: width .1s linear; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 680px; height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--midnight); }
.hero-bg-grad { position: absolute; inset: -10%; background: var(--grad-soft); background-size: 200% 200%; animation: grad-shift 18s ease infinite; }
@keyframes grad-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
#particles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; max-width: 820px; padding: 0 24px; z-index: 2; }
@media (min-width: 640px) { .hero-content { padding: 0 32px; } }
.hero-content h1 { font-size: 2.5rem; line-height: 1; color: var(--white); }
.hero-content .word { display: inline-block; opacity: 0; transform: translateY(24px); animation: word-in .8s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes word-in { to { opacity: 1; transform: translateY(0); } }
.hero-content p.sub { margin-top: 1.6rem; max-width: 560px; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.6; opacity: 0; animation: fade-up .8s cubic-bezier(.16,1,.3,1) .6s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.6rem; opacity: 0; animation: fade-up .8s cubic-bezier(.16,1,.3,1) .8s forwards; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } .hero-content h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero-content h1 { font-size: 5.2rem; } }

.trust-strip { position: relative; border-top: 1px solid var(--line-dark); padding: 28px 0; z-index: 2; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; justify-content: center; }
.trust-strip li { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.trust-strip li svg { color: var(--cyan); flex-shrink: 0; }

/* ---------- Sections generic ---------- */
section.pad { padding: 100px 0; }
@media (min-width: 640px) { section.pad { padding: 140px 0; } }
section.pad-sm { padding: 64px 0; }
.bg-midnight { background: var(--midnight); }
.bg-navy { background: var(--navy); }
.bg-grey { background: var(--grey); }
.bg-white { background: var(--white); }
.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,.7); }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.max-xl { max-width: 680px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Glass cards ---------- */
.glass {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.glass-light {
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(16,18,26,.08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}

/* ---------- About / stats ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 84px; } }
.about-media { position: relative; aspect-ratio: 4/5; overflow: hidden; max-width: 440px; border-radius: 18px; }
@media (min-width: 1024px) { .about-media { max-width: none; } }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); border-radius: 18px; pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stats-grid.on-dark { border-top-color: var(--line-dark); }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; }
.stat-label { margin-top: .3rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.on-dark .stat-label { color: rgba(255,255,255,.55); }
.stats-note { margin-top: 20px; font-size: .72rem; color: var(--muted); }
.on-dark .stats-note { color: rgba(255,255,255,.4); }

/* ---------- Service grids ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 52px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-tile { position: relative; border-radius: 16px; padding: 32px; background: var(--white); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; overflow: hidden; }
.service-tile::before { content: ""; position: absolute; inset: 0; background: var(--grad-main); opacity: 0; transition: opacity .3s; z-index: 0; }
.service-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(76,111,255,.18); border-color: transparent; }
.service-tile:hover::before { opacity: 1; }
.service-tile > * { position: relative; z-index: 1; }
.service-tile .icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; }
.service-tile:hover .icon-wrap { background: rgba(255,255,255,.2); }
.service-tile .icon-wrap svg { color: var(--purple); }
.service-tile:hover .icon-wrap svg { color: var(--white); }
.service-tile h3 { margin-top: 18px; font-size: 1.2rem; transition: color .3s; }
.service-tile:hover h3 { color: var(--white); }
.service-tile p.summary { margin-top: 10px; font-size: .875rem; line-height: 1.6; color: var(--muted); transition: color .3s; }
.service-tile:hover p.summary { color: rgba(255,255,255,.85); }
.service-tile .learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--ink); transition: color .3s; }
.service-tile:hover .learn { color: var(--white); }

.services-list .service-row { border-bottom: 1px solid var(--line); padding: 68px 0; scroll-margin-top: 100px; }
.services-list .service-row:last-child { border-bottom: none; }
.service-row-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .service-row-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.service-row-grid.reverse .media-col { order: 2; }
.service-row-grid .media-col .media { aspect-ratio: 16/11; overflow: hidden; position: relative; border-radius: 16px; }
.service-row-grid .media-col .media::after { content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.service-row-grid .media-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-row-grid .media-col:hover img { transform: scale(1.05); }
.service-row-grid .content-col .full-name { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.service-row-grid .content-col h2 { font-size: 2.1rem; margin-top: 4px; }
.service-row-grid .content-col p.desc { margin-top: 20px; max-width: 440px; color: var(--muted); line-height: 1.7; }
.service-row-grid .content-col .learn-btn { display: inline-block; margin-top: 28px; }

/* ---------- Why choose us ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 56px; overflow: hidden; border-radius: 18px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3,1fr); } }
.feature-card { background: var(--navy); padding: 34px; transition: background .3s; }
.feature-card:hover { background: var(--navy-soft); }
.feature-card h3 { margin-top: 20px; font-size: 1.1rem; color: var(--white); }
.feature-card p { margin-top: 8px; font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.6); }

/* ---------- Process timeline ---------- */
.timeline { position: relative; margin-top: 64px; }
.timeline-line { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dark); }
@media (min-width: 640px) { .timeline-line { left: 50%; transform: translateX(-50%); background: linear-gradient(to bottom, var(--purple), var(--cyan)); width: 2px; } }
.timeline-list { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 640px) { .timeline-list { gap: 0; } }
.timeline-item { position: relative; }
@media (min-width: 640px) { .timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0; } }
.timeline-dot { position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--grad-main); box-shadow: 0 0 14px rgba(139,92,246,.7); transform: translateX(-5px); }
@media (min-width: 640px) { .timeline-dot { left: 50%; transform: translateX(-5.5px); } }
.timeline-body { padding-left: 40px; }
@media (min-width: 640px) { .timeline-body { padding-left: 0; } }
.timeline-item:nth-child(odd) .timeline-body { grid-column: 1; }
@media (min-width: 640px) { .timeline-item:nth-child(odd) .timeline-body { text-align: right; padding-right: 48px; } }
.timeline-item:nth-child(even) .timeline-body { grid-column: 1; }
@media (min-width: 640px) { .timeline-item:nth-child(even) .timeline-body { grid-column: 2; padding-left: 48px; } }
.timeline-body h3 { color: var(--white); font-size: 1.15rem; margin-top: 4px; }
.timeline-body p { margin-top: 8px; font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
@media (min-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case-card { border-radius: 18px; border: 1px solid var(--line); background: var(--white); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.case-card:hover { box-shadow: 0 30px 70px rgba(16,18,26,.12); transform: translateY(-4px); }
.case-card .media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.case-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-card:hover .media img { transform: scale(1.05); }
.case-card .media .industry-tag { position: absolute; left: 16px; top: 16px; background: rgba(5,6,10,.7); backdrop-filter: blur(6px); color: var(--white); font-family: var(--font-display); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.case-card .body { padding: 30px; }
.case-card h3 { font-size: 1.3rem; }
.case-card .row { margin-top: 16px; }
.case-card .row .label { font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-card .row p { margin-top: 4px; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.case-metric { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.case-metric .metric-value { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; }
.case-metric .metric-value .up { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.1rem; margin-right: 4px; }
.case-metric .metric-label { font-size: .78rem; color: var(--muted); }
.case-bar { margin-top: 12px; height: 6px; background: var(--grey-dim); border-radius: 99px; position: relative; overflow: hidden; }
.case-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad-main); border-radius: 99px; transition: width 1.2s cubic-bezier(.22,1,.36,1); }

/* ---------- Portfolio ---------- */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.portfolio-filters button { border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .74rem; color: var(--muted); }
.portfolio-filters button:hover { border-color: var(--purple); color: var(--purple); }
.portfolio-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3,1fr); } }
.portfolio-item { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 16px; display: block; width: 100%; border: none; padding: 0; }
.portfolio-item.hidden { display: none; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,6,10,.9), transparent 55%); display: flex; align-items: flex-end; padding: 22px; opacity: 0; transition: opacity .3s; }
.portfolio-item:hover .scrim { opacity: 1; }
.portfolio-item .scrim-text { text-align: left; }
.portfolio-item .scrim-text .cat { font-family: var(--font-display); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan); }
.portfolio-item .scrim-text h3 { margin-top: 4px; font-size: 1rem; color: var(--white); }

/* ---------- Industries ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 52px; }
@media (min-width: 640px) { .industries-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(4,1fr); } }
.industry-card { position: relative; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; filter: saturate(.85); }
.industry-card:hover img { transform: scale(1.08); }
.industry-card .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,6,10,.85), rgba(5,6,10,.1)); display: flex; align-items: flex-end; padding: 18px; }
.industry-card h3 { color: var(--white); font-size: 1rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }
.price-card { border-radius: 20px; border: 1px solid var(--line); background: var(--white); padding: 38px 30px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--midnight); border: 1px solid transparent; background-image: linear-gradient(var(--midnight), var(--midnight)), var(--grad-main); background-origin: border-box; background-clip: padding-box, border-box; color: var(--white); position: relative; }
.price-card.featured::before { content: "Most Popular"; position: absolute; top: -1px; right: 24px; background: var(--grad-main); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .04em; padding: 7px 14px; border-radius: 0 0 8px 8px; }
.price-card h3 { font-size: 1.5rem; }
.price-card.featured h3 { color: var(--white); }
.price-card .tagline { margin-top: 10px; font-size: .875rem; color: var(--muted); min-height: 42px; }
.price-card.featured .tagline { color: rgba(255,255,255,.65); }
.price-card ul { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-card.featured ul { border-top-color: var(--line-dark); }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; }
.price-card .btn { margin-top: 28px; }
.pricing-note { margin-top: 40px; max-width: 680px; font-size: .85rem; color: var(--muted); line-height: 1.6; }

.compare-table-wrap { margin-top: 72px; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: .875rem; }
.compare-table th { font-family: var(--font-display); font-weight: 700; }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: var(--ink); font-weight: 600; }
.compare-table .yes { color: var(--emerald); }
.compare-table .no { color: var(--line); }

/* ---------- Testimonials ---------- */
.testimonial-carousel { max-width: 740px; margin: 0 auto; text-align: center; }
.testimonial-slide { min-height: 220px; }
.testimonial-stars { display: flex; justify-content: center; gap: 4px; color: var(--purple); }
.testimonial-quote { margin-top: 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--grey); }
.testimonial-author .name { font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--ink); }
.testimonial-author .role { font-size: .75rem; color: var(--muted); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 32px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.carousel-dots button.active { background: var(--purple); }
.carousel-arrow { color: var(--muted); }
.carousel-arrow:hover { color: var(--purple); }

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial-card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--white); padding: 28px; }
.testimonial-card .stars { display: flex; gap: 3px; color: var(--purple); }
.testimonial-card p.review { margin-top: 16px; flex: 1; font-size: .875rem; line-height: 1.6; color: var(--ink); }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial-card .author img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.blog-filters button { border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .72rem; color: var(--muted); }
.blog-filters button.active, .blog-filters button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.blog-card { border-radius: 16px; border: 1px solid var(--line); background: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(16,18,26,.1); }
.blog-card.hidden { display: none; }
.blog-card .media { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.blog-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .media img { transform: scale(1.05); }
.blog-card .media .cat-tag { position: absolute; left: 16px; top: 16px; background: var(--grad-main); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.blog-card .body { padding: 26px; }
.blog-card .date { font-size: .75rem; color: var(--muted); }
.blog-card h3 { margin-top: 8px; font-size: 1.25rem; }
.blog-card p.excerpt { margin-top: 10px; font-size: .875rem; color: var(--muted); line-height: 1.6; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: var(--ink); }

.newsletter-inline { margin-top: 64px; border-radius: 20px; padding: 44px; background: var(--midnight); position: relative; overflow: hidden; }
.newsletter-inline h3 { color: var(--white); font-size: 1.5rem; position: relative; z-index: 1; }
.newsletter-inline p { color: rgba(255,255,255,.65); margin-top: 8px; position: relative; z-index: 1; }
.newsletter-inline form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; max-width: 440px; position: relative; z-index: 1; }
@media (min-width: 540px) { .newsletter-inline form { flex-direction: row; } }
.newsletter-inline input { flex: 1; padding: 13px 18px; border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.08); color: var(--white); }
.newsletter-inline input::placeholder { color: rgba(255,255,255,.4); }

.article-body { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 640px) { .article-body { padding: 84px 32px; } }
.article-body .meta { display: flex; gap: 16px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.article-body h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.article-body p { font-size: 1rem; line-height: 1.85; color: var(--ink); margin: 0 0 16px; }
.article-body .intro { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); line-height: 1.6; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; text-align: left; }
.faq-q span.text { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq-q .icon { color: var(--purple); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { max-width: 640px; padding-bottom: 24px; font-size: .875rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ---------- Careers ---------- */
.culture-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; border-radius: 18px; overflow: hidden; }
@media (min-width: 640px) { .culture-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .culture-grid { grid-template-columns: repeat(4,1fr); } }
.culture-card { background: var(--white); padding: 30px; }
.culture-card h3 { font-size: 1.05rem; }
.culture-card p { margin-top: 8px; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.roles-list { margin-top: 56px; display: flex; flex-direction: column; }
.role-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.role-row:first-child { border-top: 1px solid var(--line); }
.role-row h3 { font-size: 1.1rem; }
.role-row .type { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.field label .req { color: var(--purple); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 13px 16px; font-size: .875rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); outline: none; }
.consent-row { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.consent-row input[type=checkbox] { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--purple); flex-shrink: 0; }
.consent-row label { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.fine-print { font-size: .72rem; line-height: 1.6; color: var(--muted); }
.form-success { border-radius: 16px; border: 1px solid var(--purple); background: var(--grad-soft); padding: 34px; text-align: center; }
.form-error { border-radius: 10px; border: 1px solid #e11d48; background: #fdf1f4; padding: 16px 20px; font-size: .875rem; color: #be123c; margin-bottom: 20px; }
.optout-note { margin-top: 12px; font-size: .8rem; color: var(--muted); line-height: 1.6; padding: 14px 18px; background: var(--grey); border-radius: 10px; border-left: 3px solid var(--purple); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 80px; } }
.contact-details { display: flex; flex-direction: column; gap: 32px; }
.contact-details h3 { margin-bottom: 16px; }
.detail-row { display: flex; gap: 12px; font-size: .875rem; align-items: flex-start; }
.detail-row svg { flex-shrink: 0; margin-top: 3px; color: var(--purple); }
.detail-block { border-top: 1px solid var(--line); padding-top: 24px; }
.map-placeholder { aspect-ratio: 4/3; border-radius: 16px; border: 1px solid var(--line); background: var(--grey); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); position: relative; overflow: hidden; }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 16px;
  transform: translateY(100%); opacity: 0; transition: transform .45s ease, opacity .45s ease;
}
#cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-inner { max-width: 920px; margin: 0 auto; background: rgba(5,6,10,.92); backdrop-filter: blur(16px); border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); padding: 30px; }
.cookie-banner-inner p.desc { margin-top: 8px; font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.7); }
.cookie-banner-inner .actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .cookie-banner-inner .actions { flex-direction: row; justify-content: flex-end; align-items: center; } }
.cookie-link-btn { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 3px; }
.cookie-link-btn:hover { color: var(--cyan); }

/* ---------- Cookie preferences modal ---------- */
#cookie-modal { position: fixed; inset: 0; z-index: 310; display: none; align-items: center; justify-content: center; padding: 24px; }
#cookie-modal.open { display: flex; }
#cookie-modal .backdrop { position: absolute; inset: 0; background: rgba(5,6,10,.7); backdrop-filter: blur(3px); }
#cookie-modal .modal-box { position: relative; z-index: 2; max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto; background: var(--white); border-radius: 20px; border: 1px solid var(--line); padding: 34px; }
#cookie-modal .close-x { position: absolute; top: 22px; right: 22px; color: var(--muted); }
#cookie-modal .close-x:hover { color: var(--purple); }
.consent-toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 20px 0; }
.consent-toggle-row h3 { font-size: 1.05rem; }
.consent-toggle-row p { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.always-on-badge { margin-top: 4px; flex-shrink: 0; border: 1px solid var(--purple); padding: 4px 13px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .02em; color: var(--purple); }
.toggle-switch { position: relative; flex-shrink: 0; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: transparent; margin-top: 4px; transition: background .2s, border-color .2s; }
.toggle-switch.on { background: var(--grad-main); border-color: transparent; }
.toggle-switch .knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: transform .25s; }
.toggle-switch:not(.on) .knob { background: var(--purple); }
.toggle-switch.on .knob { transform: translateX(20px); }
.modal-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .modal-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; } }
.saved-msg { margin-top: 16px; font-size: .875rem; color: var(--purple); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--midnight); padding: 150px 0 64px; position: relative; overflow: hidden; }
.legal-hero h1 { color: var(--white); font-size: 2.4rem; }
.legal-hero .updated { margin-top: 12px; font-size: .8rem; color: rgba(255,255,255,.5); }
.legal-hero .intro { margin-top: 20px; max-width: 640px; color: rgba(255,255,255,.72); line-height: 1.7; }
.legal-body { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 640px) { .legal-body { padding: 84px 32px; } }
.legal-section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 40px; }
.legal-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-section h2 { font-size: 1.3rem; margin-bottom: 12px; }
.legal-section h3 { font-size: 1rem; margin-top: 20px; margin-bottom: 8px; }
.legal-section p { font-size: .95rem; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.legal-section ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal-section li { font-size: .95rem; line-height: 1.65; color: var(--muted); padding-left: 20px; position: relative; }
.legal-section li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-main); }
.legal-section a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.legal-section a:hover { color: var(--purple); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 16px; border: 1px solid var(--line); font-size: .875rem; border-radius: 10px; overflow: hidden; }
.legal-table th { background: var(--grey); text-align: left; padding: 12px 16px; font-family: var(--font-display); font-weight: 700; }
.legal-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal-table td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- Rights grid (Data Opt-out page) ---------- */
.rights-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .rights-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .rights-grid { grid-template-columns: repeat(3,1fr); } }
.right-card { border-radius: 14px; border-top: 3px solid; border-image: var(--grad-main) 1; background: var(--white); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px; }
.right-card svg { color: var(--purple); }
.right-card h3 { margin-top: 16px; font-size: 1.05rem; }
.right-card p { margin-top: 8px; font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--midnight); color: var(--white); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 68px 0; position: relative; z-index: 1; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer-brand .name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin: 0; }
.footer-brand p.desc { margin-top: 20px; max-width: 340px; font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-brand .company-lines { margin-top: 24px; font-size: .875rem; color: rgba(255,255,255,.5); }
.footer-brand .company-lines p { margin: 0 0 4px; }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a { color: rgba(255,255,255,.6); }
.footer-social a:hover { color: var(--cyan); }
.footer-col h4 { margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; color: var(--cyan); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col button { font-size: .875rem; color: rgba(255,255,255,.6); text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--cyan); }
.newsletter-form { display: flex; align-items: center; border-bottom: 1px solid var(--line-dark); margin-top: 16px; position: relative; z-index: 1; }
.newsletter-form:focus-within { border-color: var(--purple); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 8px 0; color: var(--white); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form button { padding: 8px; color: var(--cyan); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-dark); padding: 32px 0; font-size: .72rem; color: rgba(255,255,255,.4); position: relative; z-index: 1; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Floating UI ---------- */
#floating-quote {
  position: fixed; right: 20px; bottom: 20px; z-index: 150; opacity: 0; transform: translateX(20px);
  transition: opacity .5s, transform .5s;
}
#floating-quote.show { opacity: 1; transform: translateX(0); }
#floating-quote a { display: flex; align-items: center; gap: 8px; background: var(--grad-main); color: var(--white); font-family: var(--font-display); font-weight: 700; padding: 15px 24px; font-size: .85rem; border-radius: 999px; box-shadow: 0 14px 34px rgba(139,92,246,.45); }
#floating-quote a:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(139,92,246,.6); }
@media (min-width: 640px) { #floating-quote { right: 32px; bottom: 32px; } }

#back-to-top {
  position: fixed; right: 20px; bottom: 96px; z-index: 150; width: 46px; height: 46px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
#back-to-top.show { display: flex; }
#back-to-top:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (min-width: 640px) { #back-to-top { right: 32px; bottom: 32px; } }

/* ---------- Cursor glow (desktop only, purely decorative) ---------- */
#cursor-glow {
  position: fixed; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: radial-gradient(circle, rgba(139,92,246,.16), transparent 70%);
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .3s;
  display: none;
}
@media (min-width: 1024px) and (hover: hover) { #cursor-glow.active { display: block; } }

/* ---------- Utility / reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .07s; } .d2 { transition-delay: .14s; } .d3 { transition-delay: .21s; }

.section-header-row { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: space-between; }
@media (min-width: 640px) { .section-header-row { flex-direction: row; align-items: flex-end; } }
.link-underline { font-family: var(--font-display); font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 2px; font-size: .875rem; }
.link-underline:hover { border-color: var(--purple); color: var(--purple); }
.link-underline.on-dark { color: var(--white); border-color: var(--white); }
.link-underline.on-dark:hover { color: var(--cyan); border-color: var(--cyan); }

/* SVG line-draw animation */
.draw-svg path, .draw-svg polyline { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.8s cubic-bezier(.16,1,.3,1); }
.draw-svg.in-view path, .draw-svg.in-view polyline { stroke-dashoffset: 0; }
