/* ==========================================================================
   REACH SKYLINE - MINIMALIST OBSIDIAN BLACK & WHITE LUXURY THEME
   AI-Powered Digital Marketing Agency
   Established 2017 | Creative. Digital. Performance.
   ========================================================================== */

:root {
  /* Colors - Pure White & Obsidian Black Luxury Foundation */
  --bg-dark: #ffffff;
  --bg-darker: #f6f7f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.98);
  
  /* Brand Accent: Pure Jet Black */
  --gold-primary: #000000;
  --gold-light: #18181b;
  --gold-dark: #000000;
  --gold-glow: rgba(0, 0, 0, 0.12);
  --gold-glow-subtle: rgba(0, 0, 0, 0.04);
  --gold-gradient: linear-gradient(135deg, #000000 0%, #1f2937 100%);
  --gold-border: rgba(0, 0, 0, 0.18);
  
  /* Text - Pure Obsidian Black & Slate Hierarchy */
  --text-primary: #000000;
  --text-secondary: #3f3f46;
  --text-muted: #71717a;
  --text-inverse: #ffffff;
  
  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);
  --border-glass: rgba(0, 0, 0, 0.06);

  /* Fonts */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 2px 8px -2px rgba(0, 0, 0, 0.03);
  --shadow-gold: 0 12px 35px -8px rgba(0, 0, 0, 0.2);
  --shadow-ambient: 0 25px 50px -12px rgba(0, 0, 0, 0.12);

  /* Dimensions */
  --nav-height: 86px;
  --container-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: #000000;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Typography & Utility Classes
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-gold {
  color: #000000;
}

.text-gradient-gold {
  color: #000000;
  background: none;
  -webkit-text-fill-color: #000000;
  display: inline-block;
  font-weight: 500;
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

.font-mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

@media (min-width: 1440px) {
  :root {
    --container-max: 1560px;
  }
  .container {
    max-width: 1560px;
    width: 94%;
  }
  .hero-content {
    max-width: 1100px;
  }
  .hero-subheadline {
    max-width: 780px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container-max: 1800px;
  }
  .container {
    max-width: 1800px;
    width: 95%;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .hero-content {
    max-width: 1380px;
  }
  .hero-subheadline {
    max-width: 920px;
  }
}

@media (min-width: 2560px) {
  :root {
    --container-max: 2200px;
  }
  .container {
    max-width: 2200px;
    width: 95%;
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .hero-content {
    max-width: 1600px;
  }
  .hero-subheadline {
    max-width: 1100px;
  }
}

.section {
  padding: 7rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
}

/* Background Gradients & Ambient Lighting */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}

.glow-top-right {
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #000000 0%, transparent 70%);
}

.glow-center-left {
  top: 30%;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #000000 0%, transparent 70%);
}

/* Section Headers */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #000000;
  background: #f4f5f8;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements (Solid Black & Pure White Contrast)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 450;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: #1f2937;
  border-color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.btn-secondary {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f4f5f8;
  border-color: #000000;
  color: #000000;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.btn-outline-gold:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* Glass Card Base */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-ambient);
}

.glass-card-gold:hover {
  border-color: #000000;
  box-shadow: var(--shadow-ambient);
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all var(--transition-smooth);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar.scrolled {
  height: 74px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-logo-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 68px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #000000;
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu-list a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-menu-list a:hover {
  color: #000000;
}

.mobile-menu-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 992px) {
  .nav-menu, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  background: #f4f5f8;
  border: 1px solid rgba(0, 0, 0, 0.14);
  margin-bottom: 2.25rem;
}

.badge-pulse {
  display: none;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: #000000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: 'Outfit', 'Syne', sans-serif;
  font-size: clamp(3.2rem, 7.8vw, 6.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
  color: #000000;
}

.hero-line {
  display: inline-block;
  margin: 0 0.15rem;
  color: #000000;
}

.hero-line.text-gradient-gold {
  color: #000000;
  background: none;
  -webkit-text-fill-color: #000000;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto 2.75rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.75rem;
}

/* Micro floating badges */
.hero-floating-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.micro-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 450;
  letter-spacing: 0.12em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.micro-pill:hover {
  border-color: #000000;
  color: #ffffff;
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   About Section & Agency Statistics
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-statement {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

/* Stats Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-card {
  padding: 2.2rem 1.8rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: #000000;
  box-shadow: var(--shadow-ambient);
}

.stat-number {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.2rem);
  font-weight: 550;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  color: #000000;
  background: none;
  -webkit-text-fill-color: #000000;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

/* 6 Key Value Pillars from Cover Letter */
.pillars-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  border-color: #000000;
  transform: translateY(-4px);
  box-shadow: var(--shadow-ambient);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f4f5f8;
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  margin-bottom: 1.25rem;
}

.pillar-name {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Services Section (01 - 07 with Interactive Hover)
   -------------------------------------------------------------------------- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 2.4fr;
  align-items: center;
  padding: 2rem 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  cursor: default;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .service-row {
    grid-template-columns: 60px 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }
  .service-desc {
    grid-column: 2 / -1;
  }
}

.service-row:hover {
  border-color: #000000;
  transform: translateX(8px);
  box-shadow: var(--shadow-ambient);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: #000000;
}

.service-title {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-right: 1.5rem;
}

.service-action {
  display: flex;
  justify-content: flex-end;
}

.service-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: all var(--transition-fast);
}

.service-row:hover .service-arrow-btn {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Work / Website Portfolio
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 450;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  cursor: pointer;
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: #000000;
  box-shadow: var(--shadow-ambient);
}

.project-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.04);
}

.project-thumbnail {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  right: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 12px);
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-thumbnail {
  transform: scale(1.03);
}

.project-overlay-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.project-card-body {
  padding: 1.25rem 0.25rem 0.25rem 0.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client-name {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.project-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.project-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000000;
}

.project-card:hover .project-view-link {
  color: #000000;
}

/* --------------------------------------------------------------------------
   SEO Portfolio
   -------------------------------------------------------------------------- */
.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .seo-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .seo-features-grid {
    grid-template-columns: 1fr;
  }
}

.seo-feature-card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.seo-feature-card:hover {
  border-color: #000000;
  transform: translateY(-4px);
  box-shadow: var(--shadow-ambient);
}

.seo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f4f5f8;
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  margin-bottom: 1rem;
}

.seo-feature-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.seo-feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* SEO Case Studies */
.seo-cases-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .seo-cases-wrapper {
    grid-template-columns: 1fr;
  }
}

.seo-case-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.seo-case-header {
  padding: 2.5rem 2.5rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.seo-case-title {
  font-size: 1.8rem;
  font-weight: 550;
  color: var(--text-primary);
}

.seo-case-scope-list {
  padding: 0 2.5rem 1.75rem;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 576px) {
  .seo-case-scope-list {
    grid-template-columns: 1fr;
  }
}

.seo-scope-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.seo-scope-item svg {
  color: #000000;
  flex-shrink: 0;
}

.seo-preview-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 0 2rem 2rem;
}

.seo-img-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.seo-img-thumb:hover {
  transform: scale(1.03);
  border-color: #000000;
}

/* --------------------------------------------------------------------------
   Social Media Portfolio
   -------------------------------------------------------------------------- */
.social-channels-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.channel-pill:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .social-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .social-masonry-grid {
    grid-template-columns: 1fr;
  }
}

.social-masonry-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-smooth);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-masonry-item:hover {
  transform: translateY(-5px);
  border-color: #000000;
  box-shadow: var(--shadow-ambient);
}

.social-masonry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: opacity var(--transition-fast);
}

.social-masonry-item:hover .social-item-overlay {
  opacity: 1;
}

.social-overlay-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.social-overlay-meta {
  font-size: 0.8rem;
  color: #d4d4d8;
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Stacked Client Brand Showcases & Dynamic Filter System
   -------------------------------------------------------------------------- */
.client-selector-bar {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.client-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 500;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.client-filter-btn:hover {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.client-filter-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#social .container,
#advertising .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(1.5rem, 3vw, 4rem);
  padding-right: clamp(1.5rem, 3vw, 4rem);
}

.brand-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  width: 100%;
}

.brand-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  width: 100%;
  transition: all var(--transition-smooth);
}

.brand-showcase-card.hidden {
  display: none !important;
}

.brand-showcase-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-ambient);
}

.brand-channel-showcase-mode-b {
  background: #fafafa;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.brand-mode-b-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
}

.brand-mode-b-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.brand-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.brand-info-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-avatar-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand-avatar-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title-group h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.brand-handle-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-media-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .brand-media-grid-2 {
    grid-template-columns: 1fr;
  }
}

.brand-media-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .brand-media-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-media-grid-3 {
    grid-template-columns: 1fr;
  }
}

.brand-media-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .brand-media-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand-media-grid-4 {
    grid-template-columns: 1fr;
  }
}

.brand-video-embed-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.brand-video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.brand-unified-media-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-unified-media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.brand-unified-media-card .brand-reel-embed-container {
  border-radius: 0;
  border: none;
  box-shadow: none;
  height: 330px;
  background: #f8fafc;
  position: relative;
  overflow: hidden !important;
}

.brand-unified-info-bar {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.brand-unified-info-bar h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.brand-unified-info-bar a {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.brand-unified-info-bar a:hover {
  color: var(--gold-dark);
}

@-webkit-keyframes autoScrollMarquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes autoScrollMarquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

.brand-carousel-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden !important;
  overflow-x: hidden !important;
  padding: 0.5rem 0;
  margin-top: 1rem;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.brand-carousel-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 1.25rem !important;
  width: max-content !important;
  animation: autoScrollMarquee 50s linear infinite !important;
  -webkit-animation: autoScrollMarquee 50s linear infinite !important;
  animation-play-state: running;
  -webkit-animation-play-state: running;
  padding: 0.5rem 0;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Pause marquee scrolling when hovering on desktop view for all clients */
@media (hover: hover) and (min-width: 993px) {
  .brand-carousel-marquee-wrapper:hover .brand-carousel-marquee-track,
  .brand-carousel-marquee-track:hover {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
  }
}

@media (max-width: 992px) {
  .navbar,
  .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
  }

  /* Continuous auto-scroll marquee for all clients on mobile & tablet view */
  .brand-carousel-marquee-wrapper {
    overflow: hidden !important;
    overflow-x: hidden !important;
    padding: 0.35rem 0 !important;
    margin: 0.5rem 0 0 0 !important;
    width: 100% !important;
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent) !important;
  }

  .brand-carousel-marquee-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .brand-carousel-marquee-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    animation: autoScrollMarquee 30s linear infinite !important;
    -webkit-animation: autoScrollMarquee 30s linear infinite !important;
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    width: max-content !important;
    gap: 12px !important;
    padding: 0.25rem 0 !important;
    will-change: transform !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
  }

  .brand-carousel-marquee-track .brand-unified-media-card {
    flex: 0 0 210px !important;
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    scroll-snap-align: unset !important;
    contain: content;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }

  /* Show duplicate set on mobile for seamless infinite auto-scroll */
  .brand-carousel-marquee-track .brand-unified-media-card[aria-hidden="true"] {
    display: flex !important;
    flex: 0 0 210px !important;
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
  }

  .brand-short-thumb-container {
    height: 275px !important;
  }
}

.brand-carousel-marquee-track .brand-unified-media-card {
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
}

@media (min-width: 1440px) {
  .brand-carousel-marquee-track .brand-unified-media-card {
    flex: 0 0 270px;
    width: 270px;
    min-width: 270px;
    max-width: 270px;
  }
}

@media (min-width: 1920px) {
  .brand-carousel-marquee-track .brand-unified-media-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
  }
  .brand-short-thumb-container {
    height: 350px;
  }
}

.brand-short-thumb-container {
  position: relative;
  width: 100%;
  height: 330px;
  background: #0a0a0c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.brand-short-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-unified-media-card:hover .brand-short-thumb-container img {
  transform: scale(1.04);
}

.brand-short-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

.brand-showcase-card[data-client="hercyclopedia"] .brand-short-play-btn,
.brand-showcase-card[data-client="supreme"] .brand-short-play-btn,
.brand-showcase-card[data-client="ramnath"] .brand-short-play-btn,
.brand-showcase-card[data-client="gem"] .brand-unified-media-card:nth-child(-n+4) .brand-short-play-btn,
.brand-showcase-card[data-client="gem"] .brand-unified-media-card:nth-child(n+9):nth-child(-n+12) .brand-short-play-btn,
.brand-showcase-card[data-client="madrascoffee"] .brand-unified-media-card:nth-child(-n+5) .brand-short-play-btn,
.brand-showcase-card[data-client="madrascoffee"] .brand-unified-media-card:nth-child(n+9):nth-child(-n+13) .brand-short-play-btn,
.brand-showcase-card[data-client="dmedva"] .brand-short-play-btn,
.brand-showcase-card[data-client="rkhospitality"] .brand-short-play-btn {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.brand-showcase-card[data-client="hercyclopedia"] .brand-unified-media-card:hover .brand-short-play-btn,
.brand-showcase-card[data-client="supreme"] .brand-unified-media-card:hover .brand-short-play-btn,
.brand-showcase-card[data-client="ramnath"] .brand-unified-media-card:hover .brand-short-play-btn,
.brand-showcase-card[data-client="gem"] .brand-unified-media-card:nth-child(-n+4):hover .brand-short-play-btn,
.brand-showcase-card[data-client="gem"] .brand-unified-media-card:nth-child(n+9):nth-child(-n+12):hover .brand-short-play-btn,
.brand-showcase-card[data-client="madrascoffee"] .brand-unified-media-card:nth-child(-n+5):hover .brand-short-play-btn,
.brand-showcase-card[data-client="madrascoffee"] .brand-unified-media-card:nth-child(n+9):nth-child(-n+13):hover .brand-short-play-btn,
.brand-showcase-card[data-client="dmedva"] .brand-unified-media-card:hover .brand-short-play-btn,
.brand-showcase-card[data-client="rkhospitality"] .brand-unified-media-card:hover .brand-short-play-btn {
  background: rgba(0, 0, 0, 0.8) !important;
  transform: translate(-50%, -50%) scale(1.1);
}

.brand-unified-media-card:hover .brand-short-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #cc0000;
}

.brand-carousel-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.brand-reel-embed-container {
  position: relative;
  width: 100%;
  height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden !important;
  background: #000000;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.brand-reel-embed-container iframe {
  width: 100%;
  height: 440px;
  border: none;
  overflow: hidden !important;
}

.brand-reel-embed-container::-webkit-scrollbar,
.brand-reel-embed-container iframe::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.brand-media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.brand-media-card:hover {
  transform: translateY(-6px);
  border-color: #000000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.brand-media-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #09090b;
}

.brand-media-card-img-wrap.reel-wrap {
  aspect-ratio: 16 / 10;
}

.brand-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.brand-media-card:hover img {
  transform: scale(1.08);
}

.brand-media-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  backdrop-filter: blur(8px);
}

.brand-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  z-index: 2;
}

.brand-play-overlay svg {
  margin-left: 2px;
}

.brand-media-card:hover .brand-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: #000000;
  color: #ffffff;
}

.brand-media-card-info {
  padding: 1.25rem 1.4rem;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-media-card-info h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.brand-media-card-info span {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Video Portfolio
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: #000000;
  box-shadow: var(--shadow-ambient);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #f1f5f9;
  overflow: hidden;
}

.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-thumb-img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #18181b;
}

.video-card-body {
  padding: 1.5rem;
}

.video-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.video-card-platform {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Advertising Section (Tata Motors & Campaigns)
   -------------------------------------------------------------------------- */
.ads-highlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .ads-highlight-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}

.ads-highlight-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.ads-highlight-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.ads-highlight-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.ads-campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .ads-campaign-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Ad Creatives Gallery & Interactive Filter (48 Posters)
   -------------------------------------------------------------------------- */
.ad-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
}

.ad-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ad-filter-btn:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.ad-filter-btn.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ad-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.07);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
}

.ad-filter-btn.active .ad-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Ad Posters Auto Scroll Keyframes (Right-to-Left) */
@-webkit-keyframes adPostersAutoScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes adPostersAutoScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

.ad-posters-wrapper {
  position: relative;
  width: 100%;
}

.ad-posters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  width: 100%;
  justify-content: center;
  transition: opacity 0.3s ease;
}

/* Clone posters are hidden by default on desktop */
.ad-poster-card[data-ad-clone="true"] {
  display: none !important;
}

@media (min-width: 1440px) {
  .ad-posters-grid {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 1920px) {
  .ad-posters-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.25rem;
  }
}

@media (max-width: 820px) {
  .ad-posters-wrapper {
    overflow: hidden !important;
    overflow-x: hidden !important;
    padding: 0.5rem 0 !important;
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  }

  /* When 'All' is active on mobile: continuous smooth auto-scroll right-to-left marquee */
  .ad-posters-grid.is-all-active {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: max-content !important;
    gap: 1rem !important;
    animation: adPostersAutoScroll 80s linear infinite !important;
    -webkit-animation: adPostersAutoScroll 80s linear infinite !important;
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    will-change: transform !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
  }

  .ad-posters-grid.is-all-active .ad-poster-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
  }

  .ad-posters-grid.is-all-active .ad-poster-card[data-ad-clone="true"] {
    display: flex !important;
  }

  /* When an individual client filter is active: DO NOT scroll (static responsive grid) */
  .ad-posters-grid:not(.is-all-active) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    animation: none !important;
    -webkit-animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    justify-content: stretch !important;
  }

  .ad-posters-grid:not(.is-all-active) .ad-poster-card {
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .ad-posters-grid:not(.is-all-active) .ad-poster-card[data-ad-clone="true"] {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .ad-posters-grid.is-all-active .ad-poster-card {
    flex: 0 0 200px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }

  .ad-posters-grid:not(.is-all-active) {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

.ad-poster-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.ad-poster-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.2);
}

.ad-poster-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-poster-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-poster-card:hover .ad-poster-img-wrap img {
  transform: scale(1.05);
}

.ad-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ad-poster-card:hover .ad-poster-overlay {
  opacity: 1;
}

.ad-poster-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.ad-poster-card:hover .ad-poster-zoom-btn {
  transform: translateY(0);
}

.ad-poster-info {
  padding: 1rem 1.15rem;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ad-poster-client-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9933b;
}

.ad-poster-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   Reels & Shorts Section
   -------------------------------------------------------------------------- */
.reels-scroll-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1200px) {
  .reels-scroll-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .reels-scroll-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .reels-scroll-track {
    grid-template-columns: 1fr;
  }
}

.reel-card {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.reel-card:hover {
  transform: translateY(-8px);
  border-color: #000000;
  box-shadow: var(--shadow-ambient);
}

.reel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.reel-card:hover .reel-card-img {
  transform: scale(1.06);
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.15) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  z-index: 2;
}

.reel-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.reel-play-icon {
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.reel-card:hover .reel-play-icon {
  transform: scale(1.15);
  background: #18181b;
}

.reel-info-title {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Traditional Advertising
   -------------------------------------------------------------------------- */
.traditional-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .traditional-split-grid {
    grid-template-columns: 1fr;
  }
}

.traditional-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.traditional-card:hover {
  border-color: #000000;
  transform: translateY(-4px);
  box-shadow: var(--shadow-ambient);
}

.traditional-header {
  padding: 2rem 2rem 1.25rem;
}

.traditional-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.traditional-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.traditional-gallery {
  padding: 0 2rem 2rem;
  display: grid;
  gap: 1rem;
}

.traditional-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Agency Process Section
   -------------------------------------------------------------------------- */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
}

.process-step-card:hover {
  border-color: #000000;
  transform: translateY(-6px);
  box-shadow: var(--shadow-ambient);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 1rem;
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Final Dramatic CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 5rem 0 6.5rem;
  position: relative;
}

.cta-box {
  background: #000000;
  border: 1px solid #18181b;
  border-radius: var(--radius-xl);
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-box .section-tag {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-weight: 700;
  padding: 0.4rem 1.15rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-align: center;
  max-width: 820px;
}

.cta-headline span,
.cta-headline .cta-highlight,
.cta-headline .text-gradient-gold {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-weight: inherit;
}

.cta-subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 1.65;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  width: 100%;
}

.cta-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.cta-box .btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cta-box .btn-primary:hover {
  background: #f4f5f8;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cta-box .btn-secondary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.cta-box .btn-secondary:hover {
  background: #f4f5f8;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3.5rem 0 4.5rem;
  }

  .cta-box {
    padding: 3.5rem 1.5rem;
  }

  .cta-headline {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
  }

  .cta-subtext {
    font-size: 0.98rem;
    margin-bottom: 2rem;
  }

  .cta-actions {
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
  }

  .cta-box .btn {
    width: 100%;
    max-width: 340px;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
  position: relative;
  color: var(--text-primary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-title {
  font-size: 1.6rem;
  font-weight: 550;
  margin-bottom: 0.75rem;
  color: #000000;
}

.footer-brand-tagline {
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-brand-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #000000;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item a {
  color: #000000;
  font-weight: 500;
}

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

/* --------------------------------------------------------------------------
   Interactive Modals (Project Case Study, Video Player, Contact Form)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
  color: var(--text-primary);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: rotate(90deg);
}

/* Contact Form Inside Modal */
.contact-form {
  padding: 3rem;
}

@media (max-width: 576px) {
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

/* Video Player Modal Container */
.video-modal-container {
  max-width: 960px;
  padding: 1.5rem;
  background: #ffffff;
}

.video-frame-wrapper {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-frame-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Image Lightbox */
.lightbox-container {
  max-width: 850px;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
}

.lightbox-img {
  max-height: 80vh;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  border: 1px solid var(--border-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Case Study Content Layout */
.case-study-modal-body {
  padding: 2.5rem;
}

.case-study-preview-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}

/* =========================================================================
   Ultra-Realistic High-Density SaaS Product Previews ("SAAS PRODUCTS")
   ========================================================================= */
.saas-products-section {
  background: var(--bg-darker);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6.5rem 0;
}

.saas-products-section .section-tag {
  text-transform: none;
}

.saas-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.saas-product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.saas-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.12);
}

/* =========================================================================
   1. ULTRA-REALISTIC HIGH-DENSITY APPLICATION PREVIEWS (Height: 240px)
   ========================================================================= */
.saas-ui-preview {
  height: 230px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-subtle);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.saas-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  
}



.saas-product-card:hover .saas-ui-preview {
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.25);
}

.saas-app-window {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

/* Window Chrome Top Header */
.app-window-header {
  height: 26px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.65rem;
  flex-shrink: 0;
}

.app-dots {
  display: flex;
  gap: 4px;
}

.app-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.app-dots span:nth-child(1) { background: #ef4444; }
.app-dots span:nth-child(2) { background: #f59e0b; }
.app-dots span:nth-child(3) { background: #10b981; }

.app-title-bar {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #64748b;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.08rem 0.55rem;
  border-radius: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.app-live-status {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.status-dot.green { background: #10b981; }
.status-dot.purple { background: #8b5cf6; }
.status-dot.blue { background: #0284c7; }
.status-dot.amber { background: #f59e0b; }

/* Window Canvas & Left Rail */
.app-window-body {
  height: calc(100% - 26px);
  display: flex;
  background: #ffffff;
  overflow: hidden;
}

.app-mini-sidebar {
  width: 30px;
  background: #f8fafc;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0;
  gap: 0.45rem;
  flex-shrink: 0;
}

.app-nav-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.65rem;
  transition: all 0.2s ease;
}

.app-nav-icon.active {
  background: #000000;
  color: #ffffff;
}

.app-main-view {
  flex: 1;
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: #ffffff;
  overflow: hidden;
}

/* App View Topbar */
.app-view-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.view-title-group {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.view-main-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.view-sub-chip {
  font-size: 0.52rem;
  color: #64748b;
  font-weight: 600;
}

.view-action-pill {
  font-size: 0.52rem;
  font-weight: 700;
  background: #000000;
  color: #ffffff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.view-action-pill.green-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* 1. TATA CRM Pipeline */
.crm-pipeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  flex: 1;
  overflow: hidden;
}

.crm-col {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow: hidden;
}

.crm-col-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  font-weight: 700;
  color: #64748b;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.2rem;
}

.col-sum { color: #0f172a; font-weight: 800; font-family: var(--font-mono); }

.crm-deal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.35rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.crm-deal-card.won-border {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.deal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-name { font-size: 0.6rem; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80px; }

.deal-tag {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.05rem 0.25rem;
  border-radius: 3px;
}
.deal-tag.high { background: #e0f2fe; color: #0369a1; }
.deal-tag.med { background: #fef3c7; color: #b45309; }
.deal-tag.won { background: #dcfce7; color: #15803d; }

.deal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-val { font-size: 0.58rem; font-weight: 800; font-family: var(--font-mono); color: #0f172a; }

.deal-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2. ERP Operations Command */
.erp-dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.erp-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.erp-kpi-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.25rem 0.45rem;
  display: flex;
  flex-direction: column;
}

.kpi-h { font-size: 0.5rem; color: #64748b; font-weight: 600; }
.kpi-b { font-size: 0.68rem; font-weight: 800; color: #0f172a; font-family: var(--font-mono); }
.kpi-b.text-gold { color: #b45309; }

.erp-modules-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.erp-list-row {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.25rem 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.58rem;
  font-weight: 600;
  color: #0f172a;
}

.erp-row-left { display: flex; align-items: center; gap: 0.3rem; }

.erp-tag {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
}
.erp-tag.ok { background: #ecfdf5; color: #047857; }
.erp-tag.active { background: #f3e8ff; color: #7e22ce; }

/* 3. HR Workforce Directory Table */
.hr-table-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.hr-table-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.5rem;
  font-weight: 700;
  color: #64748b;
  padding: 0 0.35rem;
}

.hr-table-row {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.25rem 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hr-emp-cell { display: flex; align-items: center; gap: 0.35rem; }

.emp-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emp-avatar.av-tech { background: #0284c7; }
.emp-avatar.av-des { background: #ec4899; }
.emp-avatar.av-ops { background: #8b5cf6; }

.emp-info { display: flex; flex-direction: column; text-align: left; }
.emp-name { font-size: 0.58rem; font-weight: 700; color: #0f172a; }
.emp-title { font-size: 0.48rem; color: #64748b; }

.dept-pill {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.08rem 0.3rem;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.status-pill-sub {
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.08rem 0.3rem;
  border-radius: 3px;
}
.status-pill-sub.in { background: #dcfce7; color: #15803d; }
.status-pill-sub.wfh { background: #e0f2fe; color: #0369a1; }
.status-pill-sub.leave { background: #fef3c7; color: #b45309; }

/* 4. Desk Helpdesk Queue */
.desk-queue-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.desk-queue-row {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.35rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.desk-queue-row.high-priority { border-left: 3px solid #ef4444; }

.queue-meta { display: flex; justify-content: space-between; align-items: center; }
.ticket-badge { font-family: var(--font-mono); font-size: 0.55rem; font-weight: 800; color: #0f172a; }
.ticket-sla { font-size: 0.48rem; color: #ef4444; font-weight: 700; font-family: var(--font-mono); }

.ticket-title { font-size: 0.58rem; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ticket-assignee { display: flex; justify-content: space-between; align-items: center; font-size: 0.5rem; }
.agent-tag { color: #64748b; font-weight: 500; }
.ticket-status-pill { font-weight: 700; padding: 0.06rem 0.3rem; border-radius: 3px; }
.ticket-status-pill.prog { background: #e0f2fe; color: #0369a1; }
.ticket-status-pill.open { background: #fef3c7; color: #b45309; }

/* 5. Flow Automation Canvas */
.flow-interactive-canvas {
  flex: 1;
  background: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 8px 8px;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.canvas-node-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.25rem 0.55rem;
  display: flex;
  flex-direction: column;
  width: 94%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.canvas-node-card.trigger-node { border-left: 3px solid #f59e0b; }
.canvas-node-card.action-node { border-left: 3px solid #0284c7; }
.canvas-node-card.success-node { border-left: 3px solid #10b981; }

.c-node-header { display: flex; align-items: center; gap: 0.25rem; }
.c-dot { width: 5px; height: 5px; border-radius: 50%; }
.c-type { font-size: 0.45rem; font-weight: 800; color: #64748b; letter-spacing: 0.06em; }
.c-title { font-size: 0.58rem; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.1rem; }

.canvas-connector-wire {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 12px;
}

/* 6. Insights Executive BI Chart */
.bi-dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.bi-kpi-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.bi-metric-cell {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.25rem 0.3rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.m-lbl { font-size: 0.48rem; color: #64748b; font-weight: 600; }
.m-val { font-size: 0.65rem; font-weight: 800; color: #0f172a; font-family: var(--font-mono); }
.m-val.text-gold { color: #b45309; }
.m-val.green-text { color: #15803d; }

.bi-visual-chart-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.35rem 0.5rem;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.chart-bars-wrap {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.2rem;
}

.c-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2rem;
}

.c-bar {
  width: 100%;
  background: #cbd5e1;
  border-radius: 2px 2px 0 0;
  transition: height 0.3s ease;
}

.c-bar.peak { background: #000000; }
.c-bar.projected { background: #94a3b8; }
.c-m { font-size: 0.48rem; color: #64748b; font-family: var(--font-mono); }
.c-m.font-bold { font-weight: 800; color: #0f172a; }

/* =========================================================================
   2. CARD META ROW (Category, Status & Number)
   ========================================================================= */
.saas-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.saas-cat-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
}

.saas-meta-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.saas-status-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.saas-status-badge.status-live {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.saas-status-badge.status-concept {
  background: #f8fafc;
  color: #475569;
  border: 1px solid var(--border-subtle);
}

.saas-index-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* =========================================================================
   3. CARD BODY TYPOGRAPHY (100% Equal Heights Across Grid)
   ========================================================================= */
.saas-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.saas-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  min-height: 1.9rem;
}

.saas-card-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.75rem;
  min-height: 2.8rem;
  display: flex;
  align-items: flex-start;
}

.saas-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  min-height: 5.4rem;
}

.saas-features-box {
  margin-bottom: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.95rem;
  min-height: 125px;
  display: flex;
  flex-direction: column;
}

.saas-features-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.55rem;
}

.saas-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.feat-tag {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #334155;
  transition: all 0.2s ease;
}

.saas-product-card:hover .feat-tag {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #0f172a;
}

.saas-built-for {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1.35rem;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.75rem;
  min-height: 2.8rem;
}

.saas-built-for .built-label {
  font-weight: 700;
  color: #0f172a;
}

.saas-card-footer {
  margin-top: auto;
  padding-top: 0.25rem;
}

.btn-outline-dark {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: #000000;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-dark:hover,
.saas-product-card:hover .btn-outline-dark {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark svg {
  transition: transform 0.2s ease;
}

.btn-outline-dark:hover svg,
.saas-product-card:hover .btn-outline-dark svg {
  transform: translateX(3px);
}

/* =========================================================================
   4. BOTTOM ENTERPRISE CALL TO ACTION
   ========================================================================= */
.saas-bottom-cta {
  margin-top: 5rem;
  padding: 3.5rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.saas-bottom-pretitle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.saas-bottom-headline {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 720px;
  line-height: 1.35;
  margin-bottom: 2rem;
}

/* Responsive Grid */
@media (max-width: 1100px) {
  .saas-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .saas-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .saas-product-card {
    padding: 1.25rem;
  }
  
  .saas-bottom-headline {
    font-size: 1.35rem;
  }
}


/* =========================================================================
   Enhanced Deep-Content SEO Showcase & Enterprise Case Studies
   ========================================================================= */
.seo-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .seo-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .seo-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.seo-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.seo-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.seo-pillar-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #c59b27;
  margin-bottom: 0.5rem;
}

.seo-pillar-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.seo-pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.seo-case-studies-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.seo-enterprise-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.seo-enterprise-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.seo-enterprise-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.seo-enterprise-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.seo-enterprise-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.seo-client-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.seo-metric-badge {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seo-metric-badge.gold {
  background: rgba(197, 155, 39, 0.12);
  color: #9a7408;
  border: 1px solid rgba(197, 155, 39, 0.3);
}

.seo-metric-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.seo-enterprise-summary {
  background: #f8fafc;
  border-left: 3px solid #000000;
  border-radius: 6px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.seo-enterprise-summary strong {
  color: var(--text-primary);
}

.seo-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 868px) {
  .seo-evidence-grid {
    grid-template-columns: 1fr;
  }
}

.seo-evidence-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.seo-evidence-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.seo-evidence-preview {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-evidence-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.seo-evidence-card:hover .seo-evidence-img {
  transform: scale(1.02);
}

.seo-evidence-zoom {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.seo-evidence-preview:hover .seo-evidence-zoom {
  transform: scale(1.1);
  background: #000000;
}

.seo-evidence-info {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.seo-evidence-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #c59b27;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.seo-evidence-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.seo-evidence-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.seo-evidence-desc strong {
  color: var(--text-primary);
}


/* --------------------------------------------------------------------------
   Hercyclopedia Header Shield:
   Clips out Instagram's injected iframe header (avatar, 1 follower, View Profile)
   for Hercyclopedia exclusively while preserving all other brand showcases.
   -------------------------------------------------------------------------- */
.brand-showcase-card[data-client="hercyclopedia"] {
  padding-bottom: 1.75rem !important;
}

.brand-showcase-card[data-client="hercyclopedia"] .brand-unified-media-card {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

.brand-showcase-card[data-client="hercyclopedia"] .brand-reel-embed-container {
  overflow: hidden !important;
  position: relative;
  height: 330px;
}

.brand-showcase-card[data-client="hercyclopedia"] .brand-reel-embed-container iframe {
  margin-top: -55px !important;
  height: 395px !important;
  width: 100% !important;
  border: none !important;
  display: block !important;
}

/* --------------------------------------------------------------------------
   Instagram Native Header Overlay:
   Displays authentic brand name, audio indicator & [View profile] button
   -------------------------------------------------------------------------- */
.brand-ig-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%);
  z-index: 3;
}

.brand-ig-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-ig-mini-avatar {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.brand-ig-meta {
  display: flex;
  flex-direction: column;
}

.brand-ig-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.brand-ig-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.brand-ig-view-btn {
  background: #0095f6;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 0.8s linear infinite;
}
