/* ═══════════════════════════════════════════════
   LOOP GLOBAL — Global Styles
   ═══════════════════════════════════════════════ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0F0A18;
  --bg-card: #1A1228;
  --bg-section: #130E1F;
  --accent: #7B2FBE;
  --accent-hover: #9B4DDB;
  --accent-glow: rgba(123,47,190,0.35);
  --accent-subtle: rgba(95,10,163,0.12);
  --purple: #B76EF0;
  --purple-dim: rgba(95,10,163,0.15);
  --text: #F3F0F8;
  --text-muted: #A099B4;
  --text-dim: #706888;
  --border: rgba(167,139,250,0.08);
  --border-hover: rgba(123,47,190,0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.22,1,0.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* --- Typography --- */
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(95,10,163,0.2);
  border-radius: 100px;
  background: var(--accent-subtle);
}

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }

h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }

.subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header { margin-bottom: 56px; }
.section-header .eyebrow { margin-bottom: 20px; }
.section-header .subtitle { margin-top: 16px; }
.section-header.centered { text-align: center; }
.section-header.centered .subtitle { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-1px);
}
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn--secondary:hover {
  border-color: rgba(95,10,163,0.3);
  color: var(--text);
  background: rgba(95,10,163,0.06);
  box-shadow: none;
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-size: 14px;
}
.btn--ghost:hover { box-shadow: none; transform: none; opacity: 0.8; }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15,10,24,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.nav__logo-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
}

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.active { color: #fff; }

.nav__cta { margin-left: 8px; }

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,10,24,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav__mobile-overlay.open { display: flex; }
.nav__mobile-overlay a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__mobile-overlay a:hover { color: #fff; }

@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}

/* --- Sections --- */
section { padding: 120px 0; }
@media (max-width: 768px) { section { padding: 80px 0; } }

.section--dark { background: var(--bg); }
.section--darker {
  background: var(--bg-section);
  background-image: linear-gradient(180deg, rgba(95,10,163,0.03) 0%, transparent 100%);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(95,10,163,0.15), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(95,10,163,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,10,163,0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { margin-top: 24px; }
.hero .subtitle { margin: 24px auto 0; text-align: center; }
.hero .btn-group { justify-content: center; margin-top: 40px; }
.hero__proof {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 48px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(95,10,163,0.12), transparent 60%);
  pointer-events: none;
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); margin-top: 20px; }
.page-hero .subtitle { margin: 20px auto 0; text-align: center; max-width: 620px; }
.page-hero .btn-group { justify-content: center; margin-top: 36px; }

/* --- Logo Marquee --- */
.logos {
  padding: 48px 0;
  border-top: 1px solid rgba(95,10,163,0.1);
  border-bottom: 1px solid rgba(95,10,163,0.1);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(95,10,163,0.04), transparent);
}
.logos__label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.logos__track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.logos__item {
  padding: 8px 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0.5;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Card Grids --- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), rgba(95,10,163,0.03));
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  background: linear-gradient(160deg, rgba(95,10,163,0.1), var(--bg-card));
}
.card--lift:hover { transform: translateY(-4px); }

.card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.card__number {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(95,10,163,0.2), rgba(95,10,163,0.08));
  border: 1px solid rgba(95,10,163,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--accent);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* --- Audience Split Cards --- */
.audience-card {
  flex: 1;
  min-width: 300px;
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.audience-card:hover { border-color: var(--border-hover); }
.audience-card .eyebrow { margin-bottom: 20px; }
.audience-card h3 { font-size: 24px; margin-bottom: 16px; }
.audience-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.audience-card .btn--ghost { margin-top: 24px; display: inline-block; }

.audience-card--agencies { background: linear-gradient(160deg, rgba(95,10,163,0.1), rgba(95,10,163,0.03)); }
.audience-card--agencies:hover { border-color: rgba(95,10,163,0.4); }
.audience-card--brands { background: linear-gradient(160deg, rgba(183,110,240,0.1), rgba(183,110,240,0.03)); }
.audience-card--brands:hover { border-color: rgba(183,110,240,0.4); }

/* --- Steps (How It Works) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(95,10,163,0.15);
  border-radius: 16px;
  overflow: hidden;
}
.step {
  padding: 36px;
  background: linear-gradient(180deg, var(--bg-card), rgba(95,10,163,0.04));
}
.step__number {
  font-size: 36px;
  font-weight: 800;
  color: rgba(95,10,163,0.35);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 12px; }
.step p { font-size: 14px; color: var(--text-muted); margin-top: 10px; line-height: 1.65; }

/* --- Case Study Cards --- */
.case-card {
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), rgba(95,10,163,0.03));
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.case-card:hover {
  border-color: var(--border-hover);
  background: linear-gradient(160deg, rgba(95,10,163,0.1), var(--bg-card));
}
.case-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.case-card__client { font-size: 18px; font-weight: 700; }
.case-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}
.case-card__tag--agency { background: rgba(95,10,163,0.1); color: var(--accent); }
.case-card__tag--brand { background: rgba(167,139,250,0.1); color: var(--purple); }
.case-card__quote {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.case-card .btn--ghost { margin-top: 20px; }

/* --- Pricing Cards --- */
.pricing-card {
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), rgba(95,10,163,0.03));
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  background: linear-gradient(160deg, rgba(95,10,163,0.1), var(--bg-card));
}
.pricing-card--featured {
  border-color: rgba(95,10,163,0.45);
  background: linear-gradient(180deg, rgba(95,10,163,0.1), transparent);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-xs);
  background: var(--accent);
  color: #fff;
  letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 8px; }
.pricing-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.pricing-card__features { margin-top: 28px; flex: 1; }
.pricing-card__feature {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 14px; color: var(--text-muted);
}
.pricing-card__feature .check { color: var(--accent); font-weight: 700; font-size: 14px; }
.pricing-card .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* --- Comparison Table --- */
.comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 56px;
}
.comparison th, .comparison td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison th { color: var(--text-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.comparison td:first-child { font-weight: 600; color: var(--text); }
.comparison td { color: var(--text-muted); }
.comparison .highlight { background: rgba(95,10,163,0.04); }
.comparison .highlight td:first-child { color: var(--accent); }
.check-mark { color: var(--accent); font-weight: 700; }
.x-mark { color: var(--text-dim); }

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 20px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.form__input, .form__textarea, .form__select {
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  border-color: var(--accent);
}
.form__textarea { resize: vertical; min-height: 120px; }
.form__select option { background: var(--bg-card); color: var(--text); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form__row { grid-template-columns: 1fr; } }

.form__success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form__success.show { display: block; }
.form__success h3 { color: var(--accent); margin-bottom: 12px; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info__item h4 { font-size: 15px; margin-bottom: 8px; }
.contact-info__item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* --- FAQ --- */
.faq { margin-top: 80px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__arrow {
  font-size: 20px;
  color: var(--text-dim);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-item__arrow { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-item__a { max-height: 300px; padding-top: 16px; }

/* --- CTA Block --- */
.cta-block {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(95,10,163,0.18), transparent 70%);
  pointer-events: none;
}
.cta-block__content { position: relative; z-index: 1; }
.cta-block h2 { max-width: 700px; margin: 0 auto; }
.cta-block .subtitle { margin: 20px auto 0; text-align: center; max-width: 480px; }
.cta-block .btn-group { justify-content: center; margin-top: 40px; }
.cta-block__email { font-size: 13px; color: var(--text-dim); margin-top: 20px; }

/* --- Footer --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(95,10,163,0.12);
  background: linear-gradient(180deg, rgba(95,10,163,0.04), var(--bg));
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer__brand { max-width: 280px; }
.footer__brand .nav__logo { margin-bottom: 12px; }
.footer__brand p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: #fff; }

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }
.fade-up.d5 { transition-delay: 0.5s; }

/* --- Page Transition --- */
.page-transition {
  animation: pageIn 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Logo Images --- */
.logos__img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.logos__item:hover .logos__img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* --- Card Images (services, case studies) --- */
.card--has-image { padding: 0; overflow: hidden; }
.card--has-image h3, .card--has-image p, .card--has-image .btn--ghost { padding: 0 24px; }
.card--has-image h3 { padding-top: 24px; }
.card--has-image .btn--ghost { padding-bottom: 24px; }
.card__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card--has-image:hover .card__image img { transform: scale(1.05); }

.case-card__image {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-card:hover .case-card__image img { transform: scale(1.05); }

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item__image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.portfolio-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.portfolio-item:hover .portfolio-item__image img { transform: scale(1.08); }
.portfolio-item__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(15,10,24,0.9));
  transition: opacity 0.3s ease;
}
.portfolio-item__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.portfolio-item__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.team-member { text-align: center; }
.team-member__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
  transition: border-color 0.3s ease;
}
.team-member:hover .team-member__photo { border-color: var(--accent); }
.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}
.team-member__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.team-member__role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}
.team-member__bio {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.55;
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-section {
  margin-bottom: 48px;
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.legal-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Career Role Cards --- */
.role-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), rgba(95,10,163,0.03));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: all var(--transition);
  margin-bottom: 16px;
}
.role-card:hover { border-color: var(--border-hover); }
.role-card__info { flex: 1; min-width: 240px; }
.role-card__title { font-size: 18px; font-weight: 700; color: var(--text); }
.role-card__type {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}
.role-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}
.no-roles-message {
  padding: 48px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-purple { color: var(--purple); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-16 { margin-bottom: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* --- Content blocks for inner pages --- */
.content-block { max-width: 720px; }
.content-block h2 { margin-bottom: 16px; }
.content-block p { font-size: 17px; color: var(--text-muted); line-height: 1.75; }
.content-block p + p { margin-top: 16px; }

.features-list { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 16px; }
.feature-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  border: 1px solid rgba(95,10,163,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 16px;
}
.feature-item h4 { font-size: 16px; margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* --- Testimonial Block --- */
.testimonial {
  padding: 48px;
  border-radius: 16px;
  border: 1px solid rgba(95,10,163,0.2);
  background: linear-gradient(160deg, rgba(95,10,163,0.1), var(--bg-card));
}
.testimonial__quote {
  font-size: 20px;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}
.testimonial__author {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

/* --- Case Study Page Specific --- */
.filter-bar { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}

/* --- Sticky Mobile CTA --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  background: rgba(15,10,24,0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 998;
}
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) { .mobile-cta { display: block; } }

.nav__logo img {
  width: auto !important;
  height: 120px !important;
  object-fit: contain !important;
}


/* --- Parallax Effects --- */
.hero {
  background-attachment: fixed !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Cards sliding in from sides */
.fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-left.d1, .fade-right.d1 { transition-delay: 0.1s; }
.fade-left.d2, .fade-right.d2 { transition-delay: 0.2s; }
.fade-left.d3, .fade-right.d3 { transition-delay: 0.3s; }
.fade-left.d4, .fade-right.d4 { transition-delay: 0.4s; }

/* Parallax depth on hero background */
.parallax-bg {
  will-change: transform;
  transition: transform 0.05s linear;
}