/* ==========================================================================
   instagramcelebrities.com - Unified Global Design System (v2.6)
   Mathematical alignment, absolute centering, and intermediate scale safeties.
   ========================================================================== */

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables / Design System --- */
:root {
  /* Color Palette */
  --bg-primary: #030305;
  --bg-secondary: #08080c;
  --color-surface: rgba(18, 18, 29, 0.5);
  --color-surface-hover: rgba(28, 28, 44, 0.75);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-glow: rgba(225, 48, 108, 0.35);
  
  /* Instagram Inspired Gradients */
  --grad-instagram: linear-gradient(45deg, #f99c1c 0%, #f77737 20%, #e1306c 40%, #c13584 60%, #833ab4 80%, #5851db 100%);
  --grad-premium: linear-gradient(135deg, #e1306c 0%, #833ab4 100%);
  --grad-gold: linear-gradient(135deg, #f99c1c 0%, #f77737 100%);
  --grad-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-neon-pink: #ff548e;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-accent: #ff548e;
  
  /* Glows & Blurs */
  --glow-pink: 0 0 35px rgba(225, 48, 108, 0.25);
  --glow-purple: 0 0 35px rgba(131, 58, 180, 0.3);
  --glass-blur: blur(20px);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

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

/* --- Dynamic Cursor Tracker Background Layer --- */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(225, 48, 108, 0.08), rgba(131, 58, 180, 0.05) 45%, transparent 80%);
  transition: opacity 0.5s ease;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

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

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

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

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 10, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

header.scrolled {
  background: rgba(5, 5, 10, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .nav-wrapper {
  height: 64px;
}

/* Elegant logo typography with dual-tone contrast style */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.01em;
  line-height: 1;
  justify-self: start;
}

.logo-badge {
  background: var(--grad-instagram);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
  transition: var(--transition-smooth);
}

.logo:hover .logo-badge {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

.logo-text-light {
  color: #ffffff;
  transition: var(--transition-fast);
}

.logo-text-grad {
  background: var(--grad-instagram);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* Centered Desktop Menu links using Absolute centering */
nav {
  position: relative;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.85rem;
}

nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-premium);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover {
  color: #ffffff;
}

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

nav a.active {
  color: #ffffff;
}

/* Nav CTA Button */
.btn-nav-cta {
  background: var(--grad-premium);
  color: var(--text-primary);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--glow-pink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  justify-self: end;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(225, 48, 108, 0.6);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* --- Reusable Layout Components --- */
.glass-card {
  background: var(--color-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
  border-color: rgba(225, 48, 108, 0.25);
  box-shadow: var(--glow-pink);
  transform: translateY(-5px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-premium);
  color: var(--text-primary);
  box-shadow: var(--glow-pink);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: scale(1.03) translateY(-3px);
  box-shadow: 0 0 45px rgba(225, 48, 108, 0.7);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--text-primary);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
  transform: translateY(-3px);
}

.badge {
  background: rgba(225, 48, 108, 0.15);
  border: 1px solid rgba(225, 48, 108, 0.3);
  color: #ff548e;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}


/* --- Page Banner Header Block --- */
.page-banner {
  padding-top: 12rem;
  padding-bottom: 5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(131, 58, 180, 0.12) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-banner h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.page-banner h1 span {
  background: var(--grad-instagram);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-banner p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
}


/* --- Home Page Specific Styles --- */
.hero-section {
  padding-top: 13rem;
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(131, 58, 180, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(225, 48, 108, 0.1) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
}

.hero-title span.gradient-text {
  background: var(--grad-instagram);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Floating Interactive Hero Visuals */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* HIGH FIDELITY INSTAGRAM CREATOR WIDGET */
.instagram-creator-widget {
  width: 100%;
  max-width: 380px;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  z-index: 10;
  position: relative;
  transition: var(--transition-smooth);
}

.instagram-creator-widget:hover {
  border-color: rgba(225, 48, 108, 0.3);
  box-shadow: var(--glow-pink);
  transform: scale(1.01) translateY(-2px);
}

.insta-widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.75rem;
}

.insta-dot-status {
  width: 8px;
  height: 8px;
  background: #00f2fe;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.insta-widget-handle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.insta-verified-badge {
  display: flex;
  align-items: center;
}

.insta-widget-options {
  margin-left: auto;
  color: var(--text-muted);
  cursor: pointer;
}

.insta-widget-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #ff548e;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.3);
  flex-shrink: 0;
}

.profile-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.profile-full-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-stats-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.profile-stats-row .stat-bold {
  font-weight: 700;
  color: var(--text-primary);
}

/* Feed Grid Preview */
.insta-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.25rem 0;
}

.insta-feed-post {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.insta-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transition: var(--transition-fast);
}

.insta-feed-post:hover .insta-post-overlay {
  opacity: 1;
}

/* Value Overlay Bar */
.insta-earnings-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.08) 0%, rgba(131, 58, 180, 0.05) 100%);
  border: 1px solid rgba(225, 48, 108, 0.2);
  border-radius: 16px;
  padding: 0.85rem 1.2rem;
}

.earnings-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.insta-earnings-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffdd4b;
  line-height: 1;
}


/* --- Stats Banner Section --- */
.stats-banner {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.stats-banner .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.2rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
}

.stats-banner .stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-instagram);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.stat-sparkline {
  margin-top: auto;
  opacity: 0.85;
}


/* --- Earnings Calculator & Speedometer Dial --- */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-header label {
  font-weight: 600;
  font-size: 1.1rem;
}

.slider-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ff548e;
  background: rgba(225, 48, 108, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 8px;
}

.calculator-dial-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculator-dial-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.dial-fill {
  stroke-dasharray: 326;
  stroke-dashoffset: 326;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dial-inside-metrics {
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.results-annual-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.results-annual-val {
  font-family: var(--font-heading);
  font-size: clamp(2.0rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #ffdd4b;
  text-shadow: 0 0 35px rgba(255, 221, 75, 0.35);
  margin-top: 0.15rem;
}

.calc-results {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.06) 0%, rgba(131, 58, 180, 0.03) 100%);
  border: 1px solid rgba(225, 48, 108, 0.25);
  box-shadow: var(--glow-pink);
  display: flex;
  flex-direction: column;
  padding: 3rem;
  border-radius: 30px;
  position: relative;
}

.results-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.breakdown-box {
  text-align: center;
  padding: 1.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.breakdown-box:hover {
  background: rgba(255, 255, 255, 0.04);
}

.breakdown-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.breakdown-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}


/* --- Section 4: Brand Deal Matching Simulator --- */
.deal-simulator-section {
  background: var(--bg-secondary);
}

.deals-filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  transition: all 0.5s ease;
}

.deal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.15);
}

.deal-card-header {
  position: relative;
  height: 140px;
  background-size: cover;
  background-position: center;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.deal-card-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(3, 3, 5, 0) 100%);
  z-index: 1;
}

.brand-badge {
  position: relative;
  z-index: 2;
  background: rgba(3, 3, 5, 0.65);
  backdrop-filter: var(--glass-blur);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.deal-tag {
  position: relative;
  z-index: 2;
  background: var(--grad-premium);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.deal-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.deal-campaign-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.deal-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.deal-requirements {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
}

.req-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.req-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.req-val {
  font-size: 0.85rem;
  font-weight: 600;
}

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

.deal-payout {
  display: flex;
  flex-direction: column;
}

.payout-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payout-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffdd4b;
}

.btn-deal-apply {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-deal-apply:hover {
  background: #ff548e;
  border-color: #ff548e;
  color: #fff;
  transform: translateX(3px);
}


/* --- Dual Audience Section --- */
.partnerships-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--color-border);
}

.brand-toggle-wrapper {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem;
  border-radius: 50px;
  display: inline-flex;
  border: 1px solid var(--color-border);
  margin-bottom: 3.5rem;
}

.toggle-opt {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.toggle-opt.active {
  background: var(--grad-premium);
  color: var(--text-primary);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.brand-portal {
  display: none;
}

.brand-portal.active {
  display: block;
}

.influencer-portal {
  display: none;
}

.influencer-portal.active {
  display: block;
}

.brand-prop-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.prop-card, .service-card {
  padding: 3rem 2.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.prop-card:hover, .service-card:hover {
  border-color: rgba(247, 119, 55, 0.35);
  box-shadow: 0 0 35px rgba(247, 119, 55, 0.15);
  transform: translateY(-5px);
}

.prop-icon, .service-icon {
  background: rgba(247, 119, 55, 0.1);
  color: #f77737;
  border: 1px solid rgba(247, 119, 55, 0.2);
  width: 55px;
  height: 55px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.service-icon {
  background: rgba(131, 58, 180, 0.1);
  color: #833ab4;
  border-color: rgba(131, 58, 180, 0.2);
}

.prop-card h3, .service-card h3 {
  font-size: 1.4rem;
}


/* --- Success Stories / Testimonials --- */
.testimonials-section {
  background: var(--bg-secondary);
}

.slider-container {
  overflow: hidden;
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1.5rem;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3.5rem;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  text-align: left;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: #ffdd4b;
  font-size: 1.15rem;
}

.testimonial-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #ff548e;
}

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

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: #ff548e;
  width: 24px;
  border-radius: 4px;
}


/* --- Steps Timeline Roadmaps --- */
.steps-section {
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.75rem 2.2rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: rgba(225, 48, 108, 0.35);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-5px);
  box-shadow: var(--glow-pink);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-instagram);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}


/* --- How-It-Works Page Specific: FAQ & Checklist --- */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.checklist-card {
  padding: 3rem;
}

.checklist-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.75rem;
}

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

.checklist-ul li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
}

.checklist-check {
  color: #00f2fe;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* Dynamic FAQ Accordion panels */
.faq-section {
  background: var(--bg-secondary);
}

.faq-wrapper {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-icon-indicator {
  font-size: 1.3rem;
  color: var(--text-accent);
  transition: transform 0.4s ease;
}

.faq-item.active .faq-icon-indicator {
  transform: rotate(45deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.01);
}

.faq-answer-content {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}


/* --- About Corporate Page: Team & Press --- */
.about-stats {
  background: var(--bg-secondary);
}

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

.team-card {
  text-align: center;
  padding: 3rem 2rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  background-size: cover;
  background-position: center;
  border: 3px solid #ff548e;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.25);
}

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--text-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
}


/* --- Contact Page Specific: Multiple intake Forms --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-tabs-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.5rem;
}

.contact-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.contact-tab-btn.active, .contact-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.contact-tab-btn.active {
  box-shadow: inset 0 -2px #ff548e;
  border-radius: 8px 8px 0 0;
}

.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: 3rem;
}

.contact-panel {
  display: none;
}

.contact-panel.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.info-item-box {
  display: flex;
  gap: 1.25rem;
  text-align: left;
}

.info-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #00f2fe;
  flex-shrink: 0;
}

.info-item-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-item-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}


/* --- Bottom High-Converting CTA Banner Section --- */
.cta-banner-section {
  padding: 6rem 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.15) 0%, rgba(131, 58, 180, 0.1) 100%);
  border: 1px solid rgba(225, 48, 108, 0.3);
  box-shadow: 0 0 50px rgba(225, 48, 108, 0.15);
  border-radius: 40px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(225, 48, 108, 0.1) 0%, transparent 60%);
  z-index: 1;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-card-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  max-width: 800px;
}

.cta-card-content p {
  font-size: 1.2rem;
  max-width: 600px;
}


/* --- Footer Section --- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.footer-logo {
  font-size: 1.8rem;
}

.footer-brand p {
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: var(--grad-instagram);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.footer-col h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: #ff548e;
  padding-left: 5px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 1rem 3.5rem 1rem 1.25rem;
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: #ff548e;
  background: rgba(255, 255, 255, 0.06);
}

.btn-newsletter {
  position: absolute;
  right: 6px;
  top: 6px;
  background: var(--grad-premium);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

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


/* --- Onboarding Modal Framework --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 5, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.modal-card {
  width: 100%;
  max-width: 550px;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), var(--glow-pink);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.btn-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  z-index: 10;
  transition: var(--transition-fast);
}

.btn-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-body {
  padding: 3rem;
}

.modal-steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.modal-steps-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
  transform: translateY(-50%);
}

.step-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d0d12;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: var(--transition-fast);
}

.step-node.active {
  border-color: #ff548e;
  color: #ff548e;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

.step-node.completed {
  background: var(--grad-premium);
  border-color: transparent;
  color: #fff;
}

/* Modal Form Fields */
.form-step {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: flex;
}

.form-step-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  text-align: left;
}

.form-step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-group input, .form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
  border-color: #ff548e;
  background: rgba(255, 255, 255, 0.06);
}

.form-nav-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

.form-nav-row .btn {
  flex: 1;
}

/* Completion Screen */
.success-screen {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 2px solid #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
  animation: scaleUp 0.5s ease;
}


/* --- TRUST-BUILDING LIVE TOAST NOTIFICATION OVERLAY --- */
.live-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  z-index: 9999;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--glow-purple);
  width: 320px;
  opacity: 0;
  transform: translateX(-40px);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-toast.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.live-toast-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 10px rgba(225, 48, 108, 0.3);
  flex-shrink: 0;
}

.live-toast-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

.live-toast-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.live-toast-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}


/* --- Animation Keyframes --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 242, 254, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll Triggered Animations with Static Fallback styling */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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


/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-subtitle {
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-prop-grid, .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1080px) {
  .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 72px;
  }
  nav {
    position: fixed;
    top: 72px;
    left: -100%;
    transform: none;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(8, 8, 12, 0.98);
    z-index: 999;
    transition: var(--transition-smooth);
    padding: 3rem 2rem;
    border-top: 1px solid var(--color-border);
    backdrop-filter: var(--glass-blur);
  }
  nav.active {
    left: 0;
  }
  nav ul {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  nav a {
    font-size: 1.25rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-nav-cta {
    display: none;
  }
  .deals-grid {
    grid-template-columns: 1fr;
  }
  .brand-prop-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .modal-body {
    padding: 2rem;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Intermediate safe scaling to prevent any overlapping on small laptops (1081px - 1250px) */
@media (min-width: 1081px) and (max-width: 1250px) {
  nav ul {
    gap: 1.2rem;
  }
  nav a {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .logo {
    font-size: 1.2rem;
  }
  .btn-nav-cta {
    padding: 0.55rem 1.15rem;
    font-size: 0.76rem;
    gap: 0.3rem;
  }
}

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

@media (max-width: 480px) {
  section {
    padding: 4.5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .calc-results {
    padding: 1.5rem;
  }
  .results-breakdown {
    grid-template-columns: 1fr;
  }
  .checklist-card {
    padding: 1.5rem;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
