/* ============================================
   MST MEDIA — styles.css
   Dark Cinematic Creative Agency
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ============================================
   DESIGN SYSTEM — Custom Properties
   ============================================ */
:root {
  --bg-primary: #0A0E14;
  --bg-secondary: #0D1117;
  --bg-surface: #161B22;
  --bg-surface-hover: #1C2230;
  --accent: #4A90D9;
  --accent-hover: #5BA0E9;
  --accent-glow: rgba(74, 144, 217, 0.3);
  --text-primary: #FFFFFF;
  --text-secondary: #8B949E;
  --text-muted: #484F58;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(74, 144, 217, 0.3);
  --glass: rgba(13, 17, 23, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* -- Scroll Reveal -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -- Section Header -- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition),
    backdrop-filter var(--transition),
    box-shadow var(--transition);
  background: transparent;
}

.nav-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* FIX: target the img inside the logo link */
.nav-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo {
  height: 100px;
  width: 140px;
  object-fit: contain;
  object-position: center;
  margin: -10px -10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link-active {
  color: var(--text-primary);
}

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

.nav-cta {
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* -- Hamburger -- */
.nav-hamburger {
  display: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}

/* Hamburger → X animation */
.nav-menu-open .nav-hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-menu-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-menu-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at 80% 20%, rgba(74, 144, 217, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8 C40 2, 60 12, 100 6 S160 2, 198 8' stroke='%234A90D9' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

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

.hero-cta-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  transition: background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
  display: inline-block;
  text-align: center;
}

.hero-cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74, 144, 217, 0.45);
}

.hero-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  transition: border-color var(--transition),
    color var(--transition);
  display: inline-block;
  text-align: center;
}

.hero-cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-checks {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.hero-check svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ============================================
   HERO PHONES
   ============================================ */
.hero-phones {
  position: relative;
  height: 560px;
  width: 100%;
  z-index: 2;
}

.phone-card {
  position: absolute;
  width: 150px;
  transition: transform var(--transition), z-index 0s;
  z-index: 1;
}

.phone-card:nth-child(1) {
  top: 5%;
  left: 5%;
  animation: float-1 6s ease-in-out infinite;
}

.phone-card:nth-child(2) {
  top: 0%;
  left: 40%;
  animation: float-2 7s ease-in-out infinite 0.5s;
}

.phone-card:nth-child(3) {
  top: 35%;
  left: 15%;
  animation: float-3 5.5s ease-in-out infinite 1s;
}

.phone-card:nth-child(4) {
  top: 28%;
  left: 55%;
  animation: float-4 6.5s ease-in-out infinite 1.5s;
}

.phone-card:nth-child(5) {
  top: 58%;
  left: 35%;
  animation: float-5 7.5s ease-in-out infinite 0.8s;
}

.phone-card:hover {
  z-index: 10;
}

.phone-card:nth-child(1):hover {
  animation: none;
  transform: scale(1.08) rotate(-6deg);
}

.phone-card:nth-child(2):hover {
  animation: none;
  transform: scale(1.08) rotate(3deg);
}

.phone-card:nth-child(3):hover {
  animation: none;
  transform: scale(1.08) rotate(-4deg);
}

.phone-card:nth-child(4):hover {
  animation: none;
  transform: scale(1.08) rotate(5deg);
}

.phone-card:nth-child(5):hover {
  animation: none;
  transform: scale(1.08) rotate(-2deg);
}

/* Float Animations */
@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-12px) rotate(-6deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-14px) rotate(-4deg);
  }
}

@keyframes float-4 {

  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@keyframes float-5 {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

/* Phone Frame */
.phone-frame {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(74, 144, 217, 0.15);
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bg-surface);
}

.phone-frame video,
.phone-frame img,
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 14, 20, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  color: var(--accent);
  z-index: 2;
  white-space: nowrap;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 0 24px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   BRANDS MARQUEE
   ============================================ */
.brands {
  padding: 56px 0;
  overflow: hidden;
}

.brands-title {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
  font-weight: 500;
}

.brands-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Brand logos are text spans, style them as text logos */
.brand-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.5;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition), color var(--transition);
  letter-spacing: 0.5px;
}

.brand-logo:hover {
  opacity: 1;
  color: var(--text-secondary);
}

/* ============================================
   WORK SECTION
   ============================================ */
.work {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.work-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.filter-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* -- Subcategory Filters Row -- */
.subcategory-filters {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sub-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition),
    border-color var(--transition),
    color var(--transition);
  font-family: inherit;
}

.sub-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sub-filter-btn.sub-filter-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.work-video-container {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--bg-primary);
}

.work-video-container img,
.work-video-container video,
.work-video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.work-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 2;
}

.work-play-btn:hover {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.work-play-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.work-card-info {
  padding: 16px;
}

.work-card-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.work-card-type {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   WHY MST
   ============================================ */
.why-mst {
  padding: 120px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 36px 28px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.why-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

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

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-step {
  padding: 24px 16px;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: rgba(74, 144, 217, 0.1);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* Step Connector (desktop only) */
.step-connector {
  display: none;
}

@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 2px;
    background: var(--border);
    transform: translateY(-50%);
  }

  .step-connector::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
  }

  .process-step:last-child .step-connector {
    display: none;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-accent);
}

.testimonial-card::before {
  content: '\201C';
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
}

.author-role {
  font-size: 12px;
  color: var(--text-secondary);
}

.testimonial-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
}

.result-item {
  display: flex;
  flex-direction: column;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.result-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(74, 144, 217, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  position: relative;
}

.calendly-inline-widget {
  max-width: 700px;
  margin: 0 auto;
  min-height: 660px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 80px;
  width: 120px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 8px;
  margin-left: -10px;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

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

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE — 1024px (Tablet)
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-phones {
    order: 0;
    height: 380px;
    margin: 0 auto 24px;
    max-width: 500px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-checks {
    align-items: center;
  }

  .phone-card {
    width: 120px;
  }

  .phone-card:nth-child(1) {
    left: 5%;
    top: 5%;
  }

  .phone-card:nth-child(2) {
    left: 40%;
    top: 0%;
  }

  .phone-card:nth-child(3) {
    left: 18%;
    top: 33%;
  }

  .phone-card:nth-child(4) {
    left: 60%;
    top: 25%;
  }

  .phone-card:nth-child(5) {
    left: 38%;
    top: 55%;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   RESPONSIVE — 768px (Mobile)
   ============================================ */
@media (max-width: 768px) {

  /* NAV - mobile menu */
  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999;
  }

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

  .nav-links .nav-link {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
  }

  /* Show a CTA link inside mobile menu */
  .nav-links::after {
    content: 'Book a Call';
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-phones {
    height: 300px;
    max-width: 360px;
  }

  .phone-card {
    width: 100px;
  }

  .phone-card:nth-child(1) {
    left: 2%;
    top: 8%;
  }

  .phone-card:nth-child(2) {
    left: 38%;
    top: 0%;
  }

  .phone-card:nth-child(3) {
    left: 15%;
    top: 38%;
  }

  .phone-card:nth-child(4) {
    left: 60%;
    top: 28%;
  }

  .phone-card:nth-child(5) {
    left: 35%;
    top: 58%;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-checks {
    gap: 8px;
  }

  .hero-check {
    font-size: 13px;
  }

  /* STATS */
  .stats-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-item {
    padding: 20px 0;
    border-right: none !important;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }

  /* WORK */
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .work-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* WHY */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* PROCESS */
  .process-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .step-connector {
    display: none !important;
  }

  /* TESTIMONIALS */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* FOOTER */
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* REDUCE PADDING */
  .work,
  .why-mst,
  .process,
  .testimonials,
  .cta-section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-subtitle {
    font-size: 15px;
  }
}

/* ============================================
   RESPONSIVE — 480px (Small Mobile)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-phones {
    height: 260px;
    max-width: 320px;
  }

  .phone-card {
    width: 85px;
  }

  .phone-card:nth-child(1) {
    left: 0%;
    top: 8%;
  }

  .phone-card:nth-child(2) {
    left: 35%;
    top: 0%;
  }

  .phone-card:nth-child(3) {
    left: 12%;
    top: 40%;
  }

  .phone-card:nth-child(4) {
    left: 58%;
    top: 28%;
  }

  .phone-card:nth-child(5) {
    left: 32%;
    top: 60%;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-size: 15px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .hero-cta-primary {
    width: 100%;
  }

  .work,
  .why-mst,
  .process,
  .testimonials,
  .cta-section {
    padding: 60px 0;
  }

  .marquee-track {
    gap: 36px;
  }

  .brand-logo {
    font-size: 15px;
  }

  .testimonial-result {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-legal {
    gap: 16px;
  }

  .calendly-inline-widget {
    min-height: 550px;
  }

  .nav-logo {
    height: 80px;
    width: 110px;
  }

  .step-number {
    font-size: 42px;
  }
}

/* ============================================ */
/* VIDEO MODAL — FINAL VERSION */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .9);
}

.video-modal-content {
  position: relative;
  width: fit-content;
  margin: 2vh auto;
}

#modalVideo {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 12px;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

/* ============================================================
   MST Media — New Portfolio & See More Styles
   ============================================================ */

/* ---------- See More Button (Work Section) ---------- */
.work-see-more-container {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  width: 100%;
}

.see-more-btn {
  text-transform: none;
  font-size: 15px;
  padding: 12px 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Portfolio Page Layout ---------- */
.portfolio-page {
  padding-top: 72px;
}

.portfolio-header {
  padding: 100px 0 40px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(74, 144, 217, 0.06) 0%, transparent 70%);
}

/* ---------- Search Bar ---------- */
.portfolio-filters-sec {
  padding-bottom: 40px;
}

.portfolio-search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 32px;
  width: 100%;
}

.portfolio-search-box .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.portfolio-search-box input {
  width: 100%;
  padding: 16px 20px 16px 56px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.portfolio-search-box input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-surface-hover);
  box-shadow: 0 0 20px rgba(74, 144, 217, 0.15);
}

.portfolio-search-box input::placeholder {
  color: var(--text-muted);
}

/* ---------- Grid and Load More ---------- */
.portfolio-grid-sec {
  padding-bottom: 120px;
}

.portfolio-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  width: 100%;
}

.load-more-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.load-more-btn:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* ---------- No Results Fallback ---------- */
.portfolio-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-no-results svg {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.portfolio-no-results h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-no-results p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ---------- Modal Carousel for Static Ads ---------- */
.modal-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

#modalCarouselImage {
  max-height: 85vh;
  max-width: 80vw;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 17, 23, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: -56px;
}

.carousel-next {
  right: -56px;
}

.carousel-dots {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .carousel-prev {
    left: -20px;
  }
  .carousel-next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .carousel-prev {
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .carousel-next {
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  #modalCarouselImage {
    max-width: 85vw;
  }
}

/* ============================================================
   AI SPOTLIGHT ARCHITECTURE STYLES
   ============================================================ */
.ai-spotlight-sec {
  padding: 20px 0 40px;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  background: rgba(74, 144, 217, 0.12);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.15;
}

.spotlight-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 620px;
  line-height: 1.5;
}

.ai-count-badge {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ============================================================
   VISUAL CATEGORY STORY CARDS (OPTION B)
   ============================================================ */
.story-strip-wrapper {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
}

.story-strip-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
}

.story-strip-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Individual Visual Story Card */
.story-card {
  position: relative;
  flex: 0 0 170px;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-surface);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  user-select: none;
}

.story-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(74, 144, 217, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 144, 217, 0.2);
}

.story-card.story-card-active {
  border: 2px solid var(--accent);
  box-shadow: 0 0 25px rgba(74, 144, 217, 0.45),
              0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px) scale(1.04);
}

.story-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.2) 0%, rgba(8, 11, 16, 0.85) 80%, rgba(8, 11, 16, 0.98) 100%);
  z-index: 1;
}

.story-card.story-card-active .story-card-overlay {
  background: linear-gradient(180deg, rgba(74, 144, 217, 0.15) 0%, rgba(8, 11, 16, 0.75) 60%, rgba(8, 11, 16, 0.98) 100%);
}

.story-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  transition: all 0.3s ease;
}

.story-card.story-card-active .story-card-title {
  color: #fff;
  text-shadow: 0 0 15px var(--accent-glow);
}

/* Nav Scroll Buttons */
.story-scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.story-scroll-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}

.story-scroll-left {
  left: -18px;
}

.story-scroll-right {
  right: -18px;
}

/* Card Subcategory Badge */
.card-sub-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(10, 14, 20, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 144, 217, 0.4);
  color: var(--accent);
  z-index: 2;
  white-space: nowrap;
}

/* Spotlight Divider */
.spotlight-divider-sec {
  padding: 60px 0 40px;
}

.spotlight-divider {
  display: flex;
  align-items: center;
  gap: 24px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.divider-badge {
  padding: 8px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.other-creatives-sec {
  padding: 20px 0 120px;
}

@media (max-width: 768px) {
  .story-card {
    flex: 0 0 145px;
    height: 98px;
  }
  .story-scroll-btn {
    display: none; /* Rely on smooth touch swiping on mobile */
  }
  .spotlight-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .spotlight-divider {
    gap: 12px;
  }
  .divider-badge {
    font-size: 11px;
    padding: 6px 16px;
    letter-spacing: 1px;
  }
}