:root {
  /* Colors - Codara Vibe */
  --color-bg: #f8f9fc;
  --color-surface: rgba(255, 255, 255, 0.7);
  --color-surface-solid: #ffffff;
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-border: rgba(15, 23, 42, 0.08);
  
  --color-accent-1: #6366f1; /* Indigo */
  --color-accent-2: #a855f7; /* Purple */
  --color-accent-3: #ec4899; /* Pink */
  --color-accent-dark: #0f172a;
  
  --color-gradient-primary: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-accent-2) 50%, var(--color-accent-3) 100%);
  --color-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --color-gradient-surface: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
  
  /* Typography */
  --font-family-display: 'JetBrains Mono', monospace;
  --font-family-body: 'Inter', sans-serif;
  --font-family-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy */
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows & Glass */
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  --shadow-premium: 0 28px 90px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  --glass-blur: blur(16px);
  --border-radius-card: 32px;
}

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

html {
  font-family: var(--font-family-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Animated Background Gradient */
body {
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 30%);
  z-index: -2;
  animation: bg-spin 60s linear infinite;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes bg-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

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

ul, ol {
  list-style: none;
}

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

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

/* ----------------- Utilities ----------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--color-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 3vw, 1rem) clamp(1.2rem, 4vw, 2.5rem);
  border-radius: 100px;
  font-family: var(--font-family-display);
  font-weight: 800;
  font-size: clamp(0.85rem, 3.5vw, 1.1rem);
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, var(--color-accent-1) 0%, var(--color-accent-2) 50%, var(--color-accent-1) 100%);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.6);
  border: none;
  animation: btn-shine 3s linear infinite;
}

@keyframes btn-shine {
  to { background-position: 200% center; }
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 40px -5px rgba(168, 85, 247, 0.8);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--color-text-main);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.3);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 2px solid rgba(15, 23, 42, 0.1);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--color-accent-1);
  color: var(--color-accent-1);
  transform: translateY(-4px) scale(1.03);
}

.price-card .btn {
  width: 100%;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  font-size: 1.05rem;
}

/* ----------------- Header ----------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition-normal);
}

.top-contact-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 0.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  max-height: 50px;
}

.top-contact-item {
  font-size: 0.8rem;
  color: #334155;
  text-decoration: none;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-contact-item svg {
  color: #8b5cf6;
  transition: transform 0.3s ease;
}

.top-contact-label {
  color: #64748b;
  margin-right: 2px;
}

.top-contact-item strong {
  color: #5b36f2;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.top-contact-item:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91, 54, 242, 0.08);
  border-color: rgba(91, 54, 242, 0.1);
}

.top-contact-item:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

.header.is-scrolled {
  padding: 0.75rem 0;
}

.header.is-scrolled .top-contact-banner {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: transparent;
  padding: 0.8rem 1rem;
  position: relative;
  overflow: visible;
}

.header-container::before {
  display: none;
}

.logo {
  font-family: var(--font-family-display);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.075em;
  color: var(--color-text-main);
  position: relative;
  z-index: 102;
  display: flex;
  align-items: center;
  gap: 0.12rem;
  text-decoration: none;
  line-height: 1.12;
  padding: 0.2rem 0.05rem 0.24rem;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.logo-text-tatar {
  color: var(--color-text-main);
  transition: color var(--transition-fast);
  text-transform: uppercase;
}

.logo-text-dev {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  text-transform: uppercase;
  display: inline-block;
  padding-right: 0.06em;
  margin-right: 0.04em;
}

.logo-text-dev::after {
  content: "";
  position: absolute;
  left: 0.08em;
  right: 0.02em;
  bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.logo:hover .logo-text-dev::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: none;
    padding: 0;
  }
  
  .header.is-scrolled {
    top: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
  }

  .header > .container {
    width: 100%;
    max-width: 100%;
    padding: 0 4vw;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: none;
  }

  .header-container::before {
    display: none;
  }

  .logo {
    flex-shrink: 0;
  }

  .nav-desktop {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0.3rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.045), rgba(15, 23, 42, 0.02));
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
  }

  .top-contact-banner.nav-desktop {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
    border-radius: 0;
    margin-bottom: 0;
    padding-top: 0.6rem;
    padding-bottom: 0.2rem;
  }

  .nav-desktop-wide {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem 1.2rem;
    width: 100%;
    padding: 0 1.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  
  .nav-desktop .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.2rem;
    border-radius: 0;
    font-size: clamp(0.7rem, 0.85vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    transition: color var(--transition-fast);
    width: auto;
    min-width: 0;
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav-desktop .nav-link-audit {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.2rem;
    border-radius: 0;
    background: transparent !important;
    border: none;
    color: var(--color-text);
    box-shadow: none !important;
  }

  .nav-desktop .nav-link-audit span {
    font-weight: 700;
  }

  .nav-desktop .nav-link-audit small {
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  }

  .nav-desktop .nav-link-audit:hover,
  .nav-desktop .nav-link-audit.active {
    color: var(--color-accent-1);
    background: transparent !important;
  }

  .nav-desktop-wide > .nav-link:not(:last-child)::before,
  .nav-desktop-wide > .nav-dropdown:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -0.65rem;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background: rgba(15, 23, 42, 0.15);
  }

  .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .nav-dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    z-index: 100;
    padding: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown-content a {
    color: var(--color-text-main);
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
    text-align: left;
  }

  .nav-dropdown-content a:hover {
    background-color: rgba(99, 102, 241, 0.05);
    color: var(--color-accent-1);
    transform: translateX(4px);
  }
  
  .nav-desktop .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .nav-desktop .nav-link:hover,
  .nav-desktop .nav-link.active {
    color: var(--color-text-main);
    transform: none;
  }
  
  .nav-desktop .nav-link:hover::after,
  .nav-desktop .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* Highlight main items */
  .nav-desktop .nav-link[href="/rozrobka-saitiv/"],
  .nav-desktop .nav-link[href="/seo-optimizatsiya/"] {
    background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900;
    letter-spacing: 0.05em;
  }
  
  .nav-desktop .nav-link[href="/rozrobka-saitiv/"]::after,
  .nav-desktop .nav-link[href="/seo-optimizatsiya/"]::after {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
  }

  .nav-desktop .nav-link[href="#contacts"] {
    background: linear-gradient(135deg, #f43f5e, #fb923c) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800;
  }
  
  .nav-desktop .nav-link[href="#contacts"]::after {
    background: linear-gradient(135deg, #f43f5e, #fb923c) !important;
  }

  .nav-btn {
    flex-shrink: 0;
    padding: 1.05rem 1.7rem;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, #5b36f2 0%, #7c3aed 48%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 15px 35px rgba(91, 54, 242, 0.4);
    animation: none;
    min-width: 215px;
  }

  .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(108, 71, 255, 0.34);
    filter: saturate(1.06);
  }
}

@media (min-width: 1024px) and (max-width: 1320px) {
  .header > .container {
    padding: 0 2vw;
  }
  
  .nav-desktop .nav-link {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
  
  .nav-desktop-wide {
    gap: 0.2rem 0.6rem;
    padding: 0 0.5rem;
  }
  
  .nav-desktop-wide .nav-link:not(:last-child)::before {
    right: -0.35rem;
  }
  
  .nav-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.75rem;
    min-width: auto;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.4));
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 102;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: #1e293b;
  border-radius: 999px;
  opacity: 1;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}

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

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-surface-solid);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all var(--transition-normal);
}

.nav-mobile.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.nav-mobile a {
  font-family: var(--font-family-display);
  font-size: 2rem;
  font-weight: 800;
  margin: var(--space-3) 0;
  letter-spacing: -0.02em;
}

/* ----------------- Section Defaults ----------------- */
section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  position: relative;
  isolation: isolate;
}

main {
  position: relative;
}



.trust-banner,
.problems,
.services,
.process,
.cases,
.pricing,
.contact-section,
.footer {
  position: relative;
  overflow: visible;
}

.problems,
.process,
.pricing,
.footer {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.58) 100%);
}

.services,
.cases,
.contact-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.42) 100%);
}

.trust-banner::before,
.problems::before,
.services::before,
.process::before,
.cases::before,
.pricing::before,
.contact-section::before,
.footer::before {
  content: "";
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  height: 9rem;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(99,102,241,0.12) 0%, rgba(99,102,241,0.05) 38%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.problems::after,
.services::after,
.process::after,
.cases::after,
.pricing::after,
.contact-section::after {
  content: "";
  position: absolute;
  bottom: -6.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, 96vw);
  height: 8rem;
  background:
    radial-gradient(55% 100% at 50% 0%, rgba(168,85,247,0.11) 0%, rgba(168,85,247,0.04) 40%, transparent 74%);
  pointer-events: none;
  z-index: -1;
}

.trust-banner {
  margin-top: -1rem;
  border-radius: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.problems,
.services,
.process,
.cases,
.pricing,
.contact-section {
  margin-top: -1.5rem;
  padding-top: calc(clamp(4rem, 6vw, 6rem) + 1rem);
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
}

.problems {
  z-index: 1;
}

.services {
  z-index: 2;
}

.process {
  z-index: 3;
}

.cases {
  z-index: 4;
}

.pricing {
  z-index: 5;
}

.contact-section {
  z-index: 6;
}

.footer {
  margin-top: -1.25rem;
  padding-top: calc(var(--space-16) + 1rem);
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(248,249,252,0.95) 100%);
}

@media (max-width: 767px) {
  .trust-banner {
    border-radius: 24px;
  }

  .problems,
  .services,
  .process,
  .cases,
  .pricing,
  .contact-section,
  .footer {
    margin-top: -0.75rem;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
  }

  .trust-banner::before,
  .problems::before,
  .services::before,
  .process::before,
  .cases::before,
  .pricing::before,
  .contact-section::before,
  .footer::before,
  .problems::after,
  .services::after,
  .process::after,
  .cases::after,
  .pricing::after,
  .contact-section::after {
    width: 100%;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--color-text-muted);
  border-radius: 100px;
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981; /* Emerald green */
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-4);
  line-height: 1.05;
}

.section-desc {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--space-12);
  color: var(--color-text-muted);
  text-wrap: balance;
}

/* ----------------- Hero ----------------- */
.hero {
  padding: calc(var(--space-16) + 145px) 0 var(--space-16);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  max-width: 800px;
}

.hero-title .text-gradient {
  white-space: normal;
  display: inline;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 600px;
  font-weight: 500;
}

/* Beautiful Text Highlights */
.highlight-purr {
  position: relative;
  display: inline-block;
  color: var(--color-accent-2);
  font-weight: 800;
  z-index: 1;
}

.highlight-purr::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2%;
  width: 104%;
  height: 30%;
  background: var(--color-accent-2);
  opacity: 0.2;
  border-radius: 4px;
  transform: skewX(-15deg);
  z-index: -1;
  transition: height var(--transition-fast), opacity var(--transition-fast);
}

.highlight-purr:hover::after {
  height: 100%;
  opacity: 0.1;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Hero Visual with Cat GIF */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-cat-wrapper {
  position: relative;
  width: 100%;
  max-width: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.floating-cat {
  width: 100%;
  max-width: 800px;
  height: auto;
  transform: scale(1.2);
  animation: float-cat 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.25));
}

@keyframes float-cat {
  0%, 100% { transform: translateY(0px) scale(1.2) rotate(0deg); }
  50% { transform: translateY(-15px) scale(1.2) rotate(1deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* ----------------- Trust Banner ----------------- */
.trust-banner {
  margin-top: 1.25rem;
  padding: 1.35rem 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.82) 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  isolation: isolate;
  white-space: nowrap;
}

.trust-banner::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(99,102,241,0.14), rgba(168,85,247,0.04) 20%, rgba(168,85,247,0.04) 80%, rgba(99,102,241,0.14));
  opacity: 0.55;
  z-index: -1;
  filter: blur(18px);
}

.trust-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(248,249,252,1) 0%, rgba(248,249,252,0) 6%, rgba(248,249,252,0) 94%, rgba(248,249,252,1) 100%);
  pointer-events: none;
  z-index: 2;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2.25rem;
  align-items: center;
  padding-right: 2.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-main);
}

.trust-item span {
  color: var(--color-accent-1);
}

@media (max-width: 767px) {
  .trust-banner {
    margin-top: 0.5rem;
    border-radius: 28px;
    padding: 1rem 0;
  }

  .trust-item {
    font-size: 1rem;
  }
}

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

.trust-banner:hover .marquee {
  animation-play-state: paused;
}

/* ----------------- Analysis Grid (Problems) ----------------- */
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .analysis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.analysis-card {
  background: var(--color-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--space-8);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 4px 24px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.analysis-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.4), 0 20px 40px rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.analysis-number {
  font-family: var(--font-family-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--color-accent-2);
  opacity: 0.05;
  position: absolute;
  top: -20px;
  right: 10px;
  line-height: 1;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.analysis-card:hover .analysis-number {
  opacity: 0.15;
  transform: scale(1.05) translateX(-10px);
}

.analysis-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
  margin-top: var(--space-4);
  color: var(--color-text-main);
  position: relative;
  z-index: 2;
  font-weight: 800;
}

.analysis-card p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.analysis-cta {
  background: linear-gradient(145deg, #0f172a, #020617);
  border-radius: 32px;
  padding: var(--space-8) var(--space-12);
  color: white;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.analysis-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.5), transparent 30%),
              radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.4), transparent 30%);
  filter: blur(80px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.9;
  animation: bg-shift 10s ease-in-out infinite alternate;
}

.analysis-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

@keyframes bg-shift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, 5%); }
}

@media (min-width: 768px) {
  .analysis-cta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.analysis-cta h3 {
  font-size: 2.2rem;
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, #ffffff 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.analysis-cta p {
  font-size: 1.15rem;
  opacity: 1;
  max-width: 600px;
  color: #cbd5e1;
  line-height: 1.6;
}

.btn-cta-dark {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  color: #0f172a;
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15), inset 0 -3px 0 rgba(0, 0, 0, 0.05);
}

.btn-cta-dark:hover {
  background: #f8fafc;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.25), inset 0 -3px 0 rgba(0,0,0,0.1);
}

.btn-cta-dark svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-cta-dark:hover svg {
  transform: translateX(4px);
}

/* ----------------- Bento Grid (Problems & Services) ----------------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  grid-auto-flow: dense;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: var(--color-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--space-8);
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 4px 24px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.4), transparent 40%);
  z-index: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

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

.bento-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.4), 0 20px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

/* ----------------- Premium Services Styling ----------------- */
.services .bento-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  border-radius: var(--border-radius-card);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.services .bento-card::before {
  content: '→';
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  opacity: 1;
  transform: rotate(-45deg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.services .bento-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-premium), 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.services .bento-card:hover::before {
  transform: rotate(0) scale(1.1);
  background: var(--color-gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}

.services .bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.services .bento-card:hover::after {
  opacity: 1;
}

.service-icon-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.services .bento-card:hover .service-icon-wrapper {
  background: var(--color-gradient-primary);
  border-color: transparent;
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.service-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  stroke: #0f172a;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.services .bento-card:hover .service-icon {
  stroke: #ffffff;
}

.services .bento-card h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: var(--space-3);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.services .bento-card p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.bento-card.dark {
  background: var(--color-accent-dark);
  color: #fff;
  border-color: rgba(255,255,255,0.1);
}
.bento-card.dark p { color: #94a3b8; }

.bento-card.gradient {
  background: var(--color-gradient-primary);
  color: #fff;
  border: none;
}
.bento-card.gradient p { color: rgba(255,255,255,0.9); }

.bento-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--color-surface-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
  color: var(--color-accent-1);
}

.bento-card.dark .bento-icon {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.bento-card p {
  font-size: 1.05rem;
  margin-bottom: 0;
  flex-grow: 1;
}

.process {
  position: relative;
  padding: var(--space-16) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  position: relative;
  padding-top: var(--space-8);
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .step-card:nth-child(2), .step-card:nth-child(5) {
    transform: translateY(40px);
  }
  
  .step-card:nth-child(3), .step-card:nth-child(6) {
    transform: translateY(80px);
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  padding: var(--space-8);
  border-radius: 32px;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border-color: rgba(99, 102, 241, 0.2);
}

.step-number {
  font-family: var(--font-family-display);
  font-size: 8rem;
  font-weight: 900;
  color: transparent;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.02));
  -webkit-background-clip: text;
  position: absolute;
  bottom: -20px;
  right: -10px;
  line-height: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

.step-card:hover .step-number {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.05));
  -webkit-background-clip: text;
}

.step-card h4 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: var(--space-3);
  font-weight: 800;
  color: #0f172a;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}

.step-card p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  text-wrap: pretty;
}

/* ----------------- Cases Minimal ----------------- */
.cases-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .cases-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  color: #fff;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.case-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.case-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
}

.case-glass {
  margin: 0;
  padding: 2rem;
  border-radius: 0;
  background: #ffffff;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  z-index: 2;
  position: relative;
  flex-grow: 1;
}

.case-glass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
}

.case-tags {
  display: flex;
  gap: var(--space-2);
}

.case-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
}

.case-tech {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.case-glass-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.case-glass-bottom h3 {
  font-size: 1.6rem;
  margin-bottom: 0;
  color: #0f172a;
  font-family: var(--font-family-sans);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-glass-bottom h3 a {
  color: inherit;
  text-decoration: none;
}

.case-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.case-item:hover .case-link {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  border-color: transparent;
  transform: rotate(45deg);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Removed old case-tag since it was redefined above */

/* Removed old case-item h3 since it was redefined */

/* ----------------- Pricing ----------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 40px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05);
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.15);
  background: #ffffff;
}

.price-card.popular {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 50px -10px rgba(124, 58, 237, 0.2);
  transform: scale(1.05);
  z-index: 2;
}

.price-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 30px 60px -10px rgba(124, 58, 237, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

@media (max-width: 1023px) {
  .price-card.popular {
    transform: none;
    margin-top: 2rem;
  }
  .price-card.popular:hover {
    transform: translateY(-8px);
  }
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  text-transform: uppercase;
  z-index: 10;
}

.price-header {
  margin-bottom: var(--space-6);
}

.price-header h3 {
  font-size: 2.2rem;
  font-family: var(--font-family-sans);
  font-weight: 800;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
  color: #0f172a;
}

.price-header p {
  color: #475569;
  font-size: 1.05rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.price-amount .currency {
  font-size: 1.25rem;
  color: #64748b;
  font-weight: 800;
}

.price-amount .value {
  font-size: 3rem;
  font-family: var(--font-family-sans);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-amount .period {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

.price-features {
  margin-bottom: var(--space-8);
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
}

.price-features li.disabled {
  opacity: 0.4;
}

.price-features .icon-check {
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.price-features .icon-cross {
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.05);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ----------------- Audit Form ----------------- */
/* ----------------- Modern Bento Contacts Form ----------------- */
.contact-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
  width: 100%;
}

.contact-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.premium-stacked-card {
  background: #ffffff;
  border-radius: 40px;
  padding: var(--space-12) var(--space-6);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .premium-stacked-card {
    padding: var(--space-16) var(--space-12);
  }
}

.premium-stacked-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--color-accent-1), #6366f1);
  opacity: 0.8;
}

.form-card::after {
  background: linear-gradient(90deg, #10b981, #059669);
}

.card-header-centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.card-header-centered h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
}

.card-header-centered h3 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

.card-header-centered .subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section-tag-light {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
  margin-bottom: 2rem;
  border: 1px solid rgba(15,23,42,0.05);
}

.section-tag-light .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.6rem;
}

.bg-accent { background: var(--color-accent-1); }

.contact-groups-centered {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.contact-group-centered {
  text-align: center;
}

.group-label-centered {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.social-grid-mini-centered {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

.social-icon-btn .icon-text {
  z-index: 2;
  position: relative;
}

.social-icon-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-1) 0%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.3);
}

.social-icon-btn:hover::before {
  opacity: 1;
}

.social-icon-btn:hover svg {
  transform: scale(1.15);
}

/* Right Card: Form */
.contact-form-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.form-subheading {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.modern-floating-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.floating-group {
  position: relative;
}

.floating-group input {
  width: 100%;
  padding: 1.5rem 1.25rem 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  font-size: 1.1rem;
  color: var(--color-text-main);
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.floating-group label {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.05rem;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

/* Floating logic */
.floating-group input:focus,
.floating-group input:not(:placeholder-shown) {
  border-color: var(--color-accent-1);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
  background: #ffffff;
  outline: none;
}

.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label {
  top: 1rem;
  font-size: 0.75rem;
  color: var(--color-accent-1);
  font-weight: 700;
}

.submit-btn-magnetic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1rem;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
  transition: all 0.3s ease;
}

.submit-btn-magnetic:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.4);
}

.submit-btn-magnetic .arrow {
  transition: transform 0.3s ease;
}

.submit-btn-magnetic:hover .arrow {
  transform: translateX(6px);
}

.privacy-note {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 1.5rem;
  font-weight: 600;
}

.audit-submit-btn {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

.form-terms {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1.5rem;
}

/* ----------------- Footer ----------------- */
.footer {
  padding: 0 var(--space-4) var(--space-4);
  width: 100%;
}

.footer-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4rem);
  width: 100%;
  border-radius: 40px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 1);
}

.footer-shell::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(56, 189, 248, 0.05) 40%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.footer-brand-block {
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.footer-brand-kicker {
  display: none;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-brand-text {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-top h2 {
  font-family: var(--font-family-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: left;
  background: linear-gradient(115deg, #0f172a 0%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 10px 30px rgba(67, 56, 202, 0.15);
  user-select: none;
}

@media (min-width: 768px) {
  .footer-top h2 {
    text-align: right;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-family: var(--font-family-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1.25rem;
}

.footer-links a {
  font-family: var(--font-family-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #7c3aed;
  transform: translateX(6px);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ----------------- Animations ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Background Paw Animations */
.paw-print {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  color: var(--color-accent-2);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.8));
}

.paw-print.show {
  opacity: 0.6;
}

/* Constrained form inside vertical stack */
.form-constrained {
  max-width: 800px;
  margin: 0 auto;
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}


/* ----------------- Premium Horizontal Contact Panel ----------------- */
.premium-contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  background: var(--color-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 40px;
  padding: var(--space-10) var(--space-6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), inset 0 0 40px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .premium-contact-panel {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-16) var(--space-16);
    gap: 4rem;
  }
}

.contact-panel-left,
.contact-panel-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 2;
}

/* ----------------- Clean SaaS Contacts ----------------- */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.td-contact-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.75rem, 5vw, 4.5rem);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.55); /* Clean light space glass */
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 
    0 50px 100px -20px rgba(15, 23, 42, 0.05),
    0 0 80px -10px rgba(99, 102, 241, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Background Glow Orbs */
.td-contact-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

.td-contact-orb-left {
  top: 10%;
  left: -12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
  animation: float-glow-1 10s ease-in-out infinite;
}

.td-contact-orb-right {
  right: -10%;
  bottom: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, rgba(236, 72, 153, 0) 70%);
  animation: float-glow-2 12s ease-in-out infinite;
}

.td-contact-orb-center {
  top: 35%;
  left: 35%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0) 70%);
  animation: float-glow-3 14s ease-in-out infinite;
}

@keyframes float-glow-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
}

@keyframes float-glow-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(0.9); }
}

@keyframes float-glow-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 30px) scale(1.2); }
}

.td-contact-header,
.td-quick-contacts-grid,
.td-centered-form-wrapper {
  position: relative;
  z-index: 2;
}

/* Header Area */
.td-contact-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  align-items: center;
}

.td-contact-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.td-contact-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-main);
  font-family: var(--font-family-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), inset 0 0 10px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.td-contact-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 900;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.metallic-sheen {
  position: relative;
  background: linear-gradient(115deg, #0f172a 10%, #6366f1 32%, #f8fafc 48%, #a855f7 64%, #0f172a 88%);
  background-size: 240% auto;
  color: #1e293b;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: metallic-shine 7s ease-in-out infinite;
  display: inline-block;
  padding: 0.08em 0.04em 0.14em;
  filter: drop-shadow(0 10px 24px rgba(99, 102, 241, 0.12));
}

.metallic-sheen::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.08em;
  height: 0.18em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99,102,241,0), rgba(99,102,241,0.2), rgba(168,85,247,0.28), rgba(99,102,241,0));
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

@keyframes metallic-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}




.td-contact-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Layout */
.td-contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  width: 100%;
}

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

.td-minimal-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.minimal-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 24px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.minimal-contact-link:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(8px);
  box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.04);
  border-color: rgba(124, 58, 237, 0.15);
}

.minimal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.minimal-contact-link:hover .minimal-icon {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  transform: scale(1.1) rotate(5deg);
}

@media (max-width: 992px) {
  .td-contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Centered Form Wrapper (Now Right Side) */
.td-contact-form-side {
  width: 100%;
}

.td-contact-form-card {
  position: relative;
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 
    0 30px 60px -25px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.td-contact-form-card:hover {
  border-color: rgba(99, 102, 241, 0.22);
  transform: translateY(-4px);
  box-shadow: 
    0 40px 80px -20px rgba(99, 102, 241, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.td-contact-panel-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Card Heading - Bold & Large */
.td-contact-panel-head h3 {
  font-family: var(--font-family-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
  text-wrap: balance;
}

.td-contact-panel-accent {
  white-space: nowrap;
  background: linear-gradient(135deg, #5b36f2 0%, #8b5cf6 45%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.td-contact-panel-head p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Form Grid */
.td-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.td-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.td-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Super Stylish Form Labels */
.td-contact-field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-display);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  color: #64748b;
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.td-contact-field label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.td-contact-field:focus-within label {
  color: var(--color-accent-1);
  transform: translateX(4px);
}

.td-contact-field:focus-within label::before {
  transform: scale(1.4);
  background: #ec4899;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.8);
}

/* Inputs styling */
.saas-input.td-contact-input {
  width: 100%;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 1.1rem 1.35rem;
  font-size: 1.05rem;
  color: var(--color-text-main);
  min-height: 56px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.saas-input.td-contact-input:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.25);
}

.saas-input.td-contact-input:focus {
  outline: none;
  background: #ffffff;
  border-color: transparent;
  /* Premium border gradient effect */
  background-image: linear-gradient(#ffffff, #ffffff), var(--color-gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
  box-shadow: 
    0 15px 35px -10px rgba(99, 102, 241, 0.15),
    0 0 0 4px rgba(99, 102, 241, 0.08);
}

.saas-input.td-contact-input::placeholder {
  color: #94a3b8;
}

.td-contact-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

/* Submit Button styling */
.saas-submit-btn.td-contact-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 16px;
  padding: 1.2rem 2rem;
  background: var(--color-gradient-primary);
  color: #ffffff;
  font-family: var(--font-family-display);
  font-size: 1.15rem;
  font-weight: 850;
  min-height: 60px;
  box-shadow: 
    0 18px 35px -5px rgba(99, 102, 241, 0.3),
    0 5px 15px rgba(168, 85, 247, 0.18);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.saas-submit-btn.td-contact-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.saas-submit-btn.td-contact-submit svg {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
}

.saas-submit-btn.td-contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 22px 45px -5px rgba(99, 102, 241, 0.45),
    0 8px 25px rgba(168, 85, 247, 0.22);
  filter: brightness(1.05);
}

.saas-submit-btn.td-contact-submit:hover::before {
  left: 100%;
}

.saas-submit-btn.td-contact-submit:hover svg {
  transform: translateX(6px);
}

.saas-submit-btn.td-contact-submit:active {
  transform: translateY(-1px);
}

/* Media Queries for Perfect Responsive Alignment */
@media (max-width: 1199px) {
  .td-quick-contacts-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .td-contact-shell {
    padding: 3.5rem 2.5rem;
  }
  
  .td-quick-contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .td-quick-contact-value {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .td-contact-shell {
    padding: 2.5rem 1.5rem;
    border-radius: 28px;
  }
  
  .td-contact-header {
    text-align: center;
    align-items: center;
  }
  
  .td-contact-copy {
    align-items: center;
  }
  
  .td-contact-title {
    justify-content: center;
  }
  
  .td-contact-title span::after {
    height: 3px;
    bottom: -2px;
  }
  
  .td-contact-form-card {
    padding: 1.75rem;
    border-radius: 24px;
    gap: 2rem;
  }
  
  .td-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .td-quick-contacts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .td-quick-contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    padding: 1.15rem 1.1rem;
    flex-direction: row;
    text-align: left;
    gap: 0.95rem;
    border-radius: 24px;
  }
  
  .td-quick-contact-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }
  
  .td-quick-contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .td-quick-contact-label {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-width: 0;
    width: 100%;
    margin-bottom: 0.2rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }
  
  .td-quick-contact-value {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    width: 100%;
    display: block;
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.38;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  
  .td-quick-contact-action {
    display: none;
  }

  .td-contact-shell {
    padding-bottom: 5.9rem;
  }
}

.td-audit-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 220;
}

.td-audit-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.td-audit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.td-audit-modal-dialog {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: min(820px, 100%);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.24);
  transform: translateY(24px) scale(0.96);
  transition: transform var(--transition-normal);
}

.td-audit-modal.is-open .td-audit-modal-dialog {
  transform: translateY(0) scale(1);
}

.td-audit-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.04);
}

.td-audit-modal-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: #1e293b;
}

.td-audit-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.td-audit-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.td-audit-modal-copy {
  text-align: center;
  margin-bottom: 1.5rem;
}

.td-audit-modal-kicker {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: rgba(91, 54, 242, 0.08);
  color: #6d4aff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.td-audit-modal-title {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.td-audit-modal-text {
  max-width: 48ch;
  margin: 0 auto;
}

.td-audit-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.td-audit-modal-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.94));
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.td-audit-modal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 42px rgba(15, 23, 42, 0.1);
}

.td-audit-modal-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
}

.td-audit-modal-icon svg {
  width: 22px;
  height: 22px;
}

.td-audit-modal-label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.td-audit-modal-value {
  color: var(--color-text-main);
  font-size: 1.15rem;
  font-weight: 800;
}

.td-audit-modal-action {
  color: #6d4aff;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .td-audit-modal-dialog {
    padding: 1.25rem;
    border-radius: 26px;
  }

  .td-audit-modal-grid {
    grid-template-columns: 1fr;
  }
}

.service-selector,
.live-numbers,
.before-after,
.testimonials,
.faq-section {
  position: relative;
}

.service-selector-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255,255,255,0.9);
  position: relative;
  overflow: hidden;
}

.service-selector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.service-selector-tab {
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255,255,255,0.7);
  color: #64748b;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.service-selector-tab:hover {
  background: #fff;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.service-selector-tab.is-active {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
}

.service-selector-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 3rem;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0,0,0,0.03);
  animation: panelFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.service-selector-panel.is-active {
  display: grid;
}

.service-selector-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-panel-action {
  margin-top: 2.5rem;
}

.td-premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.8rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.td-premium-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #34d399, #10b981);
}

.td-premium-btn svg {
  transition: transform 0.3s ease;
}

.td-premium-btn:hover svg {
  transform: translateX(4px);
}

.service-selector-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(91, 54, 242, 0.08);
  color: #5b36f2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  width: max-content;
}

/* Removed old testimonial-company */

/* Premium Before/After Typography */
.before-after-label {
  display: inline-flex;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(91, 54, 242, 0.08);
  border: 1px solid rgba(91, 54, 242, 0.2);
  color: #5b36f2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-selector-panel h3 {
  margin-bottom: 1rem;
  color: #0f172a;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.before-after-copy h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
  background: linear-gradient(135deg, #0f172a, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-selector-panel p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.before-after-copy p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.service-selector-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-selector-metrics div {
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.service-selector-metrics div:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transform: translateX(-5px);
  border-color: #e2e8f0;
}

.service-selector-metrics span {
  display: block;
  margin-bottom: 0;
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.service-selector-metrics strong {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
}

.live-numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

/* Premium Testimonial Cards */
.testimonial-card {
  padding: 2.5rem 2rem;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.1);
}

.testimonial-card p {
  color: #334155;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Beautiful Live Numbers Cards */
.live-number-card {
  padding: 2rem 1.5rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.live-number-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(91, 54, 242, 0.03), rgba(16, 185, 129, 0.03));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.live-number-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
  border-color: rgba(91, 54, 242, 0.1);
}

.live-number-card:hover::before {
  opacity: 1;
}

.live-number-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.15);
  color: #7c3aed;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.live-number-card .card-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  transition: all 0.4s ease;
}

.live-number-card:hover .card-icon {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.4);
}

.live-number-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.live-number-card:hover .live-number-kicker {
  color: #7c3aed;
}

.live-number-card strong {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-family-display);
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0f172a;
  background: linear-gradient(135deg, #0f172a, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.live-number-card p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Interactive Toggle Before/After Section */
.ba-interactive-container {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 40px;
  padding: 4rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.ba-interactive-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.ba-interactive-copy {
  max-width: 600px;
}

.ba-interactive-tag {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.ba-interactive-title {
  font-size: 2.5rem;
  line-height: 1.15;
  font-family: var(--font-family-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: #0f172a;
}

.ba-interactive-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
}

/* Toggle Control */
.ba-interactive-controls {
  flex-shrink: 0;
}

.ba-toggle {
  display: flex;
  background: #f1f5f9;
  padding: 0.5rem;
  border-radius: 999px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.ba-toggle-bg {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  width: calc(50% - 0.5rem);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ba-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  min-width: 140px;
  outline: none;
}

.ba-toggle-btn.active {
  color: #5b36f2;
}

/* Image Viewer */
.ba-interactive-viewer {
  width: 100%;
}

.ba-interactive-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 592;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(91, 54, 242, 0.15);
  background: #0f172a;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.ba-img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.testimonial-top {
  margin-bottom: 1.5rem;
}

.testimonial-company {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.testimonial-card:hover .testimonial-company {
  color: #7c3aed;
}

.testimonial-card strong {
  display: block;
  margin-top: auto;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

/* Premium FAQ Items */
.faq-item {
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  position: relative;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.15);
}

.faq-item.is-open {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 50px -10px rgba(124, 58, 237, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 2rem;
  font-family: var(--font-family-sans);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: left;
  color: #0f172a;
  transition: color 0.3s ease;
  z-index: 2;
  position: relative;
}

.faq-item:hover .faq-question {
  color: #7c3aed;
}

.faq-item.is-open .faq-question {
  color: #0f172a;
}

.faq-plus {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  font-size: 1.4rem;
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  box-shadow: 0 8px 20px -5px rgba(124, 58, 237, 0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 2rem 1.8rem;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
  z-index: 2;
  position: relative;
}

.sticky-mobile-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #5b36f2);
  color: #fff;
  box-shadow: 0 20px 40px rgba(15,23,42,0.24);
  z-index: 140;
}

.sticky-mobile-cta-text {
  font-weight: 800;
}

.sticky-mobile-cta-pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .live-numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

}

@media (max-width: 767px) {
  .service-selector-panel {
    grid-template-columns: 1fr;
  }

  .service-selector-tabs {
    justify-content: flex-start;
  }

  .before-after-shell {
    padding: 1.5rem;
    border-radius: 28px;
  }

  .before-after-frame {
    min-height: 0;
    aspect-ratio: 1 / 1.08;
    border-radius: 22px;
  }

  .before-after-image {
    object-position: center top;
  }

  .before-after-handle {
    width: 52px;
    height: 52px;
    left: 52%;
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.18),
      0 14px 28px rgba(0,0,0,0.24);
  }

  .before-after-handle::before {
    width: 2px;
  }

  .before-after-badge {
    top: 0.85rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .before-after-badge.before {
    left: 0.85rem;
  }

  .before-after-badge.after {
    right: 0.85rem;
  }

  .sticky-mobile-cta {
    display: flex;
  }
}

/* ==========================================================================
   CRO ENHANCEMENTS (ULTRA PREMIUM)
   ========================================================================== */
.btn-shiny {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-shiny::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shine 5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  z-index: -1;
}
@keyframes shine {
  0% { left: -150%; }
  15% { left: 200%; }
  100% { left: 200%; }
}

/* Microcopy */
.hero-microcopy {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  animation: fadeIn 1s ease-out 0.5s both;
}
.microcopy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent-1);
}
.microcopy-pill span {
  color: var(--color-text-main);
  opacity: 0.8;
  text-align: left;
  line-height: 1.3;
}
.microcopy-pill svg {
  color: var(--color-accent-1);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .hero-microcopy { justify-content: center; }
}

/* Logos Section */
.client-logos-section {
  padding: 4rem 0 2rem;
  position: relative;
  background: transparent;
}
.logos-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  opacity: 0.7;
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem;
  align-items: center;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-normal);
}
.logos-grid:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.logo-item {
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  color: var(--color-accent-1);
  font-size: 1rem;
}

/* Guarantees Box - High Contrast Premium */
.testimonials {
  padding-bottom: 1rem;
}
.guarantees {
  padding: 1rem 0 6rem;
  position: relative;
}
.guarantee-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 40px;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.guarantee-glow {
  display: none;
}
.guarantee-icon-wrapper {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.08));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.15);
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.guarantee-box:hover .guarantee-icon-wrapper {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-color: transparent;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.4);
}
.guarantee-icon-wrapper::before {
  display: none;
}
.guarantee-icon {
  width: 36px;
  height: 36px;
  color: #7c3aed;
  transition: color 0.4s ease;
}
.guarantee-box:hover .guarantee-icon {
  color: #ffffff;
}
.guarantee-content {
  position: relative;
  z-index: 1;
}
.guarantee-content h3 {
  font-size: 2.2rem;
  font-family: var(--font-family-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #0f172a;
}
.guarantee-content p {
  font-size: 1.15rem;
  margin-bottom: 0;
  color: #475569;
  line-height: 1.6;
}

/* Scarcity Badge */
.scarcity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.72rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 244, 255, 0.9)),
    linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(160, 174, 255, 0.28);
  border-radius: 3rem;
  color: #1f2940;
  font-size: 0.9rem;
  margin-top: 1rem;
  box-shadow:
    0 16px 34px rgba(99, 102, 241, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-left: auto;
  margin-right: auto;
}
.scarcity-text {
  text-align: left;
  line-height: 1.35;
}
.scarcity-badge strong {
  color: #7c3aed;
  font-weight: 700;
}
.scarcity-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.14);
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

@media (max-width: 768px) {
  .guarantee-box {
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    text-align: center;
  }
  .guarantee-glow {
    top: auto; bottom: 0; right: 50%;
    transform: translate(50%, 50%);
  }
  .logos-grid { gap: 2rem; }
}

/* ==========================================================================
   GLOBAL MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  /* Typography */
  h1.hero-title {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }
  h2.section-title {
    font-size: 2rem !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  /* Layout Spacing */
  .container {
    padding: 0 1.25rem !important;
  }
  section {
    padding: 4rem 0 !important;
  }
  
  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-cat-wrapper {
    margin-top: 2rem;
    max-width: 80%;
    margin-inline: auto;
  }
  
  /* Grids to Single Column */
  .problems-grid,
  .features-grid,
  .pricing-grid,
  .cases-grid,
  .process-grid,
  .testimonials-grid,
  .td-quick-contacts-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Pricing adjustments */
  .price-card.popular {
    transform: none !important;
  }
  
  /* Footer */
  .footer-top, .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  /* Hide desktop-only nav elements */
  .nav-desktop {
    display: none !important;
  }
}

@media (max-width: 480px) {
  h1.hero-title {
    font-size: 2.2rem !important;
  }
  h2.section-title {
    font-size: 1.8rem !important;
  }
}

/* ==========================================================================
   MOBILE REFINEMENT LAYER
   Final phone-first overrides for real rendered sections
   ========================================================================== */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: clip;
  }

  body {
    padding-bottom: 5.9rem;
  }

  .container {
    padding-inline: 1rem !important;
  }

  .header {
    padding: 0.8rem 0;
  }

  .header .container {
    padding-inline: 0.85rem !important;
  }

  .header-container {
    min-height: 72px;
    padding: 0.9rem 1rem;
    border-radius: 28px;
    gap: 0.9rem;
  }

  .logo {
    font-size: 1.55rem;
    letter-spacing: -0.07em;
    flex: 1 1 auto;
    min-width: 0;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .nav-mobile {
    justify-content: flex-start;
    align-items: stretch;
    padding: 6.8rem 1rem 2rem;
    background:
      radial-gradient(circle at top, rgba(168, 85, 247, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-mobile-inner {
    width: 100%;
  }

  .nav-mobile-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-mobile a {
    margin: 0;
  }

  .nav-mobile-list .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-mobile .btn {
    width: 100%;
    margin-top: 1rem;
    min-height: 58px;
    border-radius: 22px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 8.2rem 0 2.8rem !important;
  }

  .hero-grid {
    gap: 2.4rem !important;
  }

  .hero-content {
    align-items: stretch;
  }

  .section-tag {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.3rem, 9.5vw, 3rem) !important;
    line-height: 1.02 !important;
    text-wrap: balance;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1rem !important;
    line-height: 1.65;
    margin-bottom: 1.4rem;
  }

  .hero-btns {
    gap: 0.85rem !important;
  }

  .hero-btns .btn {
    min-height: 56px;
    border-radius: 18px;
  }

  .microcopy-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    line-height: 1.45;
  }

  .hero-cat-wrapper {
    max-width: min(320px, 86vw) !important;
    margin-top: 0.25rem !important;
  }

  .floating-cat {
    transform: scale(1.04);
  }

  .trust-banner {
    margin-top: 0.2rem;
    border-radius: 24px;
    padding: 1rem 0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  }

  .marquee-content {
    gap: 1.35rem;
  }

  .trust-item {
    font-size: 0.9rem;
  }

  .section-title,
  .section-desc {
    max-width: 100%;
  }

  .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .analysis-grid,
  .process-steps,
  .cases-bento,
  .pricing-grid,
  .testimonials-grid,
  .live-numbers-grid,
  .footer-grid {
    gap: 1rem !important;
  }

  .analysis-card,
  .step-card,
  .case-item,
  .price-card,
  .testimonial-card,
  .live-number-card,
  .faq-item {
    border-radius: 24px;
  }

  .service-selector {
    padding-top: 3.4rem !important;
  }

  .service-selector-shell {
    padding: 1rem;
    border-radius: 28px;
  }

  .service-selector-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .service-selector-tab {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }

  .service-selector-panel {
    padding: 1.3rem;
    gap: 1rem;
    border-radius: 24px;
  }

  .service-selector-panel h3 {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .service-selector-panel p {
    font-size: 1rem;
  }

  .service-panel-action,
  .service-panel-action .td-premium-btn {
    width: 100%;
  }

  .service-panel-action .td-premium-btn {
    justify-content: center;
    min-height: 54px;
    border-radius: 18px;
  }

  .service-selector-metrics {
    gap: 0.8rem;
  }

  .service-selector-metrics div {
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
    align-items: flex-start;
    gap: 0.4rem;
    flex-direction: column;
  }

  .live-number-card,
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .before-after-shell {
    padding: 1.25rem !important;
    gap: 1.25rem;
    border-radius: 26px !important;
  }

  .before-after-copy h3 {
    font-size: 1.7rem;
  }

  .before-after-frame {
    min-height: 260px !important;
    border-radius: 22px;
  }

  .guarantees {
    padding: 3.2rem 0 4.5rem;
  }

  .guarantee-box {
    padding: 1.8rem !important;
    border-radius: 26px;
  }

  .guarantee-content h3 {
    font-size: 1.45rem;
  }

  .pricing {
    padding-top: 3.6rem !important;
  }

  .price-card {
    padding: 2rem 1.35rem;
  }

  .price-header h3 {
    font-size: 2rem;
  }

  .popular-badge {
    font-size: 0.72rem;
    padding: 0.45rem 0.95rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    text-align: center;
  }

  .faq-question {
    padding: 1.2rem 1.2rem;
    font-size: 1rem;
    line-height: 1.35;
    align-items: center;
    text-align: left;
  }

  .faq-answer p {
    padding: 0 1.2rem 1.25rem;
    font-size: 0.96rem;
  }

  .td-contact-shell {
    padding: 2rem 1rem;
    border-radius: 30px;
  }

  .td-contact-header {
    margin-bottom: 2rem;
  }

  .td-contact-kicker {
    padding: 0.65rem 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .td-contact-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.02;
  }

  .td-contact-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .td-quick-contacts-grid {
    margin-bottom: 1.4rem !important;
  }

  .td-quick-contact-card {
    padding: 1rem 1rem !important;
    gap: 0.9rem !important;
    border-radius: 22px;
  }

  .td-quick-contact-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .td-quick-contact-label {
    width: 100%;
    font-size: 0.66rem;
  }

  .td-quick-contact-value {
    width: 100%;
    display: block;
    font-size: 0.9rem !important;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .td-contact-form-card {
    padding: 1.35rem !important;
    gap: 1.4rem !important;
    border-radius: 24px !important;
  }

  .td-contact-panel-head h3 {
    font-size: 1.5rem;
  }

  .td-contact-panel-accent {
    white-space: normal;
  }

  .scarcity-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1rem;
    line-height: 1.45;
  }

  .saas-input.td-contact-input,
  .saas-submit-btn.td-contact-submit {
    min-height: 54px;
    border-radius: 16px;
  }

  .footer {
    padding: 0 0.85rem 1rem;
  }

  .footer-shell {
    padding: 2rem 1.2rem;
    border-radius: 28px;
  }

  .footer-top {
    gap: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer-top h2 {
    text-align: center;
    font-size: clamp(2.5rem, 13vw, 4rem);
    line-height: 0.9;
  }

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

  .footer-brand-text {
    font-size: 0.98rem;
  }

  .footer-grid {
    text-align: center;
    padding-bottom: 1.8rem;
  }

  .footer-col h4 {
    margin-bottom: 0.9rem;
  }

  .footer-links {
    gap: 0.8rem;
  }

  .footer-bottom {
    gap: 0.7rem !important;
    padding-top: 1rem;
  }

  .sticky-mobile-cta {
    left: 0.8rem;
    right: 0.8rem;
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    min-height: 58px;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
  }
}

@media (max-width: 480px) {
  .service-selector-tabs {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.05rem, 10.2vw, 2.45rem) !important;
  }

  .hero-subtitle,
  .section-desc,
  .td-contact-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-cat-wrapper {
    max-width: min(280px, 84vw) !important;
  }

  .trust-item {
    font-size: 0.84rem;
  }

  .service-selector-panel,
  .td-contact-form-card,
  .footer-shell,
  .guarantee-box,
  .price-card {
    border-radius: 22px !important;
  }

  .td-contact-title {
    font-size: 1.8rem;
  }

  .sticky-mobile-cta-text {
    font-size: 0.92rem;
  }

  .sticky-mobile-cta-pill {
    font-size: 0.72rem;
    padding: 0.38rem 0.6rem;
  }

  .section-title {
    max-width: min(100%, 21rem);
    margin-left: auto;
    margin-right: auto;
    font-size: 1.68rem !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
    text-wrap: balance;
  }

  .section-title span {
    overflow-wrap: break-word;
  }

  .scarcity-badge {
    gap: 0.62rem;
    width: min(100%, 21rem);
    justify-content: flex-start;
    padding: 0.82rem 1rem;
    border-radius: 24px;
  }

  .scarcity-text {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   MOBILE HOTFIX
   Containment + menu/button overflow corrections
   ========================================================================== */
@media (max-width: 767px) {
  .hero-subtitle {
    display: none;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    align-items: center !important;
    overflow: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  .header,
  .hero,
  .trust-banner,
  .service-selector-shell,
  .service-selector-panel,
  .before-after-shell,
  .guarantee-box,
  .price-card,
  .testimonial-card,
  .live-number-card,
  .faq-item,
  .td-contact-shell,
  .td-contact-form-card,
  .footer,
  .footer-shell,
  .sticky-mobile-cta {
    width: 100%;
    max-width: 100%;
  }

  .header .container,
  .hero .container,
  .service-selector .container,
  .live-numbers .container,
  .testimonials .container,
  .pricing .container,
  .faq-section .container,
  .contact-section .container {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .header-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .logo {
    max-width: calc(100% - 56px);
    overflow: visible;
    white-space: nowrap;
  }

  .nav-mobile {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-mobile-inner,
  .nav-mobile-list,
  .nav-mobile .btn {
    width: 100%;
    max-width: 100%;
  }

  .nav-mobile .nav-link,
  .nav-mobile .btn {
    font-size: 0.95rem;
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  .nav-link-audit-mobile {
    display: grid !important;
    gap: 0.35rem;
    padding: 1rem !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(91,54,242,0.12), rgba(168,85,247,0.08));
    border: 1px solid rgba(124, 58, 237, 0.12);
    color: #4321bf !important;
  }

  .nav-link-audit-mobile span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7c3aed;
  }

  .nav-mobile .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: 0;
    padding-inline: 1rem;
    white-space: normal;
    text-align: center;
  }

  .nav-mobile.is-active ~ .sticky-mobile-cta {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .section-tag,
  .microcopy-pill,
  .scarcity-badge,
  .popular-badge,
  .sticky-mobile-cta-text,
  .sticky-mobile-cta-pill {
    max-width: 100%;
  }

  .service-selector-shell,
  .service-selector-panel,
  .td-contact-shell,
  .td-contact-form-card,
  .footer-shell,
  .price-card,
  .guarantee-box {
    overflow: hidden;
  }

  .service-selector-tabs,
  .td-form-grid,
  .td-quick-contacts-grid,
  .footer-grid {
    min-width: 0;
  }

  .service-selector-tab,
  .td-premium-btn,
  .saas-submit-btn.td-contact-submit,
  .sticky-mobile-cta {
    width: 100%;
    max-width: 100%;
  }

  .td-quick-contact-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .td-quick-contact-value,
  .footer-links a,
  .faq-question,
  .section-title,
  .hero-title,
  .hero-subtitle {
    overflow-wrap: anywhere;
  }

  .hero-title {
    max-width: 11ch;
    margin-inline: auto;
    font-size: clamp(1.8rem, 7.8vw, 2.15rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.05em;
    text-wrap: balance;
  }

  .hero-title .text-gradient {
    display: block;
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 22ch;
    margin-inline: auto;
    font-size: 0.95rem !important;
    line-height: 1.58;
  }

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

  .hero-btns .btn {
    width: 100% !important;
    max-width: 100%;
  }

  .microcopy-pill {
    width: 100%;
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    overflow: hidden;
    padding: 0.82rem 0.82rem 0.82rem 1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #181d48 0%, #3f2aa8 58%, #5b36f2 100%);
    box-shadow:
      0 18px 34px rgba(23, 29, 72, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .sticky-mobile-cta-text {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0.15rem;
    font-size: 0.94rem;
    line-height: 1.05;
    letter-spacing: 0.01em;
  }

  .sticky-mobile-cta-pill {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .td-mobile-carousel-track,
  .td-mobile-carousel {
    display: flex !important;
    align-items: stretch;
    gap: 0.9rem !important;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.15rem 0.35rem 0.9rem;
    margin-inline: -0.05rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .td-mobile-carousel-track::-webkit-scrollbar,
  .td-mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .td-mobile-carousel-track > *,
  .td-mobile-carousel > * {
    min-width: 0;
    width: 85%;
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .td-mobile-carousel-track .case-item,
  .td-mobile-carousel-track .price-card,
  .td-mobile-carousel-track .analysis-card,
  .td-mobile-carousel-track .step-card,
  .td-mobile-carousel-track .live-number-card,
  .td-mobile-carousel-track .testimonial-card,
  .td-mobile-carousel-track .td-quick-contact-card,
  .td-mobile-carousel .case-item,
  .td-mobile-carousel .price-card,
  .td-mobile-carousel .analysis-card,
  .td-mobile-carousel .step-card,
  .td-mobile-carousel .live-number-card,
  .td-mobile-carousel .testimonial-card,
  .td-mobile-carousel .td-quick-contact-card {
    min-height: 0;
  }

  .td-mobile-carousel-track .case-glass-bottom h3,
  .td-mobile-carousel-track .price-header h3,
  .td-mobile-carousel-track .analysis-card h3,
  .td-mobile-carousel-track .step-card h4,
  .td-mobile-carousel .case-glass-bottom h3,
  .td-mobile-carousel .price-header h3,
  .td-mobile-carousel .analysis-card h3,
  .td-mobile-carousel .step-card h4 {
    text-wrap: balance;
  }

  .td-mobile-carousel-track .bento-card,
  .td-mobile-carousel-track .analysis-card,
  .td-mobile-carousel-track .step-card,
  .td-mobile-carousel-track .live-number-card,
  .td-mobile-carousel-track .testimonial-card,
  .td-mobile-carousel-track .price-card,
  .td-mobile-carousel .bento-card,
  .td-mobile-carousel .analysis-card,
  .td-mobile-carousel .step-card,
  .td-mobile-carousel .live-number-card,
  .td-mobile-carousel .testimonial-card,
  .td-mobile-carousel .price-card {
    min-height: unset;
    height: auto;
  }

  .td-mobile-carousel-track .bento-card,
  .td-mobile-carousel .bento-card {
    padding: 1.5rem;
  }

  .pricing-grid.td-mobile-carousel-track,
  .pricing-grid.td-mobile-carousel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible;
    padding: 0;
    margin: 0;
    gap: 1rem !important;
    scroll-snap-type: none;
  }

  .pricing-grid.td-mobile-carousel-track > .price-card,
  .pricing-grid.td-mobile-carousel > .price-card {
    width: 100%;
    flex: initial;
    scroll-snap-align: none;
  }

  .pricing + .td-mobile-carousel-dots,
  .pricing .td-mobile-carousel-dots {
    display: none !important;
  }

  .price-card {
    padding: 2.8rem 1.2rem 1.6rem;
    min-height: 0;
    overflow: visible;
  }

  .price-card.popular {
    transform: none !important;
    margin-top: 0 !important;
  }

  .price-card.popular:hover {
    transform: translateY(-4px) !important;
  }

  .popular-badge {
    top: 0.7rem;
    transform: translateX(-50%);
    max-width: calc(100% - 2.2rem);
    white-space: normal;
    line-height: 1.15;
    text-align: center;
  }

  .price-header h3 {
    font-size: 1.9rem;
  }

  .price-header p,
  .price-features li {
    overflow-wrap: anywhere;
  }

  .td-mobile-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.6rem;
  }

  .td-mobile-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(91, 54, 242, 0.18);
    border: 0;
    padding: 0;
    box-shadow: 0 0 0 0 rgba(91, 54, 242, 0);
    transition: width 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  }

  .td-mobile-carousel-dot.is-active {
    width: 22px;
    background: linear-gradient(90deg, #5b36f2, #8b5cf6);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
  }
}

/* FAB Styles */
  .fab-wrapper {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .fab-wrapper.d-none {
    display: none;
  }
  .fab-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  }
  .fab-trigger:hover, .fab-trigger:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.5);
  }
  .fab-icon-default {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .fab-icon-close {
    position: absolute;
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .fab-wrapper.is-active .fab-icon-default {
    transform: scale(0) rotate(90deg);
    opacity: 0;
  }
  .fab-wrapper.is-active .fab-icon-close {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
  .fab-menu {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: rgba(15, 12, 29, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s;
    min-width: 200px;
  }
  .fab-wrapper.is-active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  .fab-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
  }
  .fab-menu-item:hover, .fab-menu-item:active {
    background: rgba(255, 255, 255, 0.05);
  }
  .fab-menu-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a855f7;
  }

@media (max-width: 991px) {
  .ba-interactive-container {
    padding: 2.5rem;
    gap: 2.5rem;
  }
  .ba-interactive-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .ba-interactive-container {
    padding: 1.5rem;
    gap: 2rem;
    border-radius: 28px;
  }
  .ba-interactive-title {
    font-size: 1.8rem;
  }
  .ba-interactive-desc {
    font-size: 1rem;
  }
  .ba-interactive-controls {
    width: 100%;
  }
  .ba-toggle {
    width: 100%;
  }
  .ba-toggle-btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    min-width: 0;
  }
  .ba-interactive-frame {
    border-radius: 16px;
  }
}

/* ==========================================================================
   PERFORMANCE GUARDRAILS
   Lightweight rendering paths for motion-sensitive users and mobile devices.
   ========================================================================== */
.case-img {
  aspect-ratio: 4 / 3;
  background: #f8fafc;
}

.case-item,
.analysis-card,
.bento-card,
.step-card,
.price-card,
.testimonial-card,
.td-quick-contact-card,
.live-number-card {
  contain: layout paint;
}

.floating-cat,
.case-img,
.before-after-image {
  backface-visibility: hidden;
}

@media (hover: none) {
  .case-item:hover,
  .analysis-card:hover,
  .bento-card:hover,
  .step-card:hover,
  .price-card:hover,
  .testimonial-card:hover,
  .td-quick-contact-card:hover {
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .section-title {
    max-width: min(100%, 18rem);
    margin-inline: auto;
    font-size: 1.48rem !important;
    line-height: 1.16 !important;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: auto;
  }

  .section-title br {
    display: none;
  }

  body::before,
  .before-after-shell::before {
    animation: none !important;
  }

  .floating-cat {
    animation: none !important;
    filter: drop-shadow(0 14px 26px rgba(99, 102, 241, 0.18));
  }

  .td-contact-orb,
  .glow-orb {
    display: none !important;
  }

  .header-container,
  .top-contact-item,
  .trust-banner,
  .bento-card,
  .td-contact-shell,
  .td-quick-contact-card,
  .td-contact-form-card,
  .fab-menu {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .marquee-content {
    animation-duration: 44s;
    will-change: transform;
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Pricing badge must stay inside the card because price cards use paint containment. */
.price-card.popular {
  padding-top: calc(var(--space-12) + 0.5rem);
}

.popular-badge {
  top: 1rem;
  transform: translateX(-50%);
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  text-align: center;
}

.popular-glow {
  top: 0.2rem;
}

@media (max-width: 767px) {
  .price-card.popular {
    padding-top: 3.9rem !important;
  }

  .popular-badge {
    top: 0.9rem;
    font-size: 0.68rem;
    line-height: 1;
    padding: 0.5rem 1rem;
  }
}

.td-home-link-card {
  color: inherit;
  text-decoration: none;
}

.td-home-link-card:hover {
  transform: translateY(-8px);
}

.td-seo-home-strip,
.td-home-cities {
  padding: 1rem 0 0;
}

.td-seo-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.td-seo-home-card {
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.4s ease;
}

.td-seo-home-card:hover {
  box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.15);
}

.td-seo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.td-seo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.td-seo-chip::after {
  content: '↗';
  font-weight: 400;
  color: #94a3b8;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.td-seo-chip:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.td-seo-chip:hover::after {
  color: #ffffff;
  transform: translate(2px, -2px);
}

.td-seo-chip-grid-wide {
  justify-content: center;
  margin-top: 2.5rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  gap: 1.2rem;
}

.td-seo-benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: #334155;
}

.td-seo-benefit-list li {
  position: relative;
  padding-left: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.td-seo-benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%237c3aed' /%3E%3Cstop offset='100%25' stop-color='%23ec4899' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='24' height='24' rx='8' fill='url(%23g)' fill-opacity='0.12' /%3E%3Cpath d='M7 12.5L10.5 16L17 8' stroke='url(%23g)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

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

/* Blink Animation for Typewriter Cursor */
@keyframes blink {
  50% { opacity: 0; }
}
