@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-dark: #09090b;
  --bg-card: #18181b;
  --bg-card-hover: #27272a;
  --bg-cream: #FAF9F6;
  --text-dark: #18181b;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-muted-dark: #71717a;
  --lime-green: #a3e635;
  --lime-green-dim: rgba(163,230,53,0.1);
  --brand-blue: #3b82f6;
  --brand-blue-dim: rgba(59,130,246,0.1);
  --accent: #F05417;
  --neon-teal: #00F5D4;
  --font-heading: 'Epilogue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-subtle: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font-body); line-height: 1.6; }
body { overflow-x: hidden; background: var(--bg-dark); color: var(--text-main); cursor: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }

.adv-container { width: 100%; max-width: 1536px; margin: 0 auto; padding: 0 clamp(2rem, 5vw, 4rem); }

/* ═══════════════════════════════════════════
   #1 — CUSTOM ANIMATED CURSOR
   ═══════════════════════════════════════════ */
#cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--lime-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(163, 230, 53, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.25,1,0.5,1),
              height 0.4s cubic-bezier(0.25,1,0.5,1),
              border-color 0.3s;
  /* Ring lags behind dot — handled in JS */
}
body:has(a:hover) #cursor-dot,
body:has(button:hover) #cursor-dot {
  width: 16px;
  height: 16px;
  background: var(--accent);
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(240, 84, 23, 0.5);
}
@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ─── HEADER ─── */
.adv-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(250,249,246,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.4s, box-shadow 0.4s;
}
.adv-header.scrolled {
  background: rgba(250,249,246,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center; height: 72px;
}
.adv-logo {
  display: flex; align-items: center; justify-content: center;
}
.adv-logo img {
  height: 110px; width: auto; object-fit: contain;
}

.adv-nav { display: flex; gap: 2.5rem; align-items: center; }
.adv-nav a {
  font-weight: 500; font-size: 0.9rem; color: var(--text-muted-dark);
  position: relative; padding-bottom: 4px;
}
.adv-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--brand-blue); transition: width 0.3s ease;
}
.adv-nav a:hover { color: var(--text-dark); }
.adv-nav a:hover::after { width: 100%; }
.nav-highlight { 
  color: #000 !important; 
  font-weight: 600 !important; 
  border: 1px solid var(--lime-green);
  padding: 0.4rem 1rem !important;
  border-radius: 99px;
  background-color: transparent;
}
.nav-highlight::after { display: none !important; }

.adv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.5rem; border-radius: 9999px; border: 1px solid transparent;
  font-weight: 600; font-family: var(--font-heading); font-size: 0.9rem;
  cursor: none; transition: all 0.3s ease;
}
.adv-btn-primary {
  background: var(--brand-blue); color: #fff; border-color: var(--brand-blue);
}
.adv-btn-primary:hover {
  background: #2563eb; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}
.adv-btn-lime {
  background: var(--lime-green); color: #000; border-color: var(--lime-green);
}
.adv-btn-lime:hover {
  background: #84cc16; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163,230,53,0.3);
}
.header-cta-btn { font-size: 0.85rem; padding: 0.55rem 1.25rem; }

/* Hamburger */
.adv-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; height: 28px; justify-content: center;
  background: none; border: none; cursor: pointer; z-index: 1100;
}
.adv-menu-toggle span {
  display: block; width: 100%; height: 2.5px;
  background: var(--text-dark); border-radius: 2px;
  transition: all 0.3s ease;
}
.adv-menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.adv-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.adv-menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Overlay */
.mobile-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-color); /* Dark theme */
  z-index: 1050;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-overlay.is-active { opacity: 1; pointer-events: auto; }
.mobile-overlay-nav { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-nav-link {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600;
  color: var(--text-light); /* Light text for dark background */
}
.mobile-nav-link:hover { color: var(--lime-green); }
.mobile-nav-link.nav-highlight {
  font-size: 1.5rem !important;
  padding: 0.6rem 1.5rem !important;
  border-width: 2px !important;
  background-color: var(--lime-green) !important; /* Solid background for visibility */
  color: #000 !important; /* Black text on lime green */
}


/* ─── HERO (Cream/Light BG) ─── */
.adv-hero {
  background: var(--bg-cream); color: var(--text-dark);
  min-height: 100vh; display: flex; align-items: center;
  padding: 180px 0 120px; position: relative; overflow: hidden;
}

/* ═══════════════════════════════════════════
   #2 — CURSOR-TRACKED HERO GLOW
   ═══════════════════════════════════════════ */
.hero-cursor-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(163,230,53,0.16) 0%, rgba(240,84,23,0.06) 45%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  z-index: 1;
  will-change: transform;
}

.hero-waves-bg {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease-in-out;
}
.hero-waves-bg.is-flowing {
  opacity: 0.3;
}
.hero-wave-svg {
  width: 100%; height: 100%;
  min-width: 1200px;
}
.wave-group {
  animation: slideWave 15s linear infinite;
  animation-play-state: paused;
}
.hero-waves-bg.is-flowing .wave-group {
  animation-play-state: running;
}
@keyframes slideWave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-600px); }
}
.hero-layout { position: relative; z-index: 2; width: 100%; }
.hero-content { margin-bottom: 4rem; max-width: 75%; }
.adv-hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem); margin-bottom: 0; color: var(--text-dark); letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; text-align: left;
}
.text-accent { color: var(--brand-blue); }

/* ═══════════════════════════════════════════
   #3 — WORD-CYCLE HEADLINE ANIMATION
   ═══════════════════════════════════════════ */
.word-cycle-wrap {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
}
.word-cycle-word {
  display: inline-block;
  color: var(--brand-blue);
}

/* ═══════════════════════════════════════════
   #8 — HERO SERVICE PILLS — COLOR POP + TILT
   ═══════════════════════════════════════════ */
.hero-services-row {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 4rem; flex-wrap: wrap;
}
.hero-service-item {
  padding: 0.75rem 0; cursor: default;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
  perspective: 600px;
}
.hero-service-item:hover {
  transform: translateY(-6px) rotateX(8deg);
}
.hero-service-item:nth-child(1):hover h2 { color: var(--lime-green); }
.hero-service-item:nth-child(3):hover h2 { color: var(--accent); }
.hero-service-item:nth-child(5):hover h2 { color: var(--brand-blue); }
.hero-service-item:nth-child(7):hover h2 { color: #f472b6; }
.hero-service-item:nth-child(9):hover h2 { color: var(--neon-teal); }
.hero-service-item h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; color: var(--text-dark);
  transition: color 0.3s ease;
}
.hero-service-plus {
  font-size: 2.5rem; font-weight: 300; color: var(--text-muted-dark); opacity: 0.4;
}
.hero-tagline {
  color: var(--text-muted-dark); font-size: clamp(1.2rem, 2vw, 1.5rem);
  max-width: 600px; margin-top: 2rem; line-height: 1.5;
}

/* ─── BRANDS WE WORKED WITH ─── */
.adv-brands {
  background: var(--bg-cream);
  padding: 2rem 0 6rem;
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted-dark);
  margin-bottom: 3rem;
}
.brands-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
}
.brands-marquee-wrap::before,
.brands-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-cream), transparent);
}
.brands-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-cream), transparent);
}
.brands-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}
.brands-marquee {
  display: flex;
  gap: 5rem;
  padding-right: 5rem;
  align-items: center;
}
.brand-item {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  opacity: 0.4;
  white-space: nowrap;
  transition: opacity 0.3s, color 0.3s, transform 0.3s;
  cursor: default;
}
.brand-item:hover {
  opacity: 1;
  color: var(--text-dark);
  transform: scale(1.05);
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   #7 — NOISE TEXTURE + #4 HOW WE ROLL
   ═══════════════════════════════════════════ */
.adv-how-we-roll {
  background: var(--bg-dark); padding: 6rem 0; overflow: hidden; position: relative;
}
/* Noise texture overlay via SVG filter */
.adv-how-we-roll::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.adv-how-we-roll > * { position: relative; z-index: 1; }

.roll-label {
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  color: var(--text-muted); text-align: center; margin-bottom: 3rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.roll-lines-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.roll-line {
  white-space: nowrap; display: flex; gap: 1.5rem; align-items: baseline;
  font-family: var(--font-heading); font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 600; text-transform: uppercase;
  will-change: transform; transition: none;
}
.roll-outline {
  -webkit-text-stroke: 1.5px var(--text-muted);
  color: transparent; opacity: 0.5;
}
.roll-filled { color: var(--lime-green); }
.roll-line-2 .roll-filled { color: var(--brand-blue); }

/* ═══════════════════════════════════════════
   #5 — BENTO STATS BLOCK (below marquee)
   ═══════════════════════════════════════════ */
.bento-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 5rem;
  padding: 0 clamp(2rem, 5vw, 4rem);
}
.bento-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(163,230,53,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.bento-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(163,230,53,0.3);
  transform: translateY(-6px);
}
.bento-card:hover::before { opacity: 1; }
.bento-icon {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}
.bento-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--lime-green);
  line-height: 1;
  letter-spacing: -0.03em;
}
.bento-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .bento-stats { grid-template-columns: 1fr 1fr; }
}

/* ─── OUR VALUES ─── */
.section-title-accent {
  font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600; color: var(--lime-green); margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem; color: var(--text-main); margin-bottom: 5rem;
}

/* ═══════════════════════════════════════════
   NOISE TEXTURE on VALUES SECTION TOO
   ═══════════════════════════════════════════ */
.adv-values {
  background: #080614; padding: 10rem 0;
  border-top: 1px solid var(--border-light);
  position: relative;
}
.adv-values::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.adv-values > .adv-container { position: relative; z-index: 1; }
.adv-values .section-title-accent {
  color: var(--lime-green);
}
.adv-values .section-subtitle {
  color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 600px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem; margin-top: 4rem;
}

/* ═══════════════════════════════════════════
   #6 — VALUE CARD FLIP ON HOVER
   ═══════════════════════════════════════════ */
.value-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.value-card:hover::before {
  opacity: 1;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 230, 53, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.035);
}
.value-card-border-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime-green), transparent);
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease;
  z-index: 2;
}
.value-card:hover .value-card-border-glow {
  opacity: 1;
  width: 75%;
}
.value-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
  position: relative;
  z-index: 2;
}
.value-card:hover .value-icon-wrap {
  background: rgba(163, 230, 53, 0.1);
  border-color: rgba(163, 230, 53, 0.3);
  color: var(--lime-green);
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.15);
}
.value-icon-wrap svg {
  width: 26px; height: 26px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem 0;
  z-index: 2;
  position: relative;
}
.value-motto {
  font-size: 0.95rem;
  color: var(--lime-green);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-style: italic;
  z-index: 2;
  position: relative;
  display: block;
}
.value-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
  z-index: 2;
  position: relative;
}

/* ─── VIDZY SERVICES SECTION ─── */
.adv-vidzy-services {
  background: var(--bg-cream); 
  padding: 8rem 0;
  border-top: 1px solid var(--border-light);
}
.adv-vidzy-services .section-title-accent {
  color: var(--text-dark);
}
.adv-vidzy-services .section-subtitle {
  color: var(--text-muted-dark);
}
.adv-vidzy-services .service-tldr {
  color: var(--text-muted-dark) !important;
}

.vidzy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.vidzy-row:last-child {
  margin-bottom: 0;
}

.vidzy-row.reverse {
  direction: rtl;
}

.vidzy-row.reverse > * {
  direction: ltr;
}

.vidzy-col {
  width: 100%;
}

.vidzy-service-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 2rem;
}

.vidzy-accord-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vidzy-accod-panel {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.vidzy-accod-panel.active {
  border-bottom-color: var(--brand-blue);
}

.vidzy-accod-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  padding: 1rem 0;
  transition: color 0.3s ease;
}

.vidzy-accod-panel.active .vidzy-accod-head {
  color: var(--brand-blue);
}

.vidzy-icon {
  font-size: 1.5rem;
  color: var(--brand-blue);
  font-weight: 400;
  transition: transform 0.3s;
}

.vidzy-accod-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.vidzy-accod-panel.active .vidzy-accod-content {
  max-height: 400px;
  padding-bottom: 1rem;
}

.vidzy-accod-content p {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.media-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

/* ─── 3-PHONE FAN CLUSTER ─── */
.vidzy-phone-cluster {
  position: relative;
  width: 440px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Starry glow background behind the phones */
.vidzy-phone-cluster::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Tiny sparkle dots */
.vidzy-phone-cluster::after {
  content: '✦  ✦    ✦  ✦    ✦';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding-top: 1rem;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 8px;
  pointer-events: none;
  z-index: 0;
}

.phone-frame {
  position: absolute;
  width: 175px;
  height: 375px;
  border-radius: 36px;
  background: #0d1117;
  border: 4px solid rgba(230,235,245,0.85);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.4),
    0 4px 16px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-notch {
  width: 60px;
  height: 12px;
  background: rgba(230,235,245,0.85);
  border-radius: 0 0 10px 10px;
  margin-top: 0;
  flex-shrink: 0;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  flex: 1;
  overflow: hidden;
  position: relative;
}

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

.phone-screen iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420%;
  height: 140%;
  border: none;
  pointer-events: none;
}

.phone-screen iframe.no-zoom {
  width: 300%;
  height: 100%;
}

.mobile-thumbnail-only {
  display: none !important;
}

.desktop-iframe-only {
  display: block !important;
}

/* Left phone — rotated behind, left */
.phone-left {
  transform: rotate(-16deg) translateX(-135px) translateY(10px) scale(0.88);
  z-index: 1;
  opacity: 0.82;
}

/* Center phone — upright, front */
.phone-center {
  transform: translateY(-12px) scale(1);
  z-index: 3;
  width: 195px;
  height: 415px;
  border-radius: 40px;
  border-color: rgba(240,244,255,0.95);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.5),
    0 8px 24px rgba(59,130,246,0.15),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Right phone — rotated behind, right */
.phone-right {
  transform: rotate(16deg) translateX(135px) translateY(10px) scale(0.88);
  z-index: 2;
  opacity: 0.82;
}

/* ═══════════════════════════════════════════
   #9 — ●REC INDICATOR ON CENTER PHONE
   ═══════════════════════════════════════════ */
.phone-center .phone-screen::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 10px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  z-index: 10;
  animation: recPulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(239,68,68,0.8);
}
/* REC label next to dot */
.phone-center .phone-screen::before {
  content: 'REC';
  position: absolute;
  top: 6px;
  left: 24px;
  font-size: 7px;
  font-weight: 700;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  z-index: 10;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

@media (max-width: 992px) {
  .adv-vidzy-services {
    padding: 4rem 0;
  }
  .vidzy-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .vidzy-row.reverse {
    direction: ltr;
  }
  .media-col {
    order: -1;
    padding: 1rem 0;
  }
  .vidzy-service-title {
    font-size: 1.75rem;
  }
  .vidzy-phone-cluster {
    width: 280px;
    height: 340px;
  }
  .phone-frame {
    width: 105px;
    height: 230px;
    border-radius: 22px;
    border-width: 3px;
  }
  .phone-center {
    width: 118px;
    height: 255px;
  }
  .phone-left {
    transform: rotate(-16deg) translateX(-84px) translateY(8px) scale(0.88);
  }
  .phone-right {
    transform: rotate(16deg) translateX(84px) translateY(8px) scale(0.88);
  }
  .mobile-thumbnail-only {
    display: block !important;
  }
  .desktop-iframe-only {
    display: none !important;
  }
}


/* ─── PRODUCT SHOWCASE ─── */
.adv-product-showcase {
  padding: 8rem 0; border-top: 1px solid var(--border-light);
}
.product-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  border: 1px solid var(--border-subtle); border-radius: 32px;
  padding: 4rem; position: relative; overflow: hidden;
}
.product-badge {
  display: inline-block; background: var(--brand-blue-dim);
  color: var(--brand-blue); padding: 0.45rem 1rem; border-radius: 9999px;
  font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem;
}
.product-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.product-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.product-features { margin-bottom: 2.5rem; }
.product-features li {
  margin-bottom: 0.7rem; font-weight: 500; display: flex; align-items: center; gap: 0.6rem;
}
.product-features .check { color: var(--lime-green); font-weight: 700; }
.product-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.glow-orb {
  position: absolute; width: 280px; height: 280px;
  background: var(--lime-green); filter: blur(100px); opacity: 0.15;
  border-radius: 50%; animation: pulseOrb 4s ease-in-out infinite alternate;
}
.phone-abstract {
  position: relative; width: 240px; height: 480px; background: #000;
  border-radius: 36px; border: 6px solid #27272a;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.6), 0 0 40px rgba(163,230,53,0.18);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; padding-top: 36px;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #27272a;
  border-bottom-left-radius: 14px; border-bottom-right-radius: 14px;
}
.phone-screen-content {
  display: flex; flex-direction: column; align-items: center; padding: 2rem 1rem;
}
.ph-status { color: var(--lime-green); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.75rem; }
.ph-name { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.25rem; }
.ph-subtitle { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 3rem; }

/* ═══════════════════════════════════════════
   #10 — LEADCALL WAVEFORM ANIMATION
   ═══════════════════════════════════════════ */
.waveform-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 90px;
  height: 60px;
  margin-bottom: 2rem;
}
.waveform-bar {
  width: 5px;
  border-radius: 3px;
  background: var(--lime-green);
  animation: waveformBounce 1.2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(163,230,53,0.5);
}
.waveform-bar:nth-child(1) { animation-delay: 0s;    height: 18px; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s;  height: 35px; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s;  height: 50px; }
.waveform-bar:nth-child(4) { animation-delay: 0.15s; height: 28px; }
.waveform-bar:nth-child(5) { animation-delay: 0.3s;  height: 42px; }
.waveform-bar:nth-child(6) { animation-delay: 0.05s; height: 22px; }
.waveform-bar:nth-child(7) { animation-delay: 0.25s; height: 38px; }
.waveform-bar:nth-child(8) { animation-delay: 0.12s; height: 15px; }
@keyframes waveformBounce {
  0%, 100% { transform: scaleY(0.35); opacity: 0.6; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

.ph-timer {
  font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600;
  color: var(--lime-green);
}

/* The old ripple wave (keep for fallback) */
.phone-waves-container { position: relative; width: 80px; height: 80px; margin-bottom: 2rem; display: none; }
.phone-wave {
  width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--lime-green);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: ripple 2s linear infinite; opacity: 0;
}
.phone-wave:nth-child(2) { animation-delay: 0.6s; }
.phone-wave:nth-child(3) { animation-delay: 1.2s; }

@keyframes ripple {
  0% { width: 60px; height: 60px; opacity: 1; }
  100% { width: 180px; height: 180px; opacity: 0; }
}
@keyframes pulseOrb {
  0% { transform: scale(1); opacity: 0.1; }
  100% { transform: scale(1.15); opacity: 0.25; }
}

/* ═══════════════════════════════════════════
   #5 — CTA — ANIMATED GRADIENT MESH
   ═══════════════════════════════════════════ */
.adv-cta {
  padding: 10rem 0;
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.adv-cta::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 60% 55% at 20% 50%, rgba(163,230,53,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 40%, rgba(240,84,23,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 55% 80%, rgba(59,130,246,0.12) 0%, transparent 55%);
  animation: meshDrift 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.adv-cta::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}
.adv-cta .adv-container { position: relative; z-index: 1; }
@keyframes meshDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-3%, 2%) scale(1.04); }
  66%  { transform: translate(2%, -3%) scale(0.97); }
  100% { transform: translate(-1%, 1%) scale(1.02); }
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1rem; }
.cta-inner p { color: var(--text-muted); font-size: 1.25rem; margin-bottom: 2.5rem; }

/* ─── FOOTER ─── */
.adv-footer {
  background: var(--bg-dark); padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; margin-top: 1rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--text-main); }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding-top: 2rem; text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ─── ANIMATIONS ─── */
.reveal-fade {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-fade.is-visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 992px) {
  .product-card { grid-template-columns: 1fr; padding: 3rem 2rem; text-align: center; }
  .product-features li { justify-content: center; }
  .product-visual { order: -1; margin-bottom: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .accordion-body ul { grid-template-columns: 1fr; }
  .accordion-header { grid-template-columns: 1fr 50px; gap: 1rem; }
  .service-category { grid-column: 1 / -1; margin-bottom: 0.5rem; }
  .accordion-body ul { margin-left: 0; padding-left: 0; }
}

@media (max-width: 768px) {
  /* Navigation */
  .adv-logo img { height: 60px; }
  .adv-menu-toggle { display: flex; margin-left: 0.75rem; }
  .adv-menu-toggle span { background: var(--text-dark); }
  .adv-nav { display: none; }
  .header-cta-btn { 
    display: inline-flex; 
    margin-left: auto;
    padding: 0.35rem 0.8rem; font-size: 0.85rem; font-weight: 700;
    background: transparent; color: #000; border: 2px solid var(--lime-green); 
  }
  .header-cta-btn:hover { background: var(--lime-green); color: #000; }
  
  /* Hero Section */
  .desktop-br { display: none; }
  .adv-hero { padding: 100px 0 60px; min-height: 100vh; min-height: 100dvh; }
  .hero-content { max-width: 100%; margin-bottom: 2rem; }
  .adv-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; padding-right: 0.5rem; }
  .hero-tagline { font-size: clamp(1.1rem, 4vw, 1.3rem); line-height: 1.5; margin-top: 2rem; }
  .word-cycle-wrap { min-width: auto; display: inline; }
  
  .hero-services-row { 
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start;
    gap: 0.5rem 0.3rem; margin-top: 2.5rem; 
  }
  .hero-service-plus { display: inline-block; color: #F97316; font-weight: 600; font-size: clamp(1rem, 3.8vw, 1.15rem); }
  .hero-service-item { padding: 0; }
  .hero-service-item h2 { font-size: clamp(1rem, 3.8vw, 1.15rem); font-weight: 600; color: var(--text-dark); margin: 0; }
  
  /* Section Paddings */
  .adv-values { padding: 5rem 0; }
  .adv-vidzy-services { padding: 4rem 0; }
  .adv-product-showcase { padding: 4rem 0; }
  .adv-cta { padding: 5rem 0; }
  .adv-how-we-roll { padding: 3rem 0; }
  
  /* Values Grid & Card Mobile Overrides */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .value-card { padding: 2rem 1.25rem; }
  .value-icon-wrap { width: 48px; height: 48px; margin-bottom: 1.25rem; }
  .value-icon-wrap svg { width: 22px; height: 22px; }
  .value-title { font-size: 1.25rem; }
  .value-motto { font-size: 0.88rem; margin-bottom: 0.75rem; }
  .value-desc { font-size: 0.85rem; line-height: 1.5; }
  
  /* Accordion Layout */
  .accordion-header { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 1.5rem 0; }
  .accordion-icon-wrap { position: absolute; top: 1.5rem; right: 0; }
  .service-desc-inline { margin-top: 0.5rem; font-size: 1rem; padding-right: 3rem; }
  
  /* Marquee/Roll */
  .roll-line { font-size: clamp(2rem, 10vw, 3.5rem); }
  
  /* Product Showcase */
  .product-card { padding: 2rem 1.5rem; }
  .value-footer h3 { font-size: 1rem; }
  .accordion-title { font-size: 1.1rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ═══════════════════════════════════════════
   MODAL / POPUP
   ═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 3, 10, 0.85); backdrop-filter: blur(8px);
  z-index: 9999; display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1; pointer-events: auto;
}
.modal-container {
  background: var(--card-bg); border: 1px solid var(--border-light);
  width: 90%; max-width: 480px; border-radius: var(--radius);
  position: relative; transform: translateY(20px); transition: transform 0.3s ease;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.modal-overlay.is-open .modal-container { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: transparent; border: none;
  color: var(--text-muted); font-size: 2rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--lime-green); }
.modal-content { padding: 2.5rem; }
.modal-content h2 { margin-top: 0; margin-bottom: 0.5rem; font-size: 2rem; }
.modal-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.5; }

.lead-form .form-group { margin-bottom: 1.25rem; }
.lead-form label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-light); margin-bottom: 0.4rem;
}
.lead-form label .required { color: var(--lime-green); }
.lead-form input, .lead-form select {
  width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  color: var(--text-light); font-family: 'Inter', sans-serif; transition: border-color 0.2s, background 0.2s;
}
.lead-form input:focus, .lead-form select:focus {
  outline: none; border-color: var(--lime-green); background: rgba(204, 255, 0, 0.05);
}
.lead-form select option {
  color: #000 !important;
}
.success-message {
  text-align: center; padding: 2rem 0;
}
.success-message h3 { color: var(--lime-green); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ═══════════════════════════════════════════
   CASE STUDIES SECTION (Light/Cream theme)
   ═══════════════════════════════════════════ */
.adv-work {
  padding: 8rem 2rem;
  background: var(--bg-cream);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.adv-work .section-title-accent {
  color: var(--text-dark);
}
.adv-work .section-subtitle {
  color: var(--text-muted-dark);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--lime-green);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.work-card-image {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #111;
}
.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-card-image img {
  transform: scale(1.04);
}
.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.work-card:hover .work-card-overlay {
  opacity: 1;
}
.work-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime-green);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.work-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.work-card:hover .work-card-cta svg {
  transform: translateX(4px);
}
.work-card-content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.work-card-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.placeholder-logo-txt {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.8;
}
.work-card-tags {
  display: flex;
  gap: 0.4rem;
}
.work-tag {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted-dark);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}
.work-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}
.work-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
}

/* Placeholder adjustments */
.work-card--placeholder {
  cursor: default;
  background: rgba(0,0,0,0.015);
  border: 1px dashed rgba(0,0,0,0.1);
}
.work-card--placeholder:hover {
  transform: none;
  border-color: rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.015);
  box-shadow: none;
}
.work-card--placeholder .status-tag {
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text-muted-dark);
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive grid & Mobile layout fixes */
@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .adv-work {
    padding: 4rem 1.25rem;
  }
  .work-grid {
    margin-top: 2.5rem;
  }
}
@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .work-card-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .adv-container {
    padding: 0 1.25rem;
  }
}

