/* ==========================================================================
   Gayraud Consulting — Design System & Stylesheet
   Modern, Premium, High-Converting UI for AI Consulting
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  /* Color Palette */
  --bg-main: #090d16;
  --bg-surface: #0f172a;
  --bg-card: rgba(18, 26, 45, 0.75);
  --bg-card-hover: rgba(26, 38, 64, 0.85);
  --bg-input: rgba(15, 23, 42, 0.8);

  /* Primary Accent & Gradients */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);

  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);

  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  /* Text & Contrast */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: rgba(99, 102, 241, 0.7);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);

  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--primary-glow);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(6, 182, 212, 0.06) 0px, transparent 50%);
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Ambient decorative glows container (clipped to prevent mobile horizontal expansion) */
.ambient-glows-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  overflow: clip;
  contain: paint;
  clip-path: inset(0);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.6;
}

.glow-top-left {
  top: -120px;
  left: -120px;
  width: 480px;
  max-width: 80vw;
  height: 480px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
}

.glow-top-right {
  top: 40px;
  right: -80px;
  width: 500px;
  max-width: 70vw;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
}

.glow-center {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  max-width: 90vw;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

/* Common Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.accent-amber {
  color: var(--accent-amber);
}

.text-success {
  color: var(--accent-emerald);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  background: rgba(6, 182, 212, 0.12);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

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

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

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

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

/* Subtle breathing glow on primary action */
.pulse-glow {
  position: relative;
}

.pulse-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  z-index: -1;
  opacity: 0.4;
  filter: blur(8px);
  transition: opacity var(--transition-fast);
}

.pulse-glow:hover::after {
  opacity: 0.8;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-main);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Elegant Pill for Phone Number */
.header-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  background: rgba(18, 26, 45, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem 0.35rem 0.45rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.phone-icon-bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.phone-pulse-dot {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
  animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.75;
  }
}

.phone-number-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.header-phone-pill:hover {
  background: rgba(26, 38, 64, 0.9);
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
  transform: translateY(-1px);
}

.header-phone-pill:hover .phone-icon-bubble {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(99, 102, 241, 0.45));
  color: #ffffff;
  transform: scale(1.08);
}

.header-phone-pill:hover .phone-number-text {
  color: #38bdf8;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(18, 26, 45, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.header-social-link:hover {
  color: #38bdf8;
  background: rgba(26, 38, 64, 0.9);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.mobile-quick-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan);
  text-decoration: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
  padding: 1.5rem;
  z-index: 999;
}

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

.mobile-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.4rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.check-icon {
  color: var(--accent-emerald);
}

/* Hero Visual & Glass Floating Badges */
.hero-visual-wrapper {
  position: relative;
}

.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.15);
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: float 5s ease-in-out infinite alternate;
}

.badge-1 {
  bottom: -20px;
  left: -20px;
}

.badge-2 {
  top: -20px;
  right: -20px;
  animation-delay: -2.5s;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyan-box {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.amber-box {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

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

.badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.6) 100%);
}

.pain-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.8rem;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.pain-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.red-tone {
  background: rgba(244, 63, 94, 0.12);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.amber-tone {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.blue-tone {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.pain-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.pain-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.callout-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  max-width: 900px;
  margin: 0 auto;
}

.callout-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.callout-text {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.55;
}

/* ==========================================================================
   Services & Solutions
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.12);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.service-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.service-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.check-small {
  color: var(--accent-cyan);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */
.calc-section {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-intro {
  display: flex;
  flex-direction: column;
}

.calc-guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.guarantee-icon {
  font-size: 1.5rem;
}

.guarantee-content {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.guarantee-content strong {
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.calc-interactive-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.control-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.control-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* Custom Slider */
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  border: 2px solid #ffffff;
  transition: transform var(--transition-fast);
}

.slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  border: 2px solid #ffffff;
  transition: transform var(--transition-fast);
}

.slider-input:focus-visible::-webkit-slider-thumb {
  transform: scale(1.15);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Results panel inside calculator */
.calc-results-panel {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}

.results-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  text-align: center;
}

.result-highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.result-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  font-size: 0.88rem;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 1rem;
}

.detail-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.detail-val {
  color: var(--text-main);
}

/* ==========================================================================
   Sectors / Case Studies Tabs
   ========================================================================== */
.sector-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.sector-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sector-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.sector-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25));
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.tab-panels-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.sector-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  animation: fadeIn 0.3s ease;
}

.sector-panel.active {
  display: block;
}

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

.panel-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.panel-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.panel-p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.panel-case-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-cyan);
  padding: 0.9rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.case-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.metric-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  font-family: var(--font-heading);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Methodology (Timeline)
   ========================================================================== */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-marker {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #a5b4fc;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
}

.step-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

.badge-free {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.consultant-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.consultant-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.consultant-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 13, 22, 0.95) 80%);
  display: flex;
  flex-direction: column;
}

.consultant-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.consultant-title {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.65;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.value-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.value-item strong {
  color: var(--text-main);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 1.6rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  font-family: inherit;
}

.faq-chevron {
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   Contact & Form Section
   ========================================================================== */
.contact-card-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

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

.contact-direct-items {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.direct-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.direct-link:hover {
  color: var(--accent-cyan);
}

/* Form Styles */
.consulting-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  outline: none;
}

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

.field-error {
  font-size: 0.76rem;
  color: var(--accent-rose);
  min-height: 1rem;
}

.form-legal {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.4rem;
}

/* Success notification message */
.form-success-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.success-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 420px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #060911;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 360px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-email {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}

.text-highlight {
  color: var(--text-main);
  font-weight: 600;
}

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

.legal-links {
  display: flex;
  gap: 0.8rem;
}

.legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-container {
    gap: 1rem;
  }

  .desktop-nav .nav-links {
    gap: 1.15rem;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .header-phone-pill {
    padding: 0.35rem 0.8rem 0.35rem 0.4rem;
  }

  .phone-number-text {
    font-size: 0.84rem;
  }

  #header-cta-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
  }
}

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

  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .consultant-card-frame {
    max-width: 420px;
    margin: 0 auto;
  }

  .contact-card-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.8rem;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn {
    white-space: normal !important;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }

  .desktop-nav,
  .header-phone-desktop,
  .header-social-link,
  #header-cta-btn {
    display: none !important;
  }

  .mobile-quick-call {
    display: inline-flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
  }

  .badge-pill {
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    line-height: 1.35;
    white-space: normal;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.95rem 1.4rem;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1.2rem;
  }

  .hero-card-frame {
    padding: 6px;
    max-width: 100% !important;
  }

  .floating-badge {
    position: static;
    margin-top: 0.75rem;
    animation: none;
    width: 100%;
  }

  .pain-cards-grid,
  .services-grid,
  .steps-timeline {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .pain-card,
  .service-card,
  .step-card {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .callout-box {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    padding: 1.3rem 1.1rem;
    max-width: 100% !important;
  }

  .calc-interactive-card {
    padding: 1.4rem 1.1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .result-highlight-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .detail-line {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .sector-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .sector-tabs::-webkit-scrollbar {
    display: none;
  }

  .sector-tab {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.65rem 1.1rem;
  }

  .sector-panel {
    padding: 1.6rem 1.2rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .panel-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card-wrapper {
    padding: 1.8rem 1.2rem;
    gap: 2rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Prevent iOS zoom on input focus */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  .glow-top-right {
    right: -40px;
    width: 260px;
    height: 260px;
  }

  .glow-top-left {
    left: -40px;
    width: 240px;
    height: 240px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .pain-card,
  .service-card,
  .step-card {
    padding: 1.5rem 1.1rem;
  }

  .calc-interactive-card {
    padding: 1.2rem 0.85rem;
  }

  .contact-card-wrapper {
    padding: 1.4rem 0.95rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
