/* ================================================
   ConnectFlow Solutions - Main Stylesheet
   White & Light Blue Gradient Theme
   Fully Responsive for All Devices
   ================================================ */

/* --- CSS Variables --- */
:root {
  --white: #ffffff;
  --light-blue-50: #f0f9ff;
  --light-blue-100: #e0f2fe;
  --light-blue-200: #bae6fd;
  --light-blue-300: #7dd3fc;
  --light-blue-400: #38bdf8;
  --light-blue-500: #0ea5e9;
  --light-blue-600: #0284c7;
  --light-blue-700: #0369a1;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-height: 72px;
  --container-max: 1440px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--dark);
  line-height: 1.6;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-blue-50) 25%, var(--light-blue-100) 50%, var(--light-blue-50) 75%, var(--white) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Section Titles --- */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  gap: 8px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-600));
  color: var(--white);
  border-color: var(--light-blue-500);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--light-blue-600), var(--light-blue-700));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--light-blue-600);
  border-color: var(--light-blue-300);
}

.btn-secondary:hover {
  background: var(--light-blue-50);
  border-color: var(--light-blue-500);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--light-blue-600);
  border-color: var(--light-blue-300);
}

.btn-outline:hover {
  background: var(--light-blue-500);
  color: var(--white);
  border-color: var(--light-blue-500);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ── Multi-step Form ── */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fsi-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.form-step-indicator.active .fsi-num {
  background: var(--light-blue-500);
  color: #fff;
}

.form-step-indicator.done .fsi-num {
  background: #10b981;
  color: #fff;
}

.fsi-label {
  font-family: 'Manrope', var(--font-family);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.form-step-indicator.active .fsi-label {
  color: var(--dark);
}

.form-step-indicator.done .fsi-label {
  color: #10b981;
}

.fsi-line {
  width: 48px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 12px;
  transition: background 0.3s ease;
}

.fsi-line.done {
  background: #10b981;
}

/* Step panels */
.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
  animation: stepFadeIn 0.35s ease;
}

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

/* Step 2 header */
.step2-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step2-back {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step2-back:hover {
  border-color: var(--gray-300);
  color: var(--dark);
}

.step2-info {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.calendar-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-50);
  min-height: 500px;
}

.btn-demo-submit {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8) !important;
  border: none !important;
  font-size: 1.05rem !important;
  padding: 16px 32px !important;
  margin-top: 8px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.btn-demo-submit:hover {
  background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

/* Scrolled: show blue underline */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 0 0 var(--light-blue-400);
}


.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  line-height: 1;
  margin-right: 20px;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-words {
  display: flex;
  flex-direction: column;
}

.logo-text {
  display: inline;
  white-space: nowrap;
}

.nav-tagline {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  display: block;
  margin-top: 2px;
}

.logo-connect {
  color: var(--dark);
}

.logo-flow {
  color: var(--light-blue-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
  position: relative;
}

.nav-menu > li > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--light-blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Nav shine effect for "Am I Losing Money?" */
.nav-shine {
  position: relative;
  overflow: hidden;
}

.nav-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.15), transparent);
  animation: navShine 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes navShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.nav-menu > li > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-menu a:hover {
  color: var(--light-blue-600);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-arrow {
  font-size: 0.6rem;
  margin-left: 4px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px !important;
  font-size: 0.85rem !important;
  color: var(--gray-600) !important;
  background: none !important;
  border-radius: 0 !important;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--light-blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.dropdown-menu li a:hover {
  background: none !important;
  color: var(--light-blue-600) !important;
  padding-left: 20px !important;
}

.dropdown-menu li a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: transparent !important;
  color: var(--light-blue-500) !important;
  border: 2px solid var(--light-blue-500) !important;
  border-radius: 10px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

.nav-cta:hover {
  background: var(--light-blue-500) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  padding-top: var(--nav-height) !important;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-blue-50) 50%, var(--light-blue-100) 100%) !important;
  position: relative !important;
}


/* Floating lines background */
.floating-lines-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: auto;
}

.floating-lines-bg canvas {
  pointer-events: auto;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 60px 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Dark hero with threads background */
.hero-dark {
  background: #0f172a !important;
  position: relative !important;
}

.hero-dark .hero-title,
.hero-dark .hero-title .bt-word {
  color: #ffffff;
}

.hero-dark .hero-title .highlight {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-dark .hero-subtitle,
.hero-dark .hero-subtitle .st-char {
  color: rgba(255, 255, 255, 0.7);
}

.hero-dark .hero-subtitle .highlight-text {
  color: #38bdf8;
}

.hero-dark .founder-name {
  color: #ffffff;
}

.hero-dark .founder-title {
  color: rgba(255, 255, 255, 0.5);
}

.hero-dark .founder-avatar {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-dark .btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border-color: #0ea5e9;
}

.hero-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.threads-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent 0%, #f7f5ff 100%);
  z-index: 2;
  pointer-events: none;
}

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


.hero-centered {
  display: flex !important;
  justify-content: center;
  grid-template-columns: none;
}

.hero-content-center {
  text-align: center;
  max-width: 720px;
}

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

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

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.highlight {
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Blur text animation for hero title - styles applied via JS */

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--light-blue-400);
  box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.15), 0 0 20px rgba(14, 165, 233, 0.1);
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.founder-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
}

.founder-title {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-visual {
  margin: 16px 0 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-bottom: 32px;
}

/* Hero subtitle highlights */
.highlight-text {
  color: var(--light-blue-500);
  font-weight: 700;
}

/* Per-character fade text effect */
.hero-subtitle .st-word {
  display: inline-block;
  white-space: nowrap;
}

.hero-subtitle .st-char {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-subtitle .st-char.visible {
  opacity: 1;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* Hero Visual - Globe */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroGlobe {
  width: 500px;
  height: 500px;
  display: block;
  cursor: grab;
  touch-action: none;
}

#heroGlobe:active {
  cursor: grabbing;
}

/* ================================================
   HERO BOTTOM STRIP - COMPACT AI PARTNERS
   ================================================ */
.hero-bottom-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--gray-200);
  padding: 20px 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-strip-logos {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.hero-strip-logos .marquee-wrapper {
  margin-top: 0;
}

.hero-strip-logos .marquee-item {
  padding: 0 28px;
}

.hero-strip-logos img.ai-logo-icon {
  height: 24px !important;
}

/* ================================================
   AI PARTNERS - INFINITE SCROLL MARQUEE
   ================================================ */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 12px;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 50px;
}

/* All logos: same height, auto width, no overrides needed - images are pre-trimmed */
img.ai-logo-icon {
  height: 32px !important;
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0;
  object-fit: contain !important;
  display: block !important;
  mix-blend-mode: multiply;
}

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

/* ================================================
   INDUSTRIES SERVED
   ================================================ */
.industries {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  overflow: hidden;
}

/* --- Clean Industry Grid --- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ind-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.ind-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.ind-body {
  padding: 20px;
}

.ind-body h3 {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.ind-tagline {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.5;
}

.ind-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ind-bullets li {
  font-family: 'Manrope', var(--font-family);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ind-bullets li i {
  color: #10b981;
  font-size: 0.65rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ind-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ind-img {
    height: 140px;
  }
}

.industries-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.industries-scroll::-webkit-scrollbar {
  display: none;
}

.industries-scroll .industry-flip-card {
  flex-shrink: 0;
  width: 280px;
  min-height: 200px;
  scroll-snap-align: start;
}

.industries-also {
  text-align: center;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-top: 32px;
  padding: 0 24px;
}

.industries-also a {
  color: var(--light-blue-500);
  font-weight: 600;
  text-decoration: none;
}

.industries-also a:hover {
  text-decoration: underline;
}

/* Legacy grid - kept for reference */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}

/* Background image layer for zoom effect */
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.industry-card:hover::before {
  transform: scale(1.15);
}

/* Staggered slide-in from alternating sides */
.industry-card.animate-target {
  opacity: 0;
}

.industry-card.animate-target:nth-child(odd) {
  transform: translateX(-60px) translateY(30px) rotate(-2deg);
}

.industry-card.animate-target:nth-child(even) {
  transform: translateX(60px) translateY(30px) rotate(2deg);
}

.industry-card.animate-target.animate-in {
  opacity: 1;
  transform: translateX(0) translateY(0) rotate(0deg);
}

.industry-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 55%, rgba(15, 23, 42, 0.1) 100%);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 55%, transparent 100%);
  transition: background 0.5s ease;
  z-index: 1;
}

.industry-content {
  position: relative;
  z-index: 3;
  padding: 24px;
  width: 100%;
  transition: transform 0.4s ease;
}

.industry-card:hover .industry-content {
  transform: translateY(-4px);
}

/* Flip Card Structure */
.industry-flip-card {
  perspective: 1000px;
  min-height: 200px;
  cursor: pointer;
}

/* Mobile scroll zoom effect */
@media (max-width: 768px) {
  .industry-flip-card {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .industry-flip-card.animate-in {
    opacity: 1;
    transform: scale(1);
  }
  .hero-strip-inner {
    flex-direction: column;
    gap: 10px;
  }
  .hero-strip-label {
    font-size: 0.65rem;
  }
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.industry-flip-card.flipped .flip-card-inner {
  transform: rotateX(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius);
}

.flip-card-front {
  z-index: 2;
}

.flip-card-back {
  background: #fafbfc;
  border: 1px solid var(--gray-100);
  transform: rotateX(180deg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.flip-card-back h3 {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-align: center;
}

/* Legacy slide dots - no longer used */
.slide-dots {
  display: none;
}

/* Corner peel hint - removed in favor of circular flip button */
.flip-card-front::after {
  display: none;
}

/* Flip button */
.flip-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.flip-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.1);
  color: #fff;
}

.flip-btn-back {
  position: relative;
  top: auto;
  right: auto;
  align-self: flex-end;
  background: var(--light-blue-500);
  border: 1px solid var(--light-blue-400);
  color: #fff;
  margin-bottom: 8px;
  backdrop-filter: none;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.flip-btn-back:hover {
  background: var(--light-blue-600);
  border-color: var(--light-blue-500);
}

/* Card Pages (With/Without toggle) */
.card-pages {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.card-page {
  display: none;
  padding: 8px 0;
}

.card-page.active {
  display: block;
  animation: pageFadeIn 0.3s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.card-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-page ul li {
  font-family: 'Manrope', var(--font-family);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 10px 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-page ul li:last-child {
  border-bottom: none;
}

.card-page ul li i {
  font-size: 0.7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.card-page-with ul li i {
  color: #10b981;
}

.card-page-without ul li i {
  color: #ef4444;
}

/* Page toggle tabs */
.page-toggle {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-top: 12px;
}

.page-tab {
  flex: 1;
  padding: 8px 0;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--gray-50);
  color: var(--gray-400);
}

.page-tab.active {
  background: var(--light-blue-500);
  color: white;
}

.page-tab:first-child {
  border-right: 1px solid var(--gray-200);
}

.page-tab:hover:not(.active) {
  background: var(--gray-100);
  color: var(--gray-600);
}

.industry-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.industry-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 16%;
  right: 16%;
  height: 3px;
  background: linear-gradient(90deg, var(--light-blue-200), var(--light-blue-400), var(--light-blue-200));
  z-index: 0;
  border-radius: 2px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  border-color: var(--light-blue-300);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-600));
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
  position: relative;
  z-index: 2;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--light-blue-600);
  border: 2px solid var(--light-blue-100);
  transition: all 0.4s ease;
}

.step-card:hover .step-icon {
  background: var(--light-blue-100);
  border-color: var(--light-blue-300);
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ================================================
   SERVICES - NUMBERED LAYOUT WITH IMAGES
   ================================================ */
.services-numbered {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark) 0%, #1a1a2e 50%, var(--dark) 100%);
  color: var(--white);
}

.services-numbered .section-title {
  color: var(--white);
}

.services-numbered .section-subtitle {
  color: var(--gray-400);
  margin-bottom: 56px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-image {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-details {
  width: 100%;
  min-width: 0;
}

/* Right-aligned details for services 02 and 04 */
.service-details-right {
  text-align: right;
}

.service-details-right .service-num {
  margin-left: auto;
}

.service-details-right .service-badge-inline {
  float: right;
  clear: both;
}

.service-details-right .service-features {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.service-details-right .service-features li {
  flex-direction: row-reverse;
}

.service-details-right .btn {
  margin-left: auto;
}

.service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-row:hover .service-image img {
  transform: scale(1.05);
}

.service-num {
  font-size: 4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--light-blue-400);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

.service-badge-inline {
  display: inline-block;
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-600));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-details h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
}

.service-price {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.service-price span {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.service-setup {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.service-features {
  margin-top: 20px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.service-features li i {
  color: var(--light-blue-400);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-details .btn-primary {
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-600));
}

/* ================================================
   PROBLEMS & SOLUTIONS
   ================================================ */
.problems {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f8f8, #e8e8e8, #f8f8f8);
}

.problems .section-title {
  color: var(--dark);
}

.problems .section-subtitle {
  color: var(--gray-500);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--light-blue-200);
}

.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-blue-50), var(--light-blue-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.35rem;
  color: var(--light-blue-600);
}

.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ================================================
   VALUE PROPOSITIONS
   ================================================ */
.value-props {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark) 0%, #1e1e2e 50%, var(--dark) 100%);
}

.value-props .section-title {
  color: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--light-blue-400);
  background: rgba(255, 255, 255, 0.08);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.35rem;
  color: var(--white);
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ================================================
   ADDITIONAL SERVICES (PORTFOLIO)
   ================================================ */
.additional-services {
  padding: 80px 0;
  background: linear-gradient(180deg, #1a1a2e 0%, var(--dark) 100%);
}

.additional-services .section-title {
  color: var(--white);
}

.additional-services .section-subtitle {
  color: var(--gray-400);
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.suite-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
}

.suite-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--light-blue-400);
}

.suite-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.suite-card h3 i {
  color: var(--light-blue-500);
}

.suite-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 16px;
  position: relative;
}

.suite-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--light-blue-400);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.suite-card ul li:last-child {
  border-bottom: none;
}

/* ================================================
   PROFIT CALCULATOR
   ================================================ */
.calculator {
  padding: 80px 0;
}

.calculator-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

/* ── Calculator Wizard ── */
.calc-wizard {
  position: relative;
  overflow: hidden;
}

.calc-progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.calc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.calc-step-indicator {
  text-align: center;
  padding: 16px 24px 0;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-step {
  display: none;
  padding: 40px 40px 24px;
  text-align: center;
  animation: calcStepIn 0.35s ease;
}

.calc-step.active {
  display: block;
}

@keyframes calcStepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.calc-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.3rem;
  color: #0ea5e9;
}

.calc-step-question {
  display: block;
  font-family: 'Manrope', var(--font-family);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.calc-step-hint {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 500;
}

.calc-wizard-field {
  width: 100%;
  max-width: 320px;
  height: 60px;
  margin: 0 auto;
  display: block;
  padding: 0 20px;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  font-family: 'Manrope', var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
  -moz-appearance: textfield;
}

.calc-wizard-field::-webkit-outer-spin-button,
.calc-wizard-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-wizard-field:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
  background: #fff;
}

.calc-input-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
}

.calc-prefix, .calc-suffix {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-400);
  position: absolute;
  pointer-events: none;
}

.calc-prefix { left: 16px; }
.calc-suffix { right: 16px; }

.calc-input-prefix .calc-wizard-field {
  max-width: 100%;
}

.calc-nav {
  display: flex;
  justify-content: space-between;
  padding: 0 40px 32px;
}

.calc-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.calc-prev {
  background: var(--gray-100);
  color: var(--gray-500);
}

.calc-prev:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.calc-next {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}

.calc-next:hover {
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}

/* Summary/Results step */
.calc-summary-header h3 {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.calc-summary-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.calc-summary-label {
  color: var(--gray-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-summary-label i {
  color: #0ea5e9;
  font-size: 0.75rem;
  width: 16px;
}

.calc-summary-val {
  font-weight: 700;
  color: var(--dark);
}

.calc-results-wizard {
  max-width: 480px;
  margin: 0 auto 24px;
}

.calc-result-big {
  text-align: center;
  padding: 28px 24px;
  margin-bottom: 16px;
}

.calc-result-big .calc-result-label {
  font-family: 'Manrope', var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.calc-result-big .calc-result-number {
  font-family: 'Manrope', var(--font-family);
  font-size: 3.4rem;
  font-weight: 900;
  color: #0ea5e9;
  display: block;
  animation: calcPopIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both, calcPulse 2s ease-in-out 1s infinite;
}

@keyframes calcPopIn {
  0% { transform: scale(0); opacity: 0; }
  45% { transform: scale(1.3); opacity: 1; }
  65% { transform: scale(0.88); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes calcPulse {
  0% { transform: scale(1); }
  10% { transform: scale(1.08); }
  20% { transform: scale(0.97); }
  30% { transform: scale(1.04); }
  40% { transform: scale(1); }
  100% { transform: scale(1); }
}

.calc-result-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-result-sm {
  text-align: center;
  padding: 20px 16px;
  background: var(--gray-50);
  border-radius: 14px;
  border: 1px solid var(--gray-100);
}

.calc-result-sm .calc-result-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

.calc-result-sm .calc-result-number {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
}

.calc-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
  font-family: 'Manrope', var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.3);
  transition: box-shadow 0.2s;
  animation: calcPulse 2s ease-in-out 1s infinite;
}

.calc-cta-btn:hover {
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.45);
}

@media (max-width: 600px) {
  .calc-step {
    padding: 28px 20px 16px;
  }
  .calc-step-question {
    font-size: 1.15rem;
  }
  .calc-wizard-field {
    max-width: 100%;
    height: 52px;
    font-size: 1.3rem;
  }
  .calc-nav {
    padding: 0 20px 24px;
  }
  .calc-nav-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .calc-summary-inputs {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .calc-result-big .calc-result-number {
    font-size: 2rem;
  }
  .calc-result-sm .calc-result-number {
    font-size: 1.2rem;
  }
  .calc-result-row-pair {
    grid-template-columns: 1fr;
  }
  .calc-summary-header h3 {
    font-size: 1.2rem;
  }
}

/* ── Calculator Loading Screen ── */
#calcStepLoading {
  padding: 0 !important;
  position: relative;
  min-height: 300px;
}

#calcStepLoading .loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  background: linear-gradient(0deg, #1a3379, #0f172a, #000);
  border-radius: 14px;
}

.loader-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  font-family: "Inter", sans-serif;
  font-size: 1.1em;
  font-weight: 300;
  color: white;
  border-radius: 50%;
  background-color: transparent;
  user-select: none;
}

.loader-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: transparent;
  animation: loader-combined 2.3s linear infinite;
  z-index: 0;
}

@keyframes loader-combined {
  0% {
    transform: rotate(90deg);
    box-shadow: 0 6px 12px 0 #38bdf8 inset, 0 12px 18px 0 #005dff inset, 0 36px 36px 0 #1e40af inset, 0 0 3px 1.2px rgba(56,189,248,0.3), 0 0 6px 1.8px rgba(0,93,255,0.2);
  }
  25% {
    transform: rotate(180deg);
    box-shadow: 0 6px 12px 0 #0099ff inset, 0 12px 18px 0 #38bdf8 inset, 0 36px 36px 0 #005dff inset, 0 0 6px 2.4px rgba(56,189,248,0.3), 0 0 12px 3.6px rgba(0,93,255,0.2), 0 0 18px 6px rgba(30,64,175,0.15);
  }
  50% {
    transform: rotate(270deg);
    box-shadow: 0 6px 12px 0 #60a5fa inset, 0 12px 6px 0 #0284c7 inset, 0 24px 36px 0 #005dff inset, 0 0 3px 1.2px rgba(56,189,248,0.3), 0 0 6px 1.8px rgba(0,93,255,0.2);
  }
  75% {
    transform: rotate(360deg);
    box-shadow: 0 6px 12px 0 #3b82f6 inset, 0 12px 18px 0 #0ea5e9 inset, 0 36px 36px 0 #2563eb inset, 0 0 6px 2.4px rgba(56,189,248,0.3), 0 0 12px 3.6px rgba(0,93,255,0.2), 0 0 18px 6px rgba(30,64,175,0.15);
  }
  100% {
    transform: rotate(450deg);
    box-shadow: 0 6px 12px 0 #4dc8fd inset, 0 12px 18px 0 #005dff inset, 0 36px 36px 0 #1e40af inset, 0 0 3px 1.2px rgba(56,189,248,0.3), 0 0 6px 1.8px rgba(0,93,255,0.2);
  }
}

.loader-letter {
  display: inline-block;
  opacity: 0.4;
  transform: translateY(0);
  animation: loader-letter-anim 2.4s infinite;
  z-index: 1;
  border-radius: 50ch;
  border: none;
}

.loader-letter:nth-child(2) { animation-delay: 0s; }
.loader-letter:nth-child(3) { animation-delay: 0.1s; }
.loader-letter:nth-child(4) { animation-delay: 0.2s; }
.loader-letter:nth-child(5) { animation-delay: 0.3s; }
.loader-letter:nth-child(6) { animation-delay: 0.4s; }
.loader-letter:nth-child(7) { animation-delay: 0.5s; }
.loader-letter:nth-child(8) { animation-delay: 0.6s; }
.loader-letter:nth-child(9) { animation-delay: 0.7s; }
.loader-letter:nth-child(10) { animation-delay: 0.8s; }
.loader-letter:nth-child(11) { animation-delay: 0.9s; }
.loader-letter:nth-child(12) { animation-delay: 1s; }
.loader-letter:nth-child(13) { animation-delay: 1.1s; }

@keyframes loader-letter-anim {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  20% { opacity: 1; text-shadow: #f8fcff 0 0 5px; }
  40% { opacity: 0.7; transform: translateY(0); }
}

/* Legacy calc-inputs (keeping for compatibility) */
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}

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

.calc-group label {
  min-height: 40px;
  display: flex;
  align-items: flex-end;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.calc-field {
  width: 100%;
  height: 56px;
  padding: 0;
  border: 2px solid var(--light-blue-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'Manrope', var(--font-family);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -moz-appearance: textfield;
}

.calc-field::-webkit-outer-spin-button,
.calc-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-field:focus {
  border-color: var(--light-blue-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.calc-group input:not(.calc-field) {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-family);
  transition: border-color var(--transition);
  background: var(--gray-50);
}

.calc-group input:focus {
  outline: none;
  border-color: var(--light-blue-400);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* --- Scroll Picker --- */
.scroll-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.picker-arrow {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.7rem;
}

.picker-up {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: none;
}

.picker-down {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: none;
}

.picker-arrow:hover {
  background: var(--light-blue-50);
  color: var(--light-blue-500);
}

.picker-arrow:active {
  background: var(--light-blue-100);
}

.picker-display {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--light-blue-300);
  position: relative;
  cursor: pointer;
}

.picker-input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  text-align: center;
  font-family: 'Manrope', var(--font-family);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
}

.picker-value {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  transition: transform 0.15s ease;
}

.picker-value.tick-up {
  animation: tickUp 0.15s ease;
}

.picker-value.tick-down {
  animation: tickDown 0.15s ease;
}

@keyframes tickUp {
  0% { transform: translateY(8px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes tickDown {
  0% { transform: translateY(-8px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

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

.calc-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.calc-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--light-blue-600);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--white), var(--light-blue-50));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-wrapper {
  position: relative;
  z-index: 10;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: border-color var(--transition);
  background: var(--gray-50);
  color: var(--dark);
}

/* ── Custom Dropdown (Wraptors-style) ── */
.cf-dropdown {
  position: relative;
}

.cf-dd-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 14px;
  height: 46px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cf-dd-trigger:hover {
  border-color: var(--gray-300);
}

.cf-dropdown.open .cf-dd-trigger {
  border-color: var(--light-blue-400);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.cf-dd-icon {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color 0.2s;
}

.cf-dropdown.open .cf-dd-icon {
  color: var(--light-blue-500);
}

.cf-dd-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-dd-text.placeholder {
  color: var(--gray-400);
}

.cf-dd-arrow {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.25s ease;
}

.cf-dropdown.open .cf-dd-arrow {
  transform: rotate(180deg);
  color: var(--light-blue-500);
}

.cf-dd-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--light-blue-300);
  border-radius: var(--radius-sm);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
  opacity: 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.cf-dropdown.open .cf-dd-panel {
  max-height: 220px;
  opacity: 1;
  overflow-y: auto;
}

.cf-dd-list {
  padding: 6px;
}

.cf-dd-opt {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.12s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cf-dd-opt:hover {
  background: var(--light-blue-50);
  color: var(--dark);
}

.cf-dd-opt.active {
  background: var(--light-blue-50);
  color: var(--light-blue-600);
  font-weight: 600;
}

.cf-dd-check {
  width: 16px;
  height: 16px;
  color: var(--light-blue-500);
  opacity: 0;
  flex-shrink: 0;
}

.cf-dd-opt.active .cf-dd-check {
  opacity: 1;
}

.cf-dd-panel::-webkit-scrollbar { width: 6px; }
.cf-dd-panel::-webkit-scrollbar-track { background: transparent; }
.cf-dd-panel::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }
.cf-dd-panel::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

.form-group input::placeholder {
  color: var(--gray-300);
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-blue-400);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background: var(--white);
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--light-blue-500);
  cursor: pointer;
}

/* Contact Info */
.info-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

/* ── Contact Card ── */
.info-card-dark {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
}

.icd-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.icd-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #0ea5e9;
}

.icd-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icd-name {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.icd-title {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.icd-status {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.icd-status i {
  font-size: 0.45rem;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.icd-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.icd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

a.icd-row:hover {
  color: #0ea5e9;
}

.icd-row i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f9ff;
  border-radius: 8px;
  color: #0ea5e9;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.icd-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border: 1px solid #fde68a;
  border-radius: 12px;
  margin-top: auto;
}

.icd-badge i {
  color: #f59e0b;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
}

.icd-badge.bolt-animate i {
  animation: boltShock 0.6s ease 0s 1, boltGlow 1.5s ease 0.6s 1, boltPulse 2s ease-in-out 2.2s infinite;
}

@keyframes boltPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4)); }
  15% { transform: scale(1.3); filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.8)); }
  30% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4)); }
  100% { transform: scale(1); }
}

@keyframes boltGlow {
  0% { text-shadow: 0 0 0 transparent; }
  30% { text-shadow: 0 0 8px #f59e0b, 0 0 16px #f59e0b; }
  60% { text-shadow: 0 0 4px #f59e0b; }
  100% { text-shadow: 0 0 0 transparent; }
}

@keyframes boltShock {
  0% { transform: translate(0, 0) rotate(0); color: #f59e0b; }
  10% { transform: translate(-2px, -1px) rotate(-8deg); color: #fbbf24; }
  20% { transform: translate(2px, 1px) rotate(6deg); color: #fde68a; }
  30% { transform: translate(-1px, -2px) rotate(-4deg); color: #fff; }
  40% { transform: translate(1px, 2px) rotate(8deg); color: #fbbf24; }
  50% { transform: translate(-2px, 0) rotate(-6deg); color: #fde68a; }
  60% { transform: translate(2px, -1px) rotate(4deg); color: #f59e0b; }
  70% { transform: translate(0, 1px) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(0); color: #f59e0b; }
}

.icd-badge span {
  font-family: 'Manrope', var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
}

.info-card-video {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border: none;
  min-height: 100%;
  height: 100%;
}

.info-card-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.info-card-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.8) 100%);
  z-index: 1;
}

.info-card-video .info-item {
  position: relative;
  z-index: 2;
  border-bottom: none;
}

.info-card-video .info-item > i {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-blue-400);
}

.info-card-video .info-item h4 {
  color: var(--gray-400);
}

.info-card-video .info-item p {
  color: var(--white);
}

.info-card-video .info-item p a {
  color: var(--light-blue-400);
}

.info-card-video .status-available > i {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: none;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item > i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-blue-600);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--dark);
}

.info-item p a {
  color: var(--light-blue-600);
}

.info-item p a:hover {
  text-decoration: underline;
}

.status-available > i {
  color: #10b981;
  background: #ecfdf5;
  font-size: 0.6rem;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-logo .nav-tagline {
  color: var(--gray-500);
}

/* Schedule Demo form inherits contact form styles */
.feat-demo-form .form-group {
  margin-bottom: 12px;
}

.feat-demo-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.feat-demo-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feat-demo-form input:focus {
  outline: none;
  border-color: var(--light-blue-400);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Form field flash animation */
@keyframes fieldFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
  25% { box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.3); }
  50% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
  75% { box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.3); }
}

@keyframes btnFlash {
  0%, 100% { box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25); }
  25% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.3), 0 4px 15px rgba(14, 165, 233, 0.25); }
  50% { box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25); }
  75% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.3), 0 4px 15px rgba(14, 165, 233, 0.25); }
}

.field-flash {
  animation: fieldFlash 1.5s ease;
}

.btn-flash {
  animation: btnFlash 1.5s ease;
}

.footer-brand .logo-connect {
  color: var(--white);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-partners h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-200);
  margin-bottom: 16px;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.partner-link {
  position: relative;
  display: inline-block;
}

.partner-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
}

.partner-logo-gray {
  filter: grayscale(1) brightness(0.7) invert(0.5);
}

/* Tooltip bubble */
.partner-link::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.partner-link:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-200);
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--light-blue-400);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ================================================
   REVIEWS - VERTICAL SCROLLING COLUMNS (Realm style)
   ================================================ */
.reviews-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--light-blue-50), var(--white));
  overflow: hidden;
}

.review-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  height: 600px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.review-col {
  overflow: hidden;
  position: relative;
}

.review-col__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-col--up .review-col__track {
  animation: rv-scroll-up 35s linear infinite;
}

.review-col--down .review-col__track {
  animation: rv-scroll-down 35s linear infinite;
}

/* Slow down on hover */
.review-columns:hover .review-col__track {
  animation-duration: 120s;
}

@keyframes rv-scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes rv-scroll-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.rv-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.rv-card:hover {
  border-color: var(--light-blue-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.rv-header {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.rv-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.rv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.rv-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  border-radius: 50%;
}

.rv-meta {
  display: flex;
  flex-direction: column;
  margin-left: 12px;
}

.rv-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.rv-handle {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.rv-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.rv-stars i {
  color: #f59e0b;
  font-size: 0.7rem;
}

.rv-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #10b981;
  margin-top: 10px;
}

.rv-verified i {
  font-size: 0.6rem;
}

.rv-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .review-columns {
    grid-template-columns: 1fr;
    height: 500px;
  }
  .review-col:nth-child(2),
  .review-col:nth-child(3) { display: none; }
  .review-col--up .review-col__track {
    animation-duration: 25s;
  }
}

/* ================================================
   PORTFOLIO
   ================================================ */
.portfolio-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  overflow: hidden;
  position: relative;
}

.portfolio-section::before,
.portfolio-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  z-index: 2;
  pointer-events: none;
}

.portfolio-section::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, #f0f9ff 50%, transparent 100%);
}

.portfolio-section::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, #e0f2fe 50%, transparent 100%);
}

.portfolio-section .section-title {
  color: #0f172a;
}

.portfolio-section .section-subtitle {
  color: #64748b;
}

/* --- Portfolio Interactive Selector --- */
.pf-selector {
  display: flex;
  flex: 1;
  max-width: 1000px;
  margin: 0;
  height: 420px;
  padding: 0;
  gap: 0;
  will-change: transform;
}

.pf-option {
  flex: 1 1 0%;
  min-width: 60px;
  position: relative;
  background-size: auto 120%;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1), background-size 0.7s ease, box-shadow 0.7s ease;
  border: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pf-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.pf-option:first-child { border-radius: 16px 0 0 16px; }
.pf-option:last-child { border-radius: 0 16px 16px 0; }

.pf-option.active {
  flex: 7 1 0%;
  background-size: auto 100%;
  border-color: var(--light-blue-400);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 10;
}

.pf-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 120px;
  pointer-events: none;
  transition: all 0.7s ease;
}

.pf-option.active .pf-shadow {
  bottom: 0;
  box-shadow: inset 0 -120px 120px -120px #000, inset 0 -120px 120px -80px #000;
}

.pf-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 2;
  pointer-events: none;
}

.pf-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(32, 32, 32, 0.85);
  backdrop-filter: blur(10px);
  border: 2px solid #444;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.pf-info {
  white-space: nowrap;
  overflow: hidden;
}

.pf-title {
  font-family: 'Manrope', var(--font-family);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.pf-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}

.pf-option.active .pf-title,
.pf-option.active .pf-desc {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .pf-selector {
    height: 320px;
    padding: 0 16px;
  }
  .pf-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.85rem;
  }
  .pf-title { font-size: 0.9rem; }
  .pf-desc { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .pf-selector {
    height: 260px;
    padding: 0 12px;
  }
  .pf-option { min-width: 40px; }
  .pf-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.75rem;
    border-width: 1px;
  }
  .pf-title { font-size: 0.8rem; }
  .pf-desc { font-size: 0.7rem; }
  .pf-label { gap: 8px; padding: 0 10px; bottom: 10px; }
}

/* Portfolio wrapper with arrows on sides */
.pf-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px;
}

/* Legacy nav - no longer used */
.pf-nav {
  display: none;
}

.pf-arrow {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 0.8rem;
  transition: all 0.2s;
  flex-shrink: 0;
  align-self: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pf-arrow:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: #fff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

/* "View Project" button on active card */
.pf-view-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(14, 165, 233, 0.9);
  color: #fff;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-left: auto;
}

.pf-option.active .pf-view-btn {
  display: inline-flex;
}

.pf-view-btn:hover {
  background: #0284c7;
  transform: scale(1.05);
}

/* Mobile portfolio nav */
.pf-mobile-nav {
  display: none;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .pf-wrapper .pf-arrow {
    display: none;
  }
  .pf-mobile-nav {
    display: flex;
  }
  .pf-wrapper {
    padding: 0 16px;
  }
  .pf-selector {
    width: 100%;
  }
}

/* Portfolio Modal */
.pf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pf-modal-overlay.show {
  display: flex;
}

.pf-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.pf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.pf-modal-title {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.pf-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.pf-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pf-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(85vh - 80px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-modal-body img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pf-modal-placeholder {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 60px 0;
}

@media (max-width: 600px) {
  .pf-modal {
    border-radius: 16px;
    max-height: 90vh;
  }
  .pf-modal-body {
    padding: 16px;
  }
}

/* Legacy scroll gallery */
/* --- Portfolio Infinite Scroll Gallery --- */
.portfolio-scroll-container {
  width: 100%;
  overflow: hidden;
  margin-top: 48px;
  mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.portfolio-scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: portfolioScroll 25s linear infinite;
}

.portfolio-scroll-track:hover {
  animation-play-state: paused;
}

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

.portfolio-scroll-item {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-scroll-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.2);
}

.portfolio-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.portfolio-scroll-item:hover img {
  filter: brightness(1.1);
}

.portfolio-scroll-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-scroll-item:hover .portfolio-scroll-label {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-scroll-label h3 {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.portfolio-scroll-label p {
  font-family: var(--font-family);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile sizes */
@media (max-width: 768px) {
  .portfolio-scroll-item {
    width: 240px;
    height: 240px;
  }
  .portfolio-scroll-track {
    gap: 16px;
  }
  .portfolio-scroll-container {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .portfolio-scroll-item {
    width: 200px;
    height: 200px;
    border-radius: 12px;
  }
  .portfolio-scroll-track {
    gap: 12px;
    animation-duration: 20s;
  }
}

/* --- Portfolio Expanding Cards --- */
.portfolio-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 380px;
  padding: 0 20px;
}

.portfolio-card {
  position: relative;
  height: 100%;
  width: 80px;
  flex-shrink: 0;
  transition: width 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.portfolio-card.active {
  width: 380px;
}

.portfolio-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  transition: all 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.portfolio-card:hover .portfolio-card-inner,
.portfolio-card.active .portfolio-card-inner {
  border-color: rgba(14, 165, 233, 0.3);
  background: #101b30;
}

/* Small icon shown when collapsed */
.portfolio-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 500ms ease;
  opacity: 1;
}

.portfolio-card-icon svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.portfolio-card:hover .portfolio-card-icon,
.portfolio-card.active .portfolio-card-icon {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.15);
}

/* Expanded content */
.portfolio-card-expanded {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 500ms ease 200ms, transform 500ms ease 200ms;
  pointer-events: none;
  padding: 24px;
  text-align: center;
}

.portfolio-card.active .portfolio-card-expanded {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.portfolio-card.active .portfolio-card-icon {
  opacity: 0;
  transform: scale(0.5);
}

.portfolio-card-expand-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.portfolio-card-expand-icon svg {
  color: rgba(255, 255, 255, 0.6);
}

.portfolio-card-name {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
  white-space: nowrap;
}

.portfolio-card-type {
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* ================================================
   REFERRAL PROMO
   ================================================ */
.referral-promo {
  padding: 60px 0;
  background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 50%, #f0f0f0 100%);
}

.referral-card {
  background: var(--white);
  border: 2px dashed var(--light-blue-400);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.referral-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-blue-500), var(--light-blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.referral-content {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.referral-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.referral-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.referral-content strong {
  color: var(--light-blue-600);
  font-weight: 700;
}

.referral-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark), #1a1a2e);
  flex-shrink: 0;
}

.referral-percent {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--light-blue-400);
  line-height: 1;
}

.referral-off {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ================================================
   CALL TO ACTION SECTION
   ================================================ */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: var(--white);
  border-color: #0ea5e9;
}

.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

.cta-section .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ── FAQ Section ── */
.faq-section {
  padding: 80px 0;
  background: #fff;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  gap: 16px;
}

.faq-icon {
  color: var(--light-blue-500);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .faq-question {
    font-size: 0.95rem;
    padding: 16px 18px;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.open .faq-answer {
    padding: 0 18px 16px;
  }
}

.cta-pricing-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  font-style: italic;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.cta-trust-item i {
  color: var(--white);
  font-size: 0.85rem;
}

/* ================================================
   PAIN STATS — SPLIT-SCREEN SCROLL REVEAL
   ================================================ */
.pain-stats-section {
  padding: 0;
  background: #fafbfc;
}

.pain-stats-split {
  display: flex;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
}

/* Left side: sticky headline */
.pain-stats-left {
  width: 42%;
  padding: 120px 0 120px 48px;
  position: sticky;
  top: 80px;
  height: fit-content;
  align-self: flex-start;
}

.pain-stats-title {
  font-family: 'Manrope', var(--font-family);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--dark);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.1;
}

.pain-stats-title span {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pain-stats-subtitle {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 380px;
}

.pain-stats-btn {
  display: inline-block;
  background: #0ea5e9;
  color: #fff;
  font-family: 'Manrope', var(--font-family);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 40px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.pain-stats-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

/* Right side: stat rows */
.pain-stats-right {
  width: 58%;
  padding: 120px 48px 120px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-stat-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 36px 0;
  border-bottom: 1px solid #e8ecf1;
  min-height: 140px;
}

.pain-stat-row:first-child {
  border-top: 1px solid #e8ecf1;
}

.pain-stat-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  border-radius: 14px;
}

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

.pain-highlight {
  text-decoration: none;
  background-image: linear-gradient(#38bdf8, #38bdf8);
  background-position: 0 calc(100% - 1px);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  padding-bottom: 2px;
}

.pain-stat-text {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.65;
  flex: 1;
}

.pain-stat-number {
  font-family: 'Inter', 'DM Sans', var(--font-family);
  font-weight: 800;
  font-size: 1.5rem;
  color: #dc2626;
  margin-right: 4px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pain-stat-bracket {
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
}

/* Scroll reveal animation */
.pain-stat-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pain-stat-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Char-by-char text reveal --- */
.char-reveal {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.3s ease, filter 0.3s ease;
  transition-delay: calc(var(--ci) * 16ms);
}

.pain-stat-reveal.visible .char-reveal {
  opacity: 1;
  filter: blur(0px);
}

/* --- Animated icon styles --- */

/* Phone shake */
.anim-phone-shake { transform-origin: 12px 12px; }
.pain-stat-reveal.visible .anim-phone-shake {
  animation: phoneShake 0.6s ease 0.3s;
}
@keyframes phoneShake {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}

/* X lines draw in */
.anim-x1, .anim-x2 {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.pain-stat-reveal.visible .anim-x1 {
  animation: drawStroke 0.35s ease 0.7s forwards;
}
.pain-stat-reveal.visible .anim-x2 {
  animation: drawStroke 0.35s ease 0.9s forwards;
}

/* Dollar body wobble */
.pain-stat-reveal.visible .anim-dollar-body {
  animation: dollarPulse 0.5s ease 0.3s;
}
@keyframes dollarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Slash line draw */
.anim-slash-draw {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
}
.pain-stat-reveal.visible .anim-slash-draw {
  animation: drawStroke 0.5s ease 0.6s forwards;
}

/* Calendar page flip */
.anim-cal-page { transform-origin: 12px 4px; }
.pain-stat-reveal.visible .anim-cal-page {
  animation: calFlip 0.8s ease 0.4s forwards;
}
@keyframes calFlip {
  0% { transform: rotateX(0); opacity: 0.15; }
  50% { transform: rotateX(-90deg); opacity: 0.08; }
  100% { transform: rotateX(-180deg); opacity: 0; }
}

/* Clock minute hand rotation + face pulse */
.anim-clock-minute { transform-origin: 12px 12px; }
.pain-stat-reveal.visible .anim-clock-minute {
  animation: clockSpin 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
@keyframes clockSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.anim-clock-face { transform-origin: 12px 12px; }
.pain-stat-reveal.visible .anim-clock-face {
  animation: clockPulse 0.25s ease 1s;
}
@keyframes clockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Person body fade before cross */
.pain-stat-reveal.visible .anim-person-body {
  animation: personFade 0.4s ease 0.3s;
}
@keyframes personFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Zigzag draw + arrow */
.anim-zigzag-line {
  stroke-dasharray: 55;
  stroke-dashoffset: 55;
  fill: none;
}
.pain-stat-reveal.visible .anim-zigzag-line {
  animation: drawStroke 1s ease 0.3s forwards;
}
.anim-zigzag-arrow {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  fill: none;
}
.pain-stat-reveal.visible .anim-zigzag-arrow {
  animation: drawStroke 0.3s ease 1.1s forwards;
}

/* Shared draw keyframe */
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .pain-stats-split {
    flex-direction: column;
    min-height: auto;
  }

  .pain-stats-left {
    width: 100%;
    position: relative;
    top: auto;
    padding: 60px 24px 32px;
    text-align: center;
  }

  .pain-stats-title {
    font-size: 2rem;
    text-align: center;
  }

  .pain-stats-subtitle {
    text-align: center;
  }

  .pain-stats-right {
    width: 100%;
    padding: 0 24px 60px;
  }

  .pain-stat-row {
    padding: 40px 0;
    gap: 14px;
  }

  .pain-stat-text {
    font-size: 0.95rem;
  }

  .pain-stat-number {
    font-size: 1.1rem;
  }

  .pain-stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .pain-stats-left {
    padding: 48px 20px 24px;
  }

  .pain-stats-title {
    font-size: 1.6rem;
  }

  .pain-stats-subtitle {
    font-size: 0.92rem;
  }

  .pain-stats-right {
    padding: 0 20px 48px;
  }

  .pain-stat-row {
    padding: 32px 0;
    gap: 12px;
  }

  .pain-stat-text {
    font-size: 0.88rem;
  }

  .pain-stat-icon {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }
}

/* ================================================
   THREE STEPS SECTION
   ================================================ */
.three-steps-section {
  padding: 100px 0;
  background: #fff;
}

.three-steps-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.three-steps-header {
  text-align: center;
  margin-bottom: 64px;
}

.three-steps-label {
  font-family: 'Manrope', var(--font-family);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #0ea5e9;
  display: block;
  margin-bottom: 12px;
}

.three-steps-title {
  font-family: 'Manrope', var(--font-family);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
}

.three-steps-stack {
  display: flex;
  flex-direction: row;
  gap: 60px;
}

/* Legacy - no longer used */
.three-steps-track {
  position: relative;
  display: flex;
  gap: 32px;
}

.three-steps-line {
  display: none;
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  opacity: 0.2;
  z-index: 0;
}

.three-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-100);
  position: relative;
  z-index: 1;
}

.three-step:last-child {
  border-right: none;
}

.step-num {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: #0ea5e9;
  color: #fff;
  font-family: 'Manrope', var(--font-family);
  font-weight: 800;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.3);
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(14, 165, 233, 0.15);
}

.step-body h3 {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-body p {
  font-family: var(--font-family);
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 480px;
  text-align: center;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0ea5e9;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  padding: 8px 20px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
  position: relative;
  z-index: 0;
}

.step-tag::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 26px;
  background: linear-gradient(90deg, transparent 0%, transparent 30%, #0ea5e9 50%, transparent 70%, transparent 100%);
  background-size: 200% 100%;
  animation: tagBorderSlide 3s ease-in-out infinite;
  z-index: -2;
}

.step-tag::after {
  content: '';
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  right: 1.5px;
  bottom: 1.5px;
  border-radius: 23px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  z-index: -1;
}

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

.step-tag i {
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
}

/* Step scroll reveal - one at a time */
.step-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.step-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: vertical stack */
@media (max-width: 768px) {
  .three-steps-stack {
    flex-direction: column;
  }

  .three-step {
    gap: 20px;
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .three-step:last-child {
    border-bottom: none;
  }

  .step-num {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 1.3rem;
  }

  .step-body h3 {
    font-size: 1.35rem;
  }

  .step-body p {
    font-size: 0.95rem;
    max-width: none;
  }

  .three-steps-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .three-steps-section {
    padding: 60px 0;
  }

  .three-steps-title {
    font-size: 1.6rem;
  }

  .three-steps-header {
    margin-bottom: 40px;
  }

  .three-steps-stack {
    gap: 32px;
    padding-left: 0;
  }

  .step-num {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .step-body h3 {
    font-size: 1.1rem;
  }

  .step-body p {
    font-size: 0.88rem;
  }
}

/* ================================================
   PAIN POINT CTA SECTION
   ================================================ */
.pain-point-cta {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, #fef2f2 25%, #fee2e2 50%, #fef2f2 75%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.pain-point-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fca5a5, transparent);
}

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

.pain-point-cta .section-title {
  color: var(--dark);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.pain-point-cta .section-subtitle {
  color: var(--gray-600);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 650px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}

.pain-card {
  background: var(--white);
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pain-card:hover::before {
  transform: scaleX(1);
}

.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.12);
  border-color: #fca5a5;
}

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.35rem;
  color: #ef4444;
  border: 2px solid #fecaca;
  transition: all 0.4s ease;
}

.pain-card:hover .pain-icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.1);
}

.pain-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.3;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.pain-stat {
  background: linear-gradient(135deg, #fef2f2, #fff7ed);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pain-stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ef4444;
  white-space: nowrap;
  line-height: 1;
}

.pain-stat-label {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.pain-cta-wrapper {
  text-align: center;
  background: var(--white);
  border: 2px solid var(--light-blue-300);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.1);
  position: relative;
  overflow: hidden;
}

.pain-cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--light-blue-400), var(--light-blue-600), var(--light-blue-400));
}

.pain-cta-wrapper h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.pain-cta-wrapper p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.pain-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive - Pain Point CTA */
@media (max-width: 1024px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .pain-point-cta {
    padding: 60px 0;
  }

  .pain-cta-wrapper {
    padding: 32px 24px;
  }

  .pain-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */

/* Base animation states */
.animate-target {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0) translateX(0) rotate(0deg) scale(1);
}

/* Slide from left */
.animate-from-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-from-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.animate-from-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-from-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.animate-scale-up {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale-up.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Fade up (gentle) */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-fade-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Suite cards get extra smooth entrance */
.suite-card.animate-target {
  transform: translateY(50px) scale(0.97);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.suite-card.animate-target.animate-in {
  transform: translateY(0) scale(1);
}

/* Industry cards - staggered slide-in from alternating sides */
.industry-card.animate-target {
  opacity: 0;
}

.industry-card.animate-target:nth-child(odd) {
  transform: translateX(-60px) translateY(30px) rotate(-2deg);
}

.industry-card.animate-target:nth-child(even) {
  transform: translateX(60px) translateY(30px) rotate(2deg);
}

.industry-card.animate-target.animate-in {
  opacity: 1;
  transform: translateX(0) translateY(0) rotate(0deg);
}

/* Pain cards - stagger from alternating sides */
.pain-card-animate {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pain-card-animate:nth-child(odd) {
  transform: translateX(-60px) translateY(20px);
}

.pain-card-animate:nth-child(even) {
  transform: translateX(60px) translateY(20px);
}

.pain-card-animate.animate-in {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Feature zigzag sections - alternating slide directions */
.feature-animate-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-animate-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-animate-left.animate-in,
.feature-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Calculator section */
.calc-animate {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.calc-animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* CTA section */
.cta-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Contact form & info */
.contact-animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-animate-left.animate-in,
.contact-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Referral card */
.referral-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.referral-animate.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Section title animations */
.title-animate {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.title-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid items */
.industries-grid .animate-target:nth-child(1) { transition-delay: 0.0s; }
.industries-grid .animate-target:nth-child(2) { transition-delay: 0.12s; }
.industries-grid .animate-target:nth-child(3) { transition-delay: 0.24s; }
.industries-grid .animate-target:nth-child(4) { transition-delay: 0.36s; }
.industries-grid .animate-target:nth-child(5) { transition-delay: 0.48s; }
.industries-grid .animate-target:nth-child(6) { transition-delay: 0.60s; }

.steps-grid .animate-target:nth-child(1) { transition-delay: 0.0s; }
.steps-grid .animate-target:nth-child(2) { transition-delay: 0.15s; }
.steps-grid .animate-target:nth-child(3) { transition-delay: 0.3s; }

.pain-grid .pain-card-animate:nth-child(1) { transition-delay: 0.0s; }
.pain-grid .pain-card-animate:nth-child(2) { transition-delay: 0.1s; }
.pain-grid .pain-card-animate:nth-child(3) { transition-delay: 0.2s; }
.pain-grid .pain-card-animate:nth-child(4) { transition-delay: 0.3s; }
.pain-grid .pain-card-animate:nth-child(5) { transition-delay: 0.4s; }
.pain-grid .pain-card-animate:nth-child(6) { transition-delay: 0.5s; }

/* ================================================
   RESPONSIVE BREAKPOINTS
   Covers: iPhone SE (375px), Galaxy S8+ (360px),
   Galaxy Z Fold 5 (344px), iPhone XR (414px),
   iPhone 12 Pro (390px), iPhone 14 Pro Max (430px),
   Pixel 7 (412px), Samsung Galaxy A51/71 (412px),
   Samsung Galaxy S20 Ultra (412px), Surface Duo (540px),
   iPad Mini (768px), iPad Air (820px), Nest Hub (1024x600),
   iPad Pro (1024px), Surface Pro 7 (912px),
   Asus Zenbook Fold (853px), Nest Hub Max (1280px)
   ================================================ */

/* Large tablets & small laptops: <= 1200px */
@media (max-width: 1300px) {
  .nav-menu a {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .nav-cta {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }

  .nav-logo {
    font-size: 1.25rem;
    margin-right: 12px;
  }

  .nav-logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-tagline {
    font-size: 0.42rem;
    letter-spacing: 1.5px;
  }

  .nav-menu {
    gap: 2px;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Tablets: Surface Pro 7, Asus Zenbook, iPad Pro, iPad Air, iPad Mini (<=1024px) */
@media (max-width: 1024px) {
  :root {
    --nav-height: 64px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 40px 20px;
  }

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

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

  #heroGlobe {
    width: 280px;
    height: 280px;
  }

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

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

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

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

/* Small tablets & large phones (<=768px) */
@media (max-width: 768px) {
  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  /* Mobile dropdown toggle */
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    border-radius: 8px;
    padding: 0;
    margin: 0 0 0 8px;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, padding 0.25s ease;
  }

  .nav-dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 8px 0;
  }

  .nav-dropdown.open .nav-arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu li a {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  /* Sections - mobile: always details first, image below, with spacing */
  .service-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }

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

  /* Force details always on top, image always below on mobile */
  .service-details {
    order: 1;
  }

  .service-image {
    order: 2;
  }

  /* Reset right-alignment on mobile */
  .service-details-right {
    text-align: left;
  }

  .service-details-right .service-num {
    margin-left: 0;
  }

  .service-details-right .service-badge-inline {
    float: none;
  }

  .service-details-right .service-features {
    align-items: flex-start;
  }

  .service-details-right .service-features li {
    flex-direction: row;
  }

  .service-details-right .btn {
    margin-left: 0;
  }

  .portfolio-cards {
    gap: 4px;
    height: 320px;
    padding: 0 12px;
  }

  .portfolio-card {
    width: 52px;
  }

  .portfolio-card.active {
    width: 280px;
  }

  .portfolio-card-inner {
    border-radius: 22px;
  }

  .portfolio-card-expand-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .portfolio-card-expand-icon svg {
    width: 26px;
    height: 26px;
  }

  .portfolio-card-name {
    font-size: 1rem;
  }

  .portfolio-card-type {
    font-size: 0.78rem;
  }

  .service-image img {
    height: 250px;
  }

  .service-num {
    font-size: 3rem;
  }

  .referral-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

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

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problems-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .calc-inputs {
    grid-template-columns: 1fr;
  }

  .calc-results {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

  .contact-form {
    padding: 24px;
  }

  .calculator-card {
    padding: 24px;
  }

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

  #heroGlobe {
    width: 220px;
    height: 220px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-trust {
    gap: 16px;
  }

  .industry-card {
    min-height: 220px;
  }

  /* --- Industry flip card back: page toggle on mobile --- */
  .flip-card-inner {
    min-height: 300px;
  }

  .flip-card-back {
    padding: 16px;
    overflow: hidden;
  }

  .flip-card-back h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .card-page ul li {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  /* Better flip button on mobile */
  .flip-btn {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .flip-btn-back {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
  }
}

/* Medium phones: iPhone 14 Pro Max (430px), iPhone XR (414px),
   Pixel 7 (412px), Samsung Galaxy S20 Ultra (412px),
   Samsung Galaxy A51/71 (412px), iPhone 12 Pro (390px) (<=480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-container {
    padding: 20px 16px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

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

  #heroGlobe {
    width: 180px;
    height: 180px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  .problems-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .service-card,
  .problem-card,
  .value-card {
    padding: 24px 20px;
  }

  .industry-card {
    min-height: 200px;
  }

  .cta-card {
    padding: 36px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .info-card {
    padding: 20px;
  }

  .marquee-item {
    padding: 0 30px;
  }

  img.ai-logo-icon {
    height: 28px !important;
  }

  .industries,
  .how-it-works,
  .services,
  .problems,
  .value-props,
  .additional-services,
  .calculator,
  .contact {
    padding: 50px 0;
  }

  .portfolio-cards {
    gap: 3px;
    height: 280px;
    padding: 0 8px;
  }

  .portfolio-card {
    width: 44px;
  }

  .portfolio-card.active {
    width: 220px;
  }

  .portfolio-card-inner {
    border-radius: 18px;
  }

  .portfolio-card-icon {
    width: 22px;
    height: 22px;
  }

  .portfolio-card-icon svg {
    width: 11px;
    height: 11px;
  }

  .portfolio-card-expand-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .portfolio-card-expand-icon svg {
    width: 22px;
    height: 22px;
  }

  .portfolio-card-name {
    font-size: 0.9rem;
  }

  .portfolio-card-type {
    font-size: 0.72rem;
  }
}

/* Small phones: iPhone SE (375px), Galaxy S8+ (360px), Galaxy Z Fold 5 (344px) (<=375px) */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .nav-logo {
    font-size: 1.25rem;
    gap: 6px;
  }

  .nav-logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-tagline {
    font-size: 0.45rem;
    letter-spacing: 2px;
  }

  .service-price span {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .calc-value {
    font-size: 1.5rem;
  }

  .founder-info {
    text-align: left;
  }

  .hero-founder {
    justify-content: flex-start;
    text-align: left;
  }
}

/* ================================================
   FEATURE ZIGZAG + WEBSITE BUILDER MOBILE FIXES
   ================================================ */

/* Tablet (768px-1024px): force single column on zigzag sections */
@media (max-width: 1024px) {
  #feat-website .max-w-6xl {
    grid-template-columns: 1fr !important;
  }
  #feat-website .md\:col-span-3,
  #feat-website .md\:col-span-2 {
    grid-column: span 1 !important;
  }
}

/* All phones and tablets (<=768px): zigzag single column + website builder fixes */
@media (max-width: 768px) {
  /* Prevent any horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  /* Force all zigzag feature grids to single column */
  #feat-crm > div,
  #feat-inbox > div,
  #feat-automations > div,
  #feat-calendar > div,
  #feat-textback > div,
  #feat-followups > div {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* =============================================
     MOBILE FEATURE SECTIONS — VIDEO ON TOP
     ============================================= */
  /* All feature grids: display flex column so order works */
  #feat-crm > div,
  #feat-inbox > div,
  #feat-automations > div,
  #feat-calendar > div,
  #feat-textback > div,
  #feat-followups > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* inbox, calendar, followups: text is first-child in DOM, video is last-child */
  #feat-inbox > div > div:nth-child(1) { order: 2 !important; }
  #feat-inbox > div > div:nth-child(2) { order: 1 !important; }
  #feat-calendar > div > div:nth-child(1) { order: 2 !important; }
  #feat-calendar > div > div:nth-child(2) { order: 1 !important; }
  #feat-followups > div > div:nth-child(1) { order: 2 !important; }
  #feat-followups > div > div:nth-child(2) { order: 1 !important; }

  /* crm, automations, textback: video is already first-child — reinforce */
  #feat-crm > div > div:nth-child(1) { order: 1 !important; }
  #feat-crm > div > div:nth-child(2) { order: 2 !important; }
  #feat-automations > div > div:nth-child(1) { order: 1 !important; }
  #feat-automations > div > div:nth-child(2) { order: 2 !important; }
  #feat-textback > div > div:nth-child(1) { order: 1 !important; }
  #feat-textback > div > div:nth-child(2) { order: 2 !important; }

  /* Feature section spacing */
  #feat-crm, #feat-inbox, #feat-automations,
  #feat-calendar, #feat-textback, #feat-followups {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Feature headings on mobile */
  #features h3 {
    font-size: 1.5rem !important;
  }

  #features p.text-lg {
    font-size: 0.9rem !important;
  }

  /* =============================================
     MOBILE HERO — Leave it alone, don't override
     ============================================= */

  /* =============================================
     MOBILE PAIN STATS
     ============================================= */
  .pain-stats-split {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
  }
  .pain-stats-left {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    padding: 24px 24px 40px !important;
  }
  .pain-stats-right {
    order: 1 !important;
    padding-top: 20px !important;
  }

  /* Website builder section */
  #feat-website {
    padding: 40px 16px !important;
  }

  #feat-website > div {
    grid-template-columns: 1fr !important;
  }

  #feat-website .md\:col-span-3 {
    min-height: 280px !important;
    padding: 32px 20px !important;
    position: relative;
  }

  #feat-website .max-w-\[280px\] {
    max-width: 100% !important;
  }

  #feat-website .md\:col-span-2 {
    padding: 24px !important;
  }

  /* Phone mockup on mobile - bottom right, small, out of the way */
  #feat-website .absolute.bottom-0 {
    display: block !important;
    right: 5px !important;
    bottom: 0 !important;
    height: 45% !important;
    opacity: 0.85;
  }
  #feat-website .absolute.bottom-0 > div {
    width: 70px !important;
    height: 150px !important;
    border-radius: 16px !important;
    border-width: 2px !important;
  }
  #feat-website .absolute.bottom-0 .phone-logo-img {
    width: 28px !important;
    height: 28px !important;
  }
  #feat-website .absolute.bottom-0 .phone-notch {
    width: 40px !important;
    height: 12px !important;
  }
  #feat-website .absolute.bottom-0 .phone-statusbar {
    display: none !important;
  }
  #feat-website .absolute.bottom-0 .phone-camera-ring {
    width: 14px !important;
    height: 14px !important;
  }
  #feat-website .absolute.bottom-0 .text-\[7px\] {
    font-size: 5px !important;
  }

  /* Pain stat rows on mobile */
  .pain-stat-row {
    min-height: 140px;
    padding: 32px 0;
  }

  /* Calculator field on mobile */
  .calc-field {
    font-size: 1.3rem;
    height: 48px;
  }

  /* Section header on features */
  #features header {
    padding: 40px 16px !important;
  }
  #features header h2 {
    font-size: 1.7rem !important;
  }

  /* Prevent wide elements from causing overflow */
  img, video, canvas, svg {
    max-width: 100%;
    height: auto;
  }
}

/* Medium phones (<=480px) - Samsung S25, iPhone 14 Pro Max, Pixel 7 */
@media (max-width: 480px) {
  #features h3 {
    font-size: 1.3rem !important;
  }

  /* Pain stat rows */
  .pain-stat-row {
    min-height: 120px;
    padding: 24px 0;
  }

  /* Three steps */
  .three-step {
    gap: 16px;
    padding: 24px 0;
  }

  .step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 1.2rem;
  }

  .step-body h3 {
    font-size: 1.2rem;
  }

  .step-body p {
    font-size: 0.9rem;
  }

  .step-tag {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  /* Website builder phone */
  #feat-website .absolute.bottom-0 {
    right: -30px !important;
  }
  #feat-website .absolute.bottom-0 > div {
    width: 100px !important;
    height: 220px !important;
    border-radius: 20px !important;
  }

  /* Hero globe smaller */
  #heroGlobe {
    width: 160px !important;
    height: 160px !important;
  }

  /* Ensure no horizontal overflow */
  .max-w-7xl {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Small phones: iPhone SE (375px), Galaxy S8+ (360px) */
@media (max-width: 375px) {
  #features h3 {
    font-size: 1.2rem !important;
  }

  #features header h2 {
    font-size: 1.4rem !important;
  }

  .pain-stat-row {
    min-height: 100px;
    padding: 20px 0;
  }

  /* Phone mockup even smaller */
  #feat-website .absolute.bottom-0 > div {
    width: 80px !important;
    height: 180px !important;
    border-radius: 16px !important;
  }

  #heroGlobe {
    width: 140px !important;
    height: 140px !important;
  }
}

/* Samsung S25 (393px) */
@media (max-width: 393px) {
  .hero-title {
    font-size: 1.5rem !important;
  }

  #features h3 {
    font-size: 1.2rem !important;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .three-steps-title {
    font-size: 1.5rem;
  }

  .pain-stats-title {
    font-size: 1.5rem;
  }

  .ind-body h3 {
    font-size: 1rem;
  }

  .ind-tagline {
    font-size: 0.8rem;
  }

  .ind-bullets li {
    font-size: 0.75rem;
  }
}

/* Galaxy Z Fold 5 (344px) */
@media (max-width: 344px) {
  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  #features h3 {
    font-size: 1.15rem !important;
  }

  .three-step {
    gap: 12px;
    padding: 20px 0;
  }

  .step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }
}

/* Landscape orientation for short-height devices like Nest Hub (600px height) */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 20px) 0 30px;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 10px 20px;
  }

  #heroGlobe {
    width: 160px;
    height: 160px;
  }
}

/* Surface Duo specific (540px wide, narrow dual screen) */
@media (min-width: 500px) and (max-width: 560px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Nest Hub Max and large landscape displays (1280px wide) */
@media (min-width: 1024px) and (max-height: 800px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }
}

/* Foldable open state / tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }

  #heroGlobe {
    width: 240px;
    height: 240px;
  }
}

/* High-DPI / Retina optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nav-toggle span {
    height: 2px;
  }
}

/* ── Realistic Phone Mockup ── */
.phone-realistic {
  position: relative;
  width: 220px;
  height: 450px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  border-radius: 40px;
  border: 3px solid #2a2a2a;
  box-shadow:
    inset 0 0 0 2px #111,
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}

/* Side buttons */
.phone-btn {
  position: absolute;
  background: linear-gradient(180deg, #3a3a3a, #222);
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.phone-btn-vol1 {
  left: -6px;
  top: 95px;
  width: 6px;
  height: 28px;
  border-radius: 3px 0 0 3px;
}

.phone-btn-vol2 {
  left: -6px;
  top: 135px;
  width: 6px;
  height: 28px;
  border-radius: 3px 0 0 3px;
}

.phone-btn-power {
  right: -6px;
  top: 115px;
  width: 6px;
  height: 45px;
  border-radius: 0 3px 3px 0;
}

/* Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-speaker {
  width: 40px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.phone-camera-lens {
  width: 12px;
  height: 12px;
  background: #0a0a0a;
  border-radius: 50%;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-camera-lens::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #38bdf8;
  border-right-color: #0ea5e9;
  animation: cameraRingSpin 2s linear infinite;
}

.phone-camera-dot {
  width: 4px;
  height: 4px;
  background: #1e3a5f;
  border-radius: 50%;
}

/* Screen */
.phone-screen {
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border-radius: 37px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  overflow: hidden;
}

.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 18px 0;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  font-family: -apple-system, system-ui, sans-serif;
  position: relative;
  z-index: 11;
}

.phone-status-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 30px);
}

.phone-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 6px 16px rgba(14, 165, 233, 0.2));
}

/* Phone mockup — mobile adjustments only */
@media (max-width: 768px) {
  #feat-website .absolute[style*="height: 65%"] {
    height: 38% !important;
  }
  /* Reduce camera lens size so it stays within notch */
  #feat-website .phone-camera-lens {
    width: 6px !important;
    height: 6px !important;
  }
  #feat-website .phone-camera-dot {
    width: 2px !important;
    height: 2px !important;
  }
  /* Ensure side buttons are visible */
  #feat-website .phone-btn {
    display: block !important;
  }
  /* Make logo more visible */
  #feat-website .phone-logo-img {
    width: 48px !important;
    height: 48px !important;
  }
}
@media (max-width: 480px) {
  #feat-website .absolute[style*="height: 65%"] {
    height: 33% !important;
    right: 12px !important;
  }
  #feat-website .phone-camera-lens {
    width: 5px !important;
    height: 5px !important;
  }
}
@media (max-width: 375px) {
  #feat-website .absolute[style*="height: 65%"] {
    height: 28% !important;
    right: 8px !important;
  }
}

/* Responsive phone sizes */
@media (max-width: 768px) {
  .phone-realistic {
    width: 140px;
    height: 290px;
  }
  .phone-frame { border-radius: 28px; border-width: 2px; }
  .phone-screen { border-radius: 26px; top: 2px; left: 2px; right: 2px; bottom: 2px; }
  .phone-notch { width: 80px; height: 20px; border-radius: 0 0 12px 12px; }
  .phone-speaker { width: 28px; height: 3px; }
  .phone-camera-lens { width: 8px; height: 8px; }
  .phone-camera-dot { width: 3px; height: 3px; }
  .phone-btn-vol1, .phone-btn-vol2 { width: 4px; height: 18px; left: -5px; }
  .phone-btn-power { width: 4px; height: 24px; right: -5px; }
  .phone-statusbar { font-size: 8px; padding: 24px 12px 0; }
  .phone-logo-img { width: 56px; height: 56px; border-radius: 14px; }
}

@media (max-width: 480px) {
  .phone-realistic { width: 120px; height: 250px; }
  .phone-frame { border-radius: 24px; }
  .phone-screen { border-radius: 22px; }
  .phone-notch { width: 64px; height: 16px; border-radius: 0 0 10px 10px; }
  .phone-logo-img { width: 44px; height: 44px; border-radius: 12px; }
}

@media (max-width: 375px) {
  .phone-realistic { width: 100px; height: 210px; }
  .phone-frame { border-radius: 20px; }
  .phone-screen { border-radius: 18px; }
  .phone-notch { width: 52px; height: 14px; }
}

/* ── Sticky Mobile CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 32px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.4);
  z-index: 990;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  white-space: nowrap;
}

.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-cta:hover {
  box-shadow: 0 8px 36px rgba(14, 165, 233, 0.5);
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
}

/* ── Exit Intent Popup ── */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.exit-popup-overlay.show {
  opacity: 1;
}

.exit-popup {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.exit-popup-overlay.show .exit-popup {
  transform: scale(1) translateY(0);
}

.exit-popup-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: #f59e0b;
}

.exit-popup h3 {
  font-family: 'Manrope', var(--font-family);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.exit-popup p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

.exit-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-popup-stay {
  padding: 14px 24px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Manrope', var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.exit-popup-stay:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
}

.exit-popup-leave {
  padding: 12px 24px;
  background: transparent;
  color: #94a3b8;
  border: none;
  font-family: 'Manrope', var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.exit-popup-leave:hover {
  color: #64748b;
}

/* Phone camera ring animation (Samsung S25 style) */
.phone-camera-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.phone-camera-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #38bdf8;
  border-right-color: #0ea5e9;
  animation: cameraRingSpin 2s linear infinite;
}

.phone-camera-ring::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(56, 189, 248, 0.3);
  border-left-color: rgba(14, 165, 233, 0.2);
  animation: cameraRingSpin 3s linear infinite reverse;
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }

  .animate-target {
    opacity: 1;
    transform: none;
  }
}
