/* =========================================
   CREATO VERSE DIGITAL - Design System
   ========================================= */

/* --- CSS Custom Properties --- */
:root {
  /* Colors - Dark Theme (Default) */
  --bg-primary: #030308;
  --bg-secondary: #080811;
  --bg-tertiary: #0e0e1b;
  --bg-card: rgba(12, 12, 26, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.02);
  --bg-glass-hover: rgba(255, 255, 255, 0.05);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #a78bfa;

  --accent-1: #8b5cf6; /* Violet */
  --accent-2: #6366f1; /* Indigo */
  --accent-3: #0ea5e9; /* Sky */
  --accent-gold: #f59e0b; /* Gold/Amber */
  --accent-glow: rgba(139, 92, 246, 0.25);
  --accent-gold-glow: rgba(245, 158, 11, 0.25);

  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #0ea5e9 100%);
  --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(99, 102, 241, 0.06) 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(99, 102, 241, 0.15), rgba(14, 165, 233, 0.35));
  --gradient-dashboard-card: linear-gradient(180deg, rgba(20, 20, 43, 0.8) 0%, rgba(12, 12, 26, 0.9) 100%);

  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(139, 92, 246, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(139, 92, 246, 0.15);
  --shadow-glow-strong: 0 0 70px rgba(139, 92, 246, 0.25);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.25rem;
  --fs-6xl: 5.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
}

/* Light Theme overrides */
[data-theme="light"] {
  --bg-primary: #f7fafc;
  --bg-secondary: #edf2f7;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.45);
  --bg-glass-hover: rgba(255, 255, 255, 0.7);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-accent: #7c3aed;

  --border-subtle: rgba(0, 0, 0, 0.05);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(124, 58, 237, 0.2);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 0 35px rgba(124, 58, 237, 0.06);
  --shadow-glow-strong: 0 0 70px rgba(124, 58, 237, 0.1);
  --accent-gold-glow: rgba(217, 119, 6, 0.1);
  --gradient-dashboard-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(124, 58, 237, 0.07) 0%, rgba(99, 102, 241, 0.03) 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.25));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

ul, ol {
  list-style: none;
}

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

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
.custom-cursor-dot,
.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s ease, background-color 0.3s ease, border-color 0.3s ease;
  opacity: 0;
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-1);
}

.custom-cursor-outline {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent-1);
}

/* Cursor hovered state */
.custom-cursor-dot.hovered {
  transform: translate(-50%, -50%) scale(1.6);
  background-color: var(--accent-3);
}

.custom-cursor-outline.hovered {
  transform: translate(-50%, -50%) scale(1.85);
  border-color: var(--accent-3);
  background-color: rgba(14, 165, 233, 0.06);
}

@media (max-width: 768px) {
  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none;
  }
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-lg);
  padding: 6px var(--space-lg);
  background: var(--gradient-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
}

.section-label svg {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.section-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.75;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.italic-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 15px 34px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-base);
}

.btn-primary {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientMove 6s ease infinite;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
}

.btn-primary:hover svg {
  transform: translateX(5px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-3px);
}

.btn-ghost {
  color: var(--text-accent);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: rgba(139, 92, 246, 0.08);
}

.btn-lg {
  padding: 18px 42px;
  font-size: var(--fs-base);
  border-radius: var(--radius-lg);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(3, 3, 8, 0.8);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(247, 250, 252, 0.8);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-primary);
  z-index: 1001;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: var(--fs-md);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 1001;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: var(--bg-glass-hover);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-3xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  animation: float 25s ease-in-out infinite;
}

.hero-bg-gradient:nth-child(1) {
  top: -250px;
  right: -250px;
  background: var(--accent-1);
}

.hero-bg-gradient:nth-child(2) {
  bottom: -350px;
  left: -250px;
  background: var(--accent-3);
  animation-delay: -8s;
}

.hero-bg-gradient:nth-child(3) {
  top: 40%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: var(--accent-2);
  animation-delay: -16s;
  opacity: 0.1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}

[data-theme="light"] .hero-grid-pattern {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
  text-align: left;
}

.hero-content {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .line {
  display: block;
}

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 0 var(--space-2xl);
  line-height: 1.75;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* --- Interactive Dashboard Visual --- */
.hero-visual-wrapper {
  perspective: 1000px;
  animation: fadeInUp 1s ease-out 0.2s both;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-card {
  width: 100%;
  max-width: 480px;
  background: var(--gradient-dashboard-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: var(--space-xl);
  backdrop-filter: blur(20px);
  transform: rotateY(-10deg) rotateX(8deg);
  transform-style: preserve-3d;
  transition: transform var(--transition-slow) ease;
}

.hero-visual-card:hover {
  transform: rotateY(-2deg) rotateX(3deg) translateY(-5px);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dot.red { background: #ef4444; }
.dash-dot.yellow { background: #f59e0b; }
.dash-dot.green { background: #10b981; }

.dash-title {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dash-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
}

[data-theme="light"] .dash-card {
  background: rgba(0, 0, 0, 0.02);
}

.dash-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-metric-label {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

.dash-metric-change {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.dash-metric-value {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-top: 4px;
}

/* Visual chart line drawing simulator */
.dash-chart {
  height: 90px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}

.dash-chart-bar {
  width: 14%;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  animation: growBar 2.5s ease-out infinite alternate;
  opacity: 0.85;
}

.dash-chart-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.dash-chart-bar:nth-child(2) { height: 65%; animation-delay: 0.3s; }
.dash-chart-bar:nth-child(3) { height: 50%; animation-delay: 0.5s; }
.dash-chart-bar:nth-child(4) { height: 85%; animation-delay: 0.2s; }
.dash-chart-bar:nth-child(5) { height: 70%; animation-delay: 0.7s; }
.dash-chart-bar:nth-child(6) { height: 95%; animation-delay: 0.4s; }

@keyframes growBar {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}

.dash-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-subtle);
}

.dash-list-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
}

.dash-list-status {
  color: #10b981;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 35px;
  background: var(--border-light);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gradient-primary);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* =========================================
   TRUSTED BY / LOGOS
   ========================================= */
.trusted-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.trusted-label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-xl);
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.trusted-logos:hover {
  opacity: 0.75;
}

.trusted-logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trusted-logo-symbol {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-spring), box-shadow var(--transition-spring), border-color var(--transition-base);
  overflow: hidden;
  cursor: pointer;
}

/* Mouse-tracking border glow mask */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: radial-gradient(130px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--service-color) 0%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px var(--service-color-alpha-strong), var(--shadow-glow);
  border-color: transparent;
}

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

/* Background glowing sphere */
.service-card-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--service-color);
  filter: blur(75px);
  opacity: 0.05;
  top: -30px;
  right: -30px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover .service-card-glow {
  opacity: 0.16;
  transform: scale(1.4) translate(-15px, 15px);
}

/* Top corner outcome tag */
.service-card-tag {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  z-index: 3;
}

.service-card:hover .service-card-tag {
  background: var(--service-color-alpha);
  border-color: var(--service-color);
  color: var(--text-primary);
  box-shadow: 0 0 12px var(--service-color-alpha-strong);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  color: var(--service-color);
  transition: transform var(--transition-spring), box-shadow var(--transition-spring);
  z-index: 3;
}

.service-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
  border-radius: inherit;
  background: var(--service-color);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-spring);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--service-color-alpha-strong);
}

.service-card:hover .service-card-icon svg {
  transform: scale(1.05);
}

/* Color schemes for services */
.service-card:nth-child(1) {
  --service-color: #c084fc;
  --service-color-alpha: rgba(192, 132, 252, 0.12);
  --service-color-alpha-strong: rgba(192, 132, 252, 0.22);
}
.service-card:nth-child(2) {
  --service-color: #f472b6;
  --service-color-alpha: rgba(244, 114, 182, 0.12);
  --service-color-alpha-strong: rgba(244, 114, 182, 0.22);
}
.service-card:nth-child(3) {
  --service-color: #60a5fa;
  --service-color-alpha: rgba(96, 165, 250, 0.12);
  --service-color-alpha-strong: rgba(96, 165, 250, 0.22);
}
.service-card:nth-child(4) {
  --service-color: #34d399;
  --service-color-alpha: rgba(52, 211, 153, 0.12);
  --service-color-alpha-strong: rgba(52, 211, 153, 0.22);
}
.service-card:nth-child(5) {
  --service-color: #fbbf24;
  --service-color-alpha: rgba(251, 191, 36, 0.12);
  --service-color-alpha-strong: rgba(251, 191, 36, 0.22);
}
.service-card:nth-child(6) {
  --service-color: #f97316;
  --service-color-alpha: rgba(249, 115, 22, 0.12);
  --service-color-alpha-strong: rgba(249, 115, 22, 0.22);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: 16px;
}

.service-card-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.service-card-feature svg {
  width: 14px;
  height: 14px;
  color: #10b981;
  flex-shrink: 0;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-accent);
  transition: gap var(--transition-base);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card-link svg {
  transform: translateX(5px);
}

/* =========================================
   SERVICE CARD INTERACTIVE VISUAL CANVASES (PHASE 6)
   ========================================= */
.service-card-visual {
  position: relative;
  height: 105px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-base);
  z-index: 3;
}

.service-card:hover .service-card-visual {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Card 1: Graphics (3D Layers Split) */
.visual-graphics {
  perspective: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layers-container {
  position: relative;
  width: 150px;
  height: 75px;
  transform: rotateX(55deg) rotateZ(-30deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .layers-container {
  transform: rotateX(50deg) rotateZ(-20deg) translateY(-5px);
}

.layer {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(3px);
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.6s ease, 
              border-color 0.6s ease,
              background 0.6s ease;
  transform-style: preserve-3d;
}

.layer-title {
  font-family: monospace;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  pointer-events: none;
}

.layer-bg {
  transform: translateZ(0);
  border-color: rgba(192, 132, 252, 0.15);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.layer-media {
  transform: translateZ(10px);
  border-color: rgba(192, 132, 252, 0.3);
  background: rgba(192, 132, 252, 0.03);
}

.layer-text {
  transform: translateZ(20px);
  border-color: rgba(192, 132, 252, 0.45);
  background: rgba(192, 132, 252, 0.06);
}

.service-card:hover .layer-bg {
  transform: translateZ(-8px);
  opacity: 0.5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.service-card:hover .layer-media {
  transform: translateZ(12px);
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(192, 132, 252, 0.08);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.service-card:hover .layer-text {
  transform: translateZ(32px);
  border-color: var(--service-color);
  background: rgba(192, 132, 252, 0.12);
  box-shadow: 0 14px 24px rgba(0,0,0,0.45);
}

.layer-grid-pattern {
  flex: 1;
  margin-top: 4px;
  background-size: 8px 8px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  border-radius: 3px;
}

.layer-icon {
  width: 24px;
  height: 24px;
  color: var(--service-color);
  margin: auto;
  filter: drop-shadow(0 0 4px var(--service-color-alpha-strong));
  transition: transform 0.6s ease;
}

.service-card:hover .layer-icon {
  transform: scale(1.15) rotate(5deg);
}

.layer-text-line {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px;
  margin-bottom: 3px;
}

.layer-text-line.short { width: 45%; margin-top: auto; }
.layer-text-line.long { width: 85%; }
.service-card:hover .layer-text-line {
  background: rgba(255,255,255,0.3);
}

/* Card 2: Logo & Brand Identity (Blueprint Vector) */
.visual-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-workspace {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-svg {
  width: 90%;
  height: 90%;
  overflow: visible;
}

.blueprint-circle {
  transform-origin: 100px 50px;
  transition: transform 0.5s ease, stroke 0.5s ease;
}

.blueprint-monogram {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1), stroke-width 0.3s ease;
}

.service-card:hover .blueprint-circle {
  animation: pulseGrid 2s infinite ease-in-out;
}

.service-card:hover .blueprint-monogram {
  stroke-dashoffset: 0;
  stroke-width: 2.5px;
}

.swatches-container {
  position: absolute;
  right: 12px;
  bottom: 8px;
  display: flex;
  gap: 3px;
}

.swatch-pill {
  width: 32px;
  height: 16px;
  border-radius: 3px;
  background: var(--swatch-color);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.swatch-pill span {
  font-family: monospace;
  font-size: 5px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  transform: scale(0.85);
}

.service-card:hover .swatch-pill {
  transform: translateX(0);
  opacity: 1;
}

.service-card:hover .swatch-pill:nth-child(1) { transition-delay: 0.1s; }
.service-card:hover .swatch-pill:nth-child(2) { transition-delay: 0.2s; }
.service-card:hover .swatch-pill:nth-child(3) { transition-delay: 0.3s; }

/* Card 3: Video Editing Timeline */
.visual-video {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.video-timeline {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-track {
  height: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  position: relative;
  overflow: hidden;
}

.track-clip {
  height: 11px;
  border-radius: 3px;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-right: 4px;
}

.clip-2 {
  background: rgba(192, 132, 252, 0.15);
  border-color: rgba(192, 132, 252, 0.35);
}

.audio-waves {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  width: 100%;
  height: 16px;
  padding: 0 2px;
}

.audio-bar {
  flex: 1;
  background: var(--service-color);
  opacity: 0.25;
  border-radius: 1px;
  transition: opacity 0.3s ease;
}

.timeline-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15%;
  width: 1.5px;
  background: #f87171;
  box-shadow: 0 0 6px #f87171;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-time {
  font-family: monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.preview-thumbnail {
  position: absolute;
  top: 6px;
  left: 15%;
  width: 48px;
  height: 26px;
  background: #000;
  border: 1px solid var(--service-color);
  border-radius: 4px;
  padding: 1.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateX(-50%) translateY(5px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 6;
  pointer-events: none;
}

.thumbnail-aspect {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-icon {
  width: 10px;
  height: 10px;
  color: var(--service-color);
}

/* Timeline Hover Animations */
.service-card:hover .timeline-playhead {
  opacity: 1;
  animation: playheadSweep 4s infinite linear;
}

.service-card:hover .preview-thumbnail {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  animation: previewMove 4s infinite linear;
}

.service-card:hover .audio-bar {
  opacity: 0.8;
  animation: audioPulse 0.7s infinite alternate ease-in-out;
}

.service-card:hover .audio-bar:nth-child(even) { animation-delay: 0.15s; }
.service-card:hover .audio-bar:nth-child(3n) { animation-delay: 0.3s; }
.service-card:hover .audio-bar:nth-child(4n) { animation-delay: 0.1s; }
.service-card:hover .audio-bar:nth-child(5n) { animation-delay: 0.45s; }

/* Card 4: Motion Design (Planetary Orbits) */
.visual-motion {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-workspace {
  position: relative;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid var(--service-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.center-star {
  width: 10px;
  height: 10px;
  color: var(--service-color);
  filter: drop-shadow(0 0 3px var(--service-color));
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(52, 211, 153, 0.15);
  transition: border-color 0.4s ease;
}

.outer-ring {
  width: 65px;
  height: 65px;
  z-index: 2;
}

.inner-ring {
  width: 42px;
  height: 42px;
  z-index: 3;
}

.orbit-satellite {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--service-color);
  box-shadow: 0 0 6px var(--service-color);
}

.sat-1 {
  top: -3px;
  left: calc(50% - 3px);
}

.sat-2 {
  bottom: -3px;
  right: calc(50% - 3px);
  background: #60a5fa;
  box-shadow: 0 0 6px #60a5fa;
}

.orbit-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.grid-line {
  position: absolute;
  background: #fff;
}

.grid-line.horizontal {
  top: 50%;
  left: 0;
  right: 0;
  height: 0.5px;
}

.grid-line.vertical {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0.5px;
}

/* Motion Hover animations */
.service-card:hover .orbit-center-node {
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--service-color-alpha-strong);
}

.service-card:hover .outer-ring {
  border-color: rgba(52, 211, 153, 0.35);
  animation: spinCW 7s infinite linear;
}

.service-card:hover .inner-ring {
  border-color: rgba(52, 211, 153, 0.35);
  animation: spinCCW 4.5s infinite linear;
}

.service-card:hover .orbit-grid-lines {
  opacity: 0.2;
}

/* Card 5: Digital Marketing (Spline Growth Chart) */
.visual-marketing {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
}

.chart-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-line-path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-area-path {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.chart-marker {
  transform: scale(0);
  transform-origin: 165px 20px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chart-marker-pulse {
  transform: scale(0);
  transform-origin: 165px 20px;
  opacity: 0;
  transition: all 0.4s ease;
}

.chart-tooltip {
  position: absolute;
  top: 10px;
  left: 95px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--service-color);
  border-radius: 5px;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  pointer-events: none;
  z-index: 10;
}

.tooltip-val {
  font-size: 8px;
  font-weight: 800;
  color: var(--service-color);
  text-shadow: 0 0 5px var(--service-color-alpha-strong);
}

.tooltip-lbl {
  font-size: 5px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Marketing Chart Hover Animations */
.service-card:hover .chart-line-path {
  stroke-dashoffset: 0;
}

.service-card:hover .chart-area-path {
  opacity: 1;
  transition-delay: 0.15s;
}

.service-card:hover .chart-marker {
  transform: scale(1);
  transition-delay: 0.7s;
}

.service-card:hover .chart-marker-pulse {
  transform: scale(1);
  opacity: 1;
  animation: markerPulse 1.5s infinite ease-out;
  animation-delay: 0.7s;
}

.service-card:hover .chart-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.9s;
}

/* Card 6: Landing Page Design (Browser Shell Mock) */
.visual-landing {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
}

.browser-shell {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.browser-header {
  height: 16px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  padding: 0 6px;
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 2.5px;
}

.browser-dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.browser-dots .dot.red { background: #f87171; }
.browser-dots .dot.yellow { background: #fbbf24; }
.browser-dots .dot.green { background: #34d399; }

.browser-search {
  font-family: monospace;
  font-size: 5px;
  color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5px 8px;
  border-radius: 2px;
}

.browser-body {
  flex: 1;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.browser-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 0.5px solid rgba(255,255,255,0.02);
}

.nav-logo {
  width: 10px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.5px;
}

.nav-links {
  display: flex;
  gap: 3px;
}

.nav-links span {
  width: 6px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5px;
}

.browser-content {
  display: flex;
  gap: 6px;
  flex: 1;
  align-items: center;
}

.content-left {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  gap: 3.5px;
}

.content-right {
  flex: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-title {
  width: 70%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  transition: width 0.4s ease, background-color 0.4s ease;
}

.block-text {
  width: 90%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5px;
  position: relative;
}

.block-text::after {
  content: '';
  position: absolute;
  top: 3.5px;
  left: 0;
  width: 55%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5px;
}

.block-btn {
  width: 20px;
  height: 6px;
  background: var(--service-color);
  border-radius: 1.5px;
  margin-top: 4px;
  box-shadow: 0 0 4px var(--service-color-alpha-strong);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.block-hero {
  width: 100%;
  height: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Browser Hover States */
.service-card:hover .block-title {
  width: 90%;
  background-color: var(--service-color);
}

.service-card:hover .block-btn {
  transform: scale(0.9) translateY(0.5px);
  background-color: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.service-card:hover .block-hero {
  background-color: var(--service-color-alpha);
  border-color: var(--service-color);
  transform: scale(1.05);
}


/* =========================================
   KEYFRAME ANIMATIONS (PHASE 6)
   ========================================= */
@keyframes pulseGrid {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
    stroke-width: 1px;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.75;
    stroke-width: 1.25px;
    stroke: var(--service-color);
  }
}

@keyframes playheadSweep {
  0% { left: 15%; }
  90%, 100% { left: 85%; }
}

@keyframes previewMove {
  0% { left: 15%; }
  90%, 100% { left: 85%; }
}

@keyframes audioPulse {
  0% { height: 15%; }
  100% { height: 95%; }
}

@keyframes spinCW {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinCCW {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes markerPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* =========================================
   LIGHT THEME INTERACTIVE VISUAL OVERRIDES
   ========================================= */
[data-theme="light"] .service-card-visual {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 1px 3px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .service-card:hover .service-card-visual {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--service-color-alpha);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.04);
}

/* Card 1: Graphics (Light Mode) */
[data-theme="light"] .layer {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .layer-title {
  color: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .layer-bg {
  border-color: rgba(192, 132, 252, 0.2);
}

[data-theme="light"] .layer-media {
  border-color: rgba(192, 132, 252, 0.35);
  background: rgba(192, 132, 252, 0.02);
}

[data-theme="light"] .layer-text {
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(192, 132, 252, 0.04);
}

[data-theme="light"] .service-card:hover .layer-bg {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .service-card:hover .layer-media {
  background: rgba(192, 132, 252, 0.05);
  box-shadow: 0 6px 12px rgba(192, 132, 252, 0.1);
}

[data-theme="light"] .service-card:hover .layer-text {
  background: rgba(192, 132, 252, 0.08);
  box-shadow: 0 12px 20px rgba(192, 132, 252, 0.12);
}

[data-theme="light"] .layer-grid-pattern {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .layer-text-line {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .service-card:hover .layer-text-line {
  background: rgba(0, 0, 0, 0.1);
}

/* Card 2: Brand & Logo (Light Mode) */
[data-theme="light"] .blueprint-svg rect {
  fill: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .blueprint-svg pattern path {
  stroke: rgba(96, 165, 250, 0.12);
}

[data-theme="light"] .blueprint-svg line {
  stroke: rgba(244, 114, 182, 0.35);
}

[data-theme="light"] .blueprint-circle {
  stroke: rgba(244, 114, 182, 0.45);
}

[data-theme="light"] .swatch-pill {
  border-color: rgba(0, 0, 0, 0.06);
}

/* Card 3: Video (Light Mode) */
[data-theme="light"] .video-timeline {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .timeline-track {
  background: rgba(0, 0, 0, 0.015);
  border-color: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .track-clip {
  background: rgba(96, 165, 250, 0.18);
  border-color: rgba(96, 165, 250, 0.4);
}

[data-theme="light"] .clip-2 {
  background: rgba(192, 132, 252, 0.18);
  border-color: rgba(192, 132, 252, 0.4);
}

[data-theme="light"] .preview-thumbnail {
  background: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .thumbnail-aspect {
  background: #f8fafc;
}

[data-theme="light"] .timeline-time {
  color: rgba(15, 23, 42, 0.5);
}

/* Card 4: Motion Orbits (Light Mode) */
[data-theme="light"] .orbit-center-node {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .orbit-ring {
  border-color: rgba(52, 211, 153, 0.28);
}

[data-theme="light"] .orbit-grid-lines {
  opacity: 0.15;
}

[data-theme="light"] .grid-line {
  background: #0f172a;
}

/* Card 5: Marketing Chart (Light Mode) */
[data-theme="light"] .chart-tooltip {
  background: #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tooltip-lbl {
  color: rgba(15, 23, 42, 0.5);
}

/* Card 6: Landing Page (Light Mode) */
[data-theme="light"] .browser-shell {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .browser-header {
  border-bottom-color: rgba(0, 0, 0, 0.04);
  background: rgba(0, 0, 0, 0.005);
}

[data-theme="light"] .browser-dots .dot {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .browser-dots .dot.red { background: #f87171; }
[data-theme="light"] .browser-dots .dot.yellow { background: #fbbf24; }
[data-theme="light"] .browser-dots .dot.green { background: #34d399; }

[data-theme="light"] .browser-search {
  color: rgba(15, 23, 42, 0.5);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .browser-nav {
  border-bottom-color: rgba(0, 0, 0, 0.015);
}

[data-theme="light"] .nav-logo {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links span {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .block-title {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .block-text {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .block-text::after {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .block-hero {
  background: rgba(0, 0, 0, 0.008);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .service-card:hover .block-title {
  background-color: var(--service-color);
}

[data-theme="light"] .service-card:hover .block-btn {
  background-color: var(--service-color);
  color: #fff;
  box-shadow: 0 0 8px var(--service-color-alpha-strong);
}

[data-theme="light"] .service-card:hover .block-hero {
  background-color: var(--service-color-alpha);
  border-color: var(--service-color);
}



/* =========================================
   GROWTH CALCULATOR
   ========================================= */
.calculator-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-slider {
  width: 100%;
  height: 6px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  outline: none;
  appearance: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
  transition: transform var(--transition-fast);
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}
.calc-outputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-subtle);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}
[data-theme="light"] .calc-outputs {
  background: rgba(0, 0, 0, 0.015);
}
.calc-output-item {
  text-align: center;
}
.calc-output-title {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}
.calc-output-value {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.1;
  padding: 0.05em 0 0.1em 0;
  display: block;
}
.calc-output-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* =========================================
   ABOUT / WHY CHOOSE US
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.about-metric {
  padding: var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
}

.about-metric:hover {
  border-color: var(--border-accent);
  background: var(--bg-glass-hover);
  transform: translateY(-3px);
}

.about-metric-value {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.about-metric-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.about-content .section-subtitle {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-feature {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  align-items: flex-start;
}

.about-feature:hover {
  border-color: var(--border-accent);
  background: var(--bg-glass-hover);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-1);
}

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

.about-feature-title {
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: 2px;
}

.about-feature-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   PROCESS / HOW WE WORK
   ========================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-spring);
}

.process-step:hover .process-step-number {
  transform: scale(1.15) rotate(5deg);
  box-shadow: var(--shadow-glow-strong);
}

.process-step-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.process-step-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================
   PORTFOLIO / WORK
   ========================================= */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.portfolio-filter {
  padding: 10px 24px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.portfolio-filter:hover,
.portfolio-filter.active {
  color: #fff;
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.portfolio-card img {
  transition: transform var(--transition-slow) ease;
}

.portfolio-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}
/* Custom interactive UI renders inside portfolio to showcase REAL capability */
.portfolio-mock {
  width: 100%;
  height: 100%;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-slow) ease;
}

.portfolio-card:hover .portfolio-mock {
  transform: scale(1.05);
}

/* Mock styles */
.mock-brand-ident {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  color: #fff;
}
.mock-social-feed {
  background: linear-gradient(135deg, #0d1e2d 0%, #1e112a 100%);
  color: #fff;
}
.mock-vid-player {
  background: linear-gradient(135deg, #0b1a1f 0%, #16122d 100%);
  color: #fff;
}
.mock-growth-camp {
  background: linear-gradient(135deg, #2a111a 0%, #1e1026 100%);
  color: #fff;
}
.mock-landing-page {
  background: linear-gradient(135deg, #0e1d1f 0%, #1b162c 100%);
  color: #fff;
}
.mock-logo-sys {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

/* UI mock widgets */
.ui-bar-widget {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: var(--fs-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-graph {
  display: flex;
  align-items: flex-end;
  height: 60px;
  justify-content: space-between;
}

.ui-graph-line {
  width: 14%;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 3, 8, 0.95) 0%, rgba(3, 3, 8, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card-overlay::after {
  content: 'View Case Study →';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-md);
  padding: 8px 16px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(15px);
  transition: all var(--transition-spring);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card:hover .portfolio-card-overlay::after {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card-category {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 var(--space-xl);
}

.testimonial-card-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
  font-size: var(--fs-6xl);
  font-family: Georgia, serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

.testimonial-text {
  font-size: var(--fs-lg);
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  font-style: italic;
  font-weight: 500;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: var(--space-lg);
  color: #fbbf24;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-md);
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.testimonial-author-info {
  text-align: left;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text-primary);
}

.testimonial-author-role {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.testimonials-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: var(--bg-glass);
  transition: all var(--transition-base);
}

.testimonials-btn:hover {
  border-color: var(--accent-1);
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.12);
  transform: scale(1.05);
}

.testimonials-btn svg {
  width: 20px;
  height: 20px;
}

.testimonials-dots {
  display: flex;
  gap: var(--space-sm);
}

.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-light);
  transition: all var(--transition-base);
  cursor: pointer;
}

.testimonials-dot.active {
  width: 28px;
  background: var(--gradient-primary);
}

/* =========================================
   PRICING
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--accent-1);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured:hover {
  box-shadow: var(--shadow-glow-strong);
}

.pricing-popular {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  padding: 4px 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
}

.pricing-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  position: relative;
}

.pricing-price {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  position: relative;
}

/* =========================================
   FAQ
   ========================================= */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.active {
  border-color: var(--border-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-base);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--text-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  text-align: center;
  padding: var(--space-4xl) var(--space-3xl);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  position: relative;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-4xl);
}

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

.contact-info .section-title {
  text-align: left;
  font-size: var(--fs-3xl);
}

.contact-info .section-subtitle {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  flex-shrink: 0;
}

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

.contact-detail-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--fs-base);
}

.contact-socials {
  display: flex;
  gap: var(--space-md);
}

.contact-social {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.contact-social:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.contact-social svg {
  width: 18px;
  height: 18px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  padding: 15px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
  background: var(--bg-glass-hover);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.form-submit {
  margin-top: var(--space-md);
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-4xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-base);
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.2);
}

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.footer-social:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-2px);
}

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

.footer-column-title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-accent);
}

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

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-link {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--text-secondary);
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -25px) scale(1.06); }
  66% { transform: translate(-25px, 25px) scale(0.94); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 200%; }
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-strong);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =========================================
   MOBILE MENU OVERLAY
   ========================================= */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-size: var(--fs-xl);
  font-family: var(--font-display);
  font-weight: 700;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-3xl);
  }

  .hero-visual-wrapper {
    margin-top: var(--space-xl);
  }

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

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

  .hero-stats {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  :root {
    --fs-6xl: 3.75rem;
    --fs-5xl: 3.25rem;
    --fs-4xl: 2.75rem;
    --fs-3xl: 2.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .process-grid::before {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-6xl: 2.75rem;
    --fs-5xl: 2.5rem;
    --fs-4xl: 2.15rem;
    --fs-3xl: 1.85rem;
    --space-5xl: 5.5rem;
    --space-4xl: 4.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-stats {
    gap: var(--space-md);
  }

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

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

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

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

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

  .pricing-card:last-child {
    max-width: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .section-header {
    margin-bottom: var(--space-3xl);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-6xl: 2.25rem;
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* =========================================
   PAGE LOADER
   ========================================= */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* =========================================
   CURSOR GLOW
   ========================================= */
.cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
}

/* =========================================
   NEW SECTIONS: PAIN POINTS & GUARANTEES & BUSINESS DESIGN
   ========================================= */

/* Gold package overrides for pricing featured card */
.pricing-card.featured {
  border-color: var(--accent-gold);
  box-shadow: 0 0 35px var(--accent-gold-glow);
}
.pricing-card.featured::before {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 50px var(--accent-gold-glow);
}
.pricing-popular {
  background: var(--gradient-gold);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Pain points comparison card layout */
.pain-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.pain-compare-card {
  padding: var(--space-3xl) var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.pain-compare-card.frustration {
  border-left: 4px solid #ef4444;
}

.pain-compare-card.solution-relief {
  border-left: 4px solid var(--accent-1);
  box-shadow: var(--shadow-glow);
}

.pain-compare-card.solution-relief::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
}

.pain-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.pain-compare-card.frustration .pain-tag {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.pain-compare-card.solution-relief .pain-tag {
  background: var(--gradient-primary);
  color: #fff;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.pain-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--fs-base);
}

.pain-list-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.pain-compare-card.frustration .pain-list-item svg {
  color: #ef4444;
}

.pain-compare-card.solution-relief .pain-list-item svg {
  color: #10b981;
}

/* Service Card Restructure Problem/Solution tags */
.service-pain-fix {
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-base);
}

.spf-notification {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

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

.spf-badge {
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.spf-status-text {
  font-family: monospace;
  font-size: 7px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spf-body {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spf-icon {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.spf-text {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-secondary);
  transition: color 0.4s ease;
}

/* Red-tinted Pain alerts */
.spf-pain {
  border-left: 3.5px solid rgba(239, 68, 68, 0.4);
}

.spf-pain .spf-badge {
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  border: 0.5px solid rgba(239, 68, 68, 0.2);
}

.spf-pain .spf-icon {
  color: #f87171;
}

/* Green-tinted Flow active alerts */
.spf-fix {
  border-left: 3.5px solid rgba(16, 185, 129, 0.4);
}

.spf-fix .spf-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #34d399;
  border: 0.5px solid rgba(16, 185, 129, 0.2);
}

.spf-fix .spf-icon {
  color: #34d399;
}

/* Hover effects */
.service-card:hover .spf-pain {
  opacity: 0.2;
  transform: scale(0.98);
  filter: grayscale(1);
}

.service-card:hover .spf-pain .spf-text {
  text-decoration: line-through;
}

.service-card:hover .spf-fix {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.18);
  border-left-color: rgba(16, 185, 129, 0.9);
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.06);
}

.service-card:hover .spf-fix .spf-text {
  color: #fff;
}

.service-card:hover .spf-fix .spf-badge {
  background: rgba(16, 185, 129, 0.22);
  border-color: #34d399;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.service-card:hover .spf-fix .spf-icon {
  transform: scale(1.2) rotate(360deg);
}

/* Day Mode / Light theme Overrides */
[data-theme="light"] .spf-notification {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0,0,0,0.01);
}

[data-theme="light"] .spf-status-text {
  color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .spf-pain .spf-badge {
  background: rgba(239, 68, 68, 0.06);
  color: #ef4444;
}

[data-theme="light"] .spf-fix .spf-badge {
  background: rgba(16, 185, 129, 0.06);
  color: #10b981;
}

[data-theme="light"] .service-card:hover .spf-fix {
  background: rgba(16, 185, 129, 0.03);
  border-color: rgba(16, 185, 129, 0.15);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.03);
}

[data-theme="light"] .service-card:hover .spf-fix .spf-text {
  color: #0f172a;
}


/* Risk Free Guarantees CSS */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.guarantee-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.guarantee-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-1);
  box-shadow: var(--shadow-glow);
}

.guarantee-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-subtle);
  color: var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  border: 1px solid var(--border-accent);
}

.guarantee-icon svg {
  width: 28px;
  height: 28px;
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.guarantee-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ROI Calculator updates */
.calc-select-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.calc-select-group .form-select {
  width: 100%;
}

.calc-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
  position: relative;
  width: 100%;
}

.calc-gauge-bar-bg {
  width: 100%;
  height: 12px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: var(--space-sm);
  position: relative;
}

.calc-gauge-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* Floating background glow decorative elements */
.floating-glow-sphere {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float-slow 20s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.1); }
}

/* Responsive updates for pain points and guarantees */
@media (max-width: 768px) {
  .pain-comparison-grid {
    grid-template-columns: 1fr;
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Ratings widget in hero styling */
.hero-ratings {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.05s both;
}

.hero-stars-rating {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.hero-stars-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-rating-text {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-rating-text span {
  color: var(--text-primary);
  font-weight: 700;
}

/* =========================================
   PHASE 2 UPGRADES: PRICING TOGGLE, MODALS & WIZARD
   ========================================= */

/* Ambient glows on section headers */
.ambient-glow-header {
  position: relative;
}

.ambient-glow-header::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 60px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  filter: blur(15px);
  z-index: -1;
  pointer-events: none;
}

/* Verified Testimonials badge styling */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Pricing Switch Switcher */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  margin-top: calc(-1 * var(--space-xl));
  position: relative;
  z-index: 10;
}

.pricing-switch-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  cursor: pointer;
}

.pricing-switch-label.active {
  color: var(--text-primary);
}

.pricing-switch {
  width: 60px;
  height: 32px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: background var(--transition-base);
}

.pricing-switch-slider {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.pricing-switch.checked .pricing-switch-slider {
  transform: translateX(28px);
}

/* Swap Pricing displays */
.pricing-card .price-monthly {
  display: none;
}

.pricing-card.monthly-active .price-monthly {
  display: block;
  animation: fadeIn 0.3s ease;
}

.pricing-card.monthly-active .price-project {
  display: none;
}

/* Case Study Modals styling */
.cs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 8, 0.6);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cs-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cs-modal-container {
  width: 100%;
  max-width: 820px;
  background: var(--gradient-dashboard-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow-strong);
  overflow: hidden;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.cs-modal-overlay.active .cs-modal-container {
  transform: translateY(0);
}

.cs-modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  z-index: 10;
}

.cs-modal-close:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.cs-modal-close svg {
  width: 18px;
  height: 18px;
}

.cs-modal-body {
  overflow-y: auto;
  padding: var(--space-3xl) var(--space-2xl) var(--space-2xl);
}

.cs-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: start;
}

.cs-modal-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.cs-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-modal-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cs-modal-header {
  margin-bottom: var(--space-sm);
}

.cs-modal-category {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cs-modal-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}

.cs-modal-section-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.cs-modal-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.cs-modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.cs-modal-stat-card {
  padding: var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
}

.cs-modal-stat-val {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #10b981;
}

.cs-modal-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Growth Plan Quiz Wizard onboarding card styling */
.quiz-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

.quiz-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.quiz-progress-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2xl);
  overflow: hidden;
}

.quiz-progress-bar-fill {
  height: 100%;
  width: 33%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.4s ease;
  flex-direction: column;
}

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

.quiz-question-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.quiz-option-card {
  padding: var(--space-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.quiz-option-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.quiz-option-card.selected {
  border-color: var(--accent-1);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
}

.quiz-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  margin-bottom: var(--space-xs);
}

.quiz-option-card.selected .quiz-option-icon {
  background: var(--gradient-primary);
  color: white;
}

.quiz-option-icon svg {
  width: 20px;
  height: 20px;
}

.quiz-option-title {
  font-weight: 700;
  font-size: var(--fs-base);
}

.quiz-option-desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Quiz Multi-Select Options */
.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.quiz-option-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.quiz-option-row:hover {
  background: var(--bg-glass-hover);
}

.quiz-option-row.selected {
  border-color: var(--accent-1);
  background: rgba(139, 92, 246, 0.04);
}

.quiz-option-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: transparent;
}

.quiz-option-row.selected .quiz-option-checkbox {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.quiz-option-checkbox svg {
  width: 14px;
  height: 14px;
}

/* Quiz buttons */
.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
}

.quiz-results-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.quiz-result-recommendation {
  background: var(--gradient-subtle);
  border: 1px solid var(--border-accent);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
}

.quiz-result-plan-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-accent);
}

.quiz-result-plan-value {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin: var(--space-xs) 0 var(--space-sm);
}

.quiz-result-plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-sm);
}

.quiz-result-plan-pill {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Responsive updates for Phase 2 modals & quiz */
@media (max-width: 768px) {
  .cs-modal-grid {
    grid-template-columns: 1fr;
  }
  .quiz-options-grid {
    grid-template-columns: 1fr;
  }
  .cs-modal-body {
    padding: var(--space-2xl) var(--space-md) var(--space-md);
  }
}

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

/* =========================================
   PHASE 3 - ADDITIONAL INTERACTIVE STYLES
   ========================================= */

/* Before/After Transformation Slider */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: var(--space-xl) auto 0;
  aspect-ratio: 16/10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-after-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  clip-path: inset(0 0 0 50%); /* Start at 50% split */
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-badge {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-full);
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.before-badge {
  left: 20px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.after-badge {
  right: 20px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-handle-line {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

.slider-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transition: transform var(--transition-fast) ease, border-color var(--transition-fast) ease;
}

.before-after-container:hover .slider-handle-btn {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--accent-3);
  color: var(--accent-3);
}

/* Interactive Timeline Dashboard styling */
.timeline-dashboard {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-3xl);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.timeline-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  padding-left: var(--space-sm);
}

.timeline-nav::before {
  content: '';
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 27px;
  width: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.timeline-nav-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: transparent;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--text-secondary);
  text-align: left;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
  cursor: pointer;
  width: 100%;
}

.timeline-nav-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.timeline-nav-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-nav-title {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text-secondary);
  transition: color var(--transition-base);
  line-height: 1.2;
}

.timeline-nav-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.timeline-nav-btn.active {
  background: var(--bg-glass);
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.timeline-nav-btn.active .timeline-nav-number {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.timeline-nav-btn.active .timeline-nav-title {
  color: var(--text-primary);
}

.timeline-nav-btn.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -2px;
  transform: translateY(-50%);
  width: 4px;
  height: 40%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

/* Details Panel Card (Right Side) */
.timeline-panel {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-height: 380px;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .timeline-panel {
  background: rgba(0, 0, 0, 0.015);
}

.timeline-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-md);
}

.timeline-panel-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timeline-panel-phase {
  font-size: var(--fs-xs);
  color: var(--text-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-panel-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.timeline-commitment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
}

.timeline-commitment-badge svg {
  width: 14px;
  height: 14px;
}

.timeline-panel-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-deliverables-wrap {
  margin-top: var(--space-sm);
}

.timeline-deliverables-title {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.timeline-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.timeline-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.timeline-check-item svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

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

.timeline-status-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.timeline-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 8px var(--accent-1);
}

.timeline-status-dot.pulsing {
  animation: pulse 2s infinite;
}

/* Floating Live Chat Assistant Widget */
.live-chat-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientMove 6s ease infinite;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4), var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: transform var(--transition-fast) ease;
}

.live-chat-bubble:hover {
  transform: scale(1.1) translateY(-2px);
}

.live-chat-bubble svg {
  width: 26px;
  height: 26px;
  color: white;
}

.live-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #ef4444;
  border: 2.5px solid var(--bg-primary);
  border-radius: 50%;
}

.live-chat-window {
  position: fixed;
  bottom: 105px;
  right: 30px;
  width: 360px;
  height: 480px;
  background: rgba(8, 8, 17, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
}

[data-theme="light"] .live-chat-window {
  background: rgba(255, 255, 255, 0.92);
}

.live-chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.chat-agent-name {
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.2;
}

.chat-agent-status {
  font-size: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-agent-status-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.chat-close-btn {
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 4px;
}

.chat-close-btn:hover {
  color: white;
}

.chat-body {
  flex-grow: 1;
  padding: var(--space-lg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.chat-msg.bot {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-top-left-radius: 2px;
  align-self: flex-start;
  border: 1px solid var(--border-subtle);
}

.chat-msg.user {
  background: var(--gradient-primary);
  color: white;
  border-top-right-radius: 2px;
  align-self: flex-end;
}

.chat-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.chat-choice-btn {
  padding: 10px var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: left;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  background: rgba(139, 92, 246, 0.05);
  color: var(--text-primary);
  transition: all var(--transition-base);
  cursor: pointer;
  line-height: 1.3;
}

.chat-choice-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  align-items: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border-top-left-radius: 2px;
  border: 1px solid var(--border-subtle);
  align-self: flex-start;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.2); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 850px) {
  .timeline-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .live-chat-window {
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    height: 430px;
  }
}

/* =========================================
   CLIENT PORTAL SIMULATOR STYLING
   ========================================= */
.portal-simulator-container {
  display: flex;
  width: 100%;
  height: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

/* Sidebar Styling */
.portal-sim-sidebar {
  width: 220px;
  background: rgba(4, 4, 12, 0.65);
  border-right: 1px solid var(--border-subtle);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.portal-sim-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.portal-sim-logo {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.portal-sim-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.portal-sim-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.portal-sim-menu-item svg {
  width: 14px;
  height: 14px;
}

.portal-sim-menu-item.active,
.portal-sim-menu-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.portal-sim-projects-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.portal-sim-project-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.portal-sim-project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.portal-sim-project-item:hover {
  border-color: var(--border-subtle);
}

.portal-sim-project-item.active {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
}

.ps-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ps-dot.green { background: #10b981; }
.ps-dot.amber { background: #fbbf24; }
.ps-dot.border { border: 1.5px solid var(--text-muted); }

.ps-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 6px;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-sim-project-item.active .ps-name {
  color: var(--text-primary);
  font-weight: 600;
}

.ps-status-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.portal-sim-project-item.approved .ps-status-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.portal-sim-project-item.active .ps-status-badge.review {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

/* Main workspace area */
.portal-sim-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 17, 0.2);
}

.portal-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
}

.portal-sim-category {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.portal-sim-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-primary);
}

.portal-status-pill {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.portal-status-pill.review {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.portal-status-pill.success {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Dashboard Grid split */
.portal-sim-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  flex-grow: 1;
  overflow: hidden;
}

/* Asset reviewer */
.portal-sim-asset-view {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.portal-sim-asset-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.15);
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
}

.portal-sim-zoom-badge {
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 6px;
  border-radius: 4px;
}

.portal-sim-asset-body {
  flex-grow: 1;
  position: relative;
  background: rgba(3, 3, 8, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  overflow: hidden;
}

.portal-sim-asset-body img {
  max-height: 260px;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  object-fit: contain;
  transition: opacity 0.5s ease;
}

.portal-sim-asset-actions {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(4, 4, 12, 0.5);
  border-top: 1px solid var(--border-subtle);
}

.portal-sim-asset-actions button {
  flex: 1;
  padding: 10px 16px;
  font-size: 11px;
}

/* Success Indicator Overlay */
.portal-approved-overlay {
  position: absolute;
  inset: var(--space-lg);
  background: rgba(3, 3, 8, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.portal-approved-overlay.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.portal-success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

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

.portal-approved-overlay h5 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.portal-approved-overlay p {
  font-size: 11px;
  color: var(--text-secondary);
  max-width: 240px;
}

/* Revision Panel drawer overlay */
.portal-revision-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 22, 0.96);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-accent);
  padding: var(--space-lg);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 6;
}

.portal-revision-drawer.active {
  transform: translateY(0);
}

.portal-rev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.portal-rev-header h5 {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 700;
}

.portal-btn-rev-close {
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
}

.portal-rev-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.portal-rev-opt-btn {
  width: 100%;
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-size: 10px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.portal-rev-opt-btn:hover {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--text-primary);
}

/* Slack panel */
.portal-sim-slack {
  display: flex;
  flex-direction: column;
  background: rgba(5, 5, 15, 0.45);
}

.portal-sim-slack-header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-slack-channel {
  font-weight: 700;
  font-size: 11px;
  color: var(--text-primary);
}

.ps-slack-members {
  font-size: 9px;
  color: var(--text-muted);
}

.portal-sim-slack-body {
  flex-grow: 1;
  padding: var(--space-lg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-height: 400px;
}

.ps-slack-msg {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  animation: fadeInUp 0.4s ease-out forwards;
}

.ps-slack-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #6366f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.ps-slack-avatar.design-lead {
  background: var(--accent-1);
}

.ps-slack-avatar.client-avatar {
  background: #10b981;
}

.ps-slack-content {
  flex-grow: 1;
}

.ps-slack-meta {
  font-size: 10px;
  margin-bottom: 3px;
}

.ps-slack-meta strong {
  color: var(--text-primary);
}

.ps-slack-meta span {
  color: var(--text-muted);
  font-size: 9px;
  margin-left: 6px;
}

.ps-slack-content p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.portal-sim-slack-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.1);
}

.ps-slack-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
}

.ps-slack-input {
  flex-grow: 1;
  background: transparent;
  color: var(--text-primary);
  font-size: 11px;
  border: none;
}

.ps-slack-send-btn {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  background: none;
  border: none;
}

.ps-slack-send-btn.active {
  color: var(--accent-1);
  cursor: pointer;
}

/* Responsive overrides for portal */
@media (max-width: 900px) {
  .portal-simulator-container {
    flex-direction: column;
    height: auto;
  }
  
  .portal-sim-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-md);
  }
  
  .portal-sim-menu {
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: var(--space-md);
  }
  
  .portal-sim-projects-title,
  .portal-sim-project-list {
    display: none;
  }
  
  .portal-sim-grid {
    grid-template-columns: 1fr;
  }
  
  .portal-sim-asset-view {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .portal-sim-slack {
    height: 300px;
  }
}

/* =========================================
   CUSTOM RETAINER & SCOPE BUILDER STYLING
   ========================================= */
.scope-builder-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.scope-builder-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.scope-builder-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.scope-option-row {
  display: flex;
  position: relative;
}

.scope-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  width: 100%;
  cursor: pointer;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.scope-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-light);
}

.scope-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.scope-custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--border-light);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  margin-top: 3px;
}

.scope-custom-checkbox svg {
  width: 12px;
  height: 12px;
  color: white;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scope-checkbox:checked ~ .scope-custom-checkbox {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.scope-checkbox:checked ~ .scope-custom-checkbox svg {
  transform: scale(1);
}

.scope-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scope-option-name {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.scope-option-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.scope-slider-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.scope-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
}

.scope-slider-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.scope-slider-value {
  font-weight: 700;
  color: var(--text-secondary);
}

/* Outputs Sidebar Styling */
.scope-builder-outputs {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.scope-output-card {
  background: var(--gradient-dashboard-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scope-out-heading {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  text-align: center;
}

.scope-out-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.scope-out-price {
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.scope-out-period {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.scope-out-deliverables-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.scope-out-deliverables-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.scope-out-deliverables-list li {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Savings comparison meter */
.scope-out-savings {
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: auto;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.scope-out-savings:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}

[data-theme="light"] .scope-out-savings {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.25);
}

.scope-savings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.scope-savings-percent {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.scope-savings-bar-bg {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.scope-savings-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
  transition: width 0.4s ease;
}

.scope-savings-comparison-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.scope-savings-comparison-text strong {
  color: #10b981;
}

/* Responsive overrides for builder */
@media (max-width: 900px) {
  .scope-builder-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* =========================================
   PHASE 5 PREMIUM INTERACTIONS STYLING
   ========================================= */
/* Top liquid scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-primary);
  z-index: 10002;
  box-shadow: 0 1px 8px rgba(139, 92, 246, 0.4);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Liquid navbar capsule styling */
.nav-links {
  position: relative;
}

.nav-hover-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  height: 36px;
  width: 0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  transform: translateY(-50%);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.nav-link {
  position: relative;
  z-index: 1;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: color var(--transition-base);
}

[data-theme="light"] .nav-hover-indicator {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Global Frosted Glass blur saturate overrides */
.service-card, 
.pricing-card, 
.calculator-card, 
.quiz-card, 
.portal-simulator-container, 
.contact-form-card, 
.pain-compare-card, 
.testimonial-card-inner,
.cs-modal-container {
  backdrop-filter: blur(20px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(120%) !important;
}

/* Asymmetrical Bento Grid Portfolio */
@media (min-width: 900px) {
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: var(--space-xl);
  }
  
  .portfolio-card {
    aspect-ratio: auto !important;
    height: 100% !important;
  }
  
  .portfolio-card:nth-child(1) {
    grid-column: span 2;
  }
  
  .portfolio-card:nth-child(3) {
    grid-row: span 2;
  }
  
  .portfolio-card:nth-child(4) {
    grid-column: span 2;
  }
  
  .portfolio-card-inner {
    height: 100%;
  }
}


