/*
Theme Name: TappnGroww
Theme URI: https://tappngroww.com/
Author: TappnGroww
Description: Pixel-faithful WordPress conversion of the TappnGroww enterprise mobile growth site. On activation it creates every page, assigns the page templates, sets the front page and imports all images into the Media Library.
Version: 1.2.0
Requires at least: 5.8
Requires PHP: 7.4
License: Proprietary
Text Domain: tappngroww
*/

/* ===================================================
   TAPPNGROWW — Premium Performance Marketing Website
   Ultra-minimal, premium US-style design system
   =================================================== */

/* ---- 1. RESET & TOKENS ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #FF6B35;
  --orange-light: #FF8C55;
  --orange-dark: #E55A26;
  --amber: #FFB347;
  --amber-light: #FFD080;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F8F9FA;
  --gray-100: #F2F4F7;
  --gray-200: #E4E7EC;
  --gray-300: #CDD5DF;
  --gray-400: #98A2B3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1D2939;
  --gray-900: #101828;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-xs: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,0.1), 0 1px 2px rgba(16,24,40,0.06);
  --shadow-md: 0 4px 8px -2px rgba(16,24,40,0.1), 0 2px 4px -2px rgba(16,24,40,0.06);
  --shadow-lg: 0 12px 16px -4px rgba(16,24,40,0.08), 0 4px 6px -2px rgba(16,24,40,0.03);
  --shadow-xl: 0 20px 24px -4px rgba(16,24,40,0.08), 0 8px 8px -4px rgba(16,24,40,0.03);
  --shadow-2xl: 0 24px 48px -12px rgba(16,24,40,0.18);
  --shadow-orange: 0 8px 30px rgba(255,107,53,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- 2. TYPOGRAPHY ---- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.18);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 540px;
  text-align: center;
  margin: 0 auto;
  font-weight: 400;
}

.highlight, .title-accent {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ---- 3. BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition-spring);
  box-shadow: var(--shadow-orange);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255,107,53,0.4);
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 53, 0.04);
  color: var(--gray-800);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 107, 53, 0.35);
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 53, 0.08);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 13px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--gray-900); background: var(--gray-50); }

.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-full-form { width: 100%; justify-content: center; margin-top: 4px; }

/* ---- 4. LAYOUT ---- */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

/* ---- 5. NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: translateY(-1px) scale(1.02);
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}
.logo-accent { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  letter-spacing: -0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--gray-900); background: var(--gray-50); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  background: white;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  z-index: 999;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-size: 16.5px;
}
.mobile-menu a:hover { background: var(--gray-50); color: var(--orange); }

/* ---- 6. HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F5 50%, #FAFAF8 100%);
}

.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.3) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,179,71,0.25) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  top: 50%; left: 40%;
  animation-delay: 5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.2s forwards;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.4s forwards;
}
.title-line { display: block; color: var(--gray-900); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
  font-weight: 400;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.6s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.8s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--gray-200);
  opacity: 0;
  animation: fadeSlideUp 0.8s 1s forwards;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px 0 0;
}
.stat-item:last-child { padding-right: 0; }
.stat-value {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 1px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.01em;
  margin-left: 2px;
}
.stat-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--gray-200);
  margin: 0 32px 0 0;
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeSlideRight 1s 0.5s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  width: 100%;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}
.hero-img-wrapper:hover .hero-img { transform: scale(1.02); }

/* Large screen & Desktop hero enhancements */
@media (min-width: 992px) {
  .hero-container {
    max-width: 1340px;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 52px;
    padding: 90px 40px;
  }
  .hero-content {
    padding-left: 32px;
  }
  .hero-visual {
    transform: scale(1.1);
    transform-origin: center right;
  }
}

@media (min-width: 1200px) {
  .hero-container {
    max-width: 1440px;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    padding: 100px 48px;
  }
  .hero-content {
    padding-left: 48px;
  }
  .hero-visual {
    transform: scale(1.18);
    transform-origin: center right;
  }
}

@media (min-width: 1440px) {
  .hero-container {
    max-width: 1560px;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 72px;
    padding: 110px 56px;
  }
  .hero-content {
    padding-left: 64px;
  }
  .hero-visual {
    transform: scale(1.26);
    transform-origin: center right;
  }
}

.hero-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,107,53,0.2), transparent, rgba(255,179,71,0.1));
  pointer-events: none;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeSlideUp 1s 1.5s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--orange));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 40px; }
  50% { opacity: 1; height: 56px; }
}
.hero-scroll-indicator span {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- 7. ESTEEMED CLIENTS & SCALED CAMPAIGNS MARQUEE ---- */
.marquee-section {
  padding: clamp(48px, 6vh, 72px) 0 clamp(40px, 5vh, 60px);
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 53, 0.05) 0%, transparent 70%), #FAFBFC;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  position: relative;
}

.marquee-header-wrap {
  text-align: center;
  max-width: 860px;
  margin: 0 auto clamp(26px, 3.8vh, 38px);
  padding: 0 20px;
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.marquee-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25);
  animation: pulseMarqueeDot 2s infinite ease-in-out;
}

@keyframes pulseMarqueeDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.marquee-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.marquee-headline span {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9055 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marquee-subtext {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.marquee-track {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0 16px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60px, #000 calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.marquee-inner {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  width: max-content;
  animation: marqueeScroll 48s linear infinite;
  will-change: transform;
  align-items: center;
}

.marquee-track:hover .marquee-inner {
  animation-play-state: paused;
}

.client-card {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 12px 22px 12px 14px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04), 0 1px 2px rgba(16, 24, 40, 0.02);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  user-select: none;
  flex-shrink: 0;
  min-width: 275px;
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: 0 12px 24px -4px rgba(255, 107, 53, 0.16), 0 4px 10px rgba(16, 24, 40, 0.06);
  background: #FFFFFF;
}

.client-logo-box {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.client-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.client-card:hover .client-logo-img {
  transform: scale(1.08);
}

.client-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.client-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.client-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  white-space: nowrap;
  line-height: 1.25;
}

.client-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10B981;
  flex-shrink: 0;
}

.client-category {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
  line-height: 1.3;
}

.client-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--orange-dark);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.16);
  padding: 1.5px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 3px;
  width: fit-content;
  letter-spacing: 0.02em;
}

.marquee-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 36px);
  margin-top: clamp(28px, 4vh, 38px);
  padding: 0 20px;
}

.marquee-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

.marquee-stat-chip .stat-highlight {
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-display);
}

.marquee-stat-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-300);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .marquee-section {
    padding: 36px 0 32px;
  }
  .client-card {
    min-width: 245px;
    padding: 10px 16px 10px 12px;
    gap: 13px;
  }
  .client-logo-box {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }
  .client-name {
    font-size: 14px;
  }
  .client-category {
    font-size: 11px;
  }
  .marquee-stats-strip {
    gap: 12px 18px;
  }
  .marquee-stat-divider {
    display: none;
  }
}

/* ---- 8. SOLUTIONS ---- */
.solutions { background: var(--white); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.solution-card:hover {
  border-color: rgba(255,107,53,0.2);
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.solution-card:hover::before { opacity: 1; }

.solution-card-large {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFF8F5 0%, #FFFFFF 100%);
  border-color: rgba(255,107,53,0.15);
}
.solution-card-large::before { opacity: 1; }

.solution-icon {
  width: 52px; height: 52px;
  background: rgba(255,107,53,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.solution-card:hover .solution-icon { background: rgba(255,107,53,0.15); transform: scale(1.05); }

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.solution-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  transition: gap 0.3s ease;
}
.solution-link:hover { gap: 10px; }
.solution-link span { transition: transform 0.3s ease; }
.solution-link:hover span { transform: translateX(4px); }

.solution-card-cta {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  border-color: transparent;
}
.solution-card-cta::before {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  opacity: 1;
}
.solution-cta-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  gap: 12px;
}
.solution-cta-inner p {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0;
}
.solution-cta-inner h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
}

/* ---- 9. HOW IT WORKS ---- */
.howworks {
  position: relative;
  overflow: hidden;
}
.howworks-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, rgba(255,248,245,0.5) 50%, var(--gray-50) 100%);
}
.howworks .section-container { position: relative; z-index: 1; }

/* Step Graphics */
.step-graphic {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.sg-bar {
  width: 24px;
  background: linear-gradient(to top, var(--orange), var(--amber));
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.5s ease-out forwards;
  opacity: 0;
}
@keyframes barGrow {
  from { height: 0 !important; opacity: 0; }
  to { opacity: 1; }
}

.step-graphic-2 {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-ring {
  position: absolute;
  border: 2px solid rgba(255,107,53,0.3);
  border-radius: 50%;
  animation: pulseExpand 2.5s ease-out infinite;
}
@keyframes pulseExpand {
  from { width: 20px; height: 20px; opacity: 1; }
  to { width: 100px; height: 100px; opacity: 0; }
}
.pulse-center { font-size: 2rem; z-index: 1; }

.step-graphic-3 svg { overflow: visible; }
.growth-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 2s ease forwards 0.5s;
}
@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}
.growth-dot { animation: popIn 0.3s ease forwards 2.5s; opacity: 0; }
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---- 13. PRICING ---- */
.pricing { background: var(--gray-50); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition-slow);
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.pricing-card-featured {
  background: linear-gradient(160deg, var(--gray-900) 0%, #1A1A2E 100%);
  border-color: transparent;
  transform: scale(1.04);
}
.pricing-card-featured:hover { transform: scale(1.04) translateY(-6px); }
.plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.pricing-card-featured .plan-name { color: rgba(255,255,255,0.7); }
.plan-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1;
}
.pricing-card-featured .plan-price { color: white; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.pricing-card-featured .plan-price span { color: rgba(255,255,255,0.5); }
.plan-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 28px; }
.pricing-card-featured .plan-desc { color: rgba(255,255,255,0.6); }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-features li {
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-card-featured .plan-features li { color: rgba(255,255,255,0.8); }
.plan-features li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(255,107,53,0.1);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card-featured .plan-features li::before { background: rgba(255,107,53,0.2); }

/* ---- 14. TESTIMONIALS (LONG SINGLE CARD CAROUSEL & GRID) ---- */
.testimonials {
  background: #FAFBFC;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.testimonial-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 32px);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}
.testimonial-slider-viewport {
  width: 100%;
  max-width: 920px;
  overflow: hidden;
  border-radius: 24px;
}
.testimonial-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 6px;
}
.testimonial-card-long {
  background: #FFFFFF;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 24px;
  padding: clamp(32px, 4.5vw, 48px) clamp(26px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  box-shadow: 0 4px 6px -1px rgba(16, 24, 40, 0.03), 0 20px 36px -8px rgba(16, 24, 40, 0.06);
  transition: all 0.35s ease;
  position: relative;
}
.testimonial-card-long:hover {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 24px 48px -12px rgba(255, 107, 53, 0.15), 0 8px 16px rgba(16, 24, 40, 0.04);
}
.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.testimonial-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF8F4;
  border: 1px solid rgba(255, 107, 53, 0.18);
  padding: 6px 14px;
  border-radius: 9999px;
}
.testimonial-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--orange);
}
.testimonial-stars svg {
  display: block;
}
.testimonial-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: -0.01em;
}
.testimonial-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-700);
  background: #F2F4F7;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #E4E7EC;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.testimonial-card-long .testimonial-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.72;
  color: var(--gray-800);
  margin-bottom: 32px;
  font-style: normal;
  font-weight: 450;
  letter-spacing: -0.01em;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid #F2F4F7;
  flex-wrap: wrap;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.author-meta {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.author-role {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
}
.testimonial-category-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
  background: rgba(255, 107, 53, 0.08);
  border: 1px solid rgba(255, 107, 53, 0.2);
  padding: 6px 14px;
  border-radius: 8px;
}

/* Nav Arrow Buttons (Left & Right of the Card) */
.testimonial-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #EAECF0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.testimonial-nav-btn:hover {
  background: var(--orange);
  color: #FFFFFF;
  border-color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}
.testimonial-nav-btn:active {
  transform: scale(0.95);
}

/* Dots */
.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #D0D5DD;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-dot.active {
  width: 32px;
  background: var(--orange);
}

@media (max-width: 768px) {
  .testimonial-nav-btn {
    width: 44px;
    height: 44px;
  }
  .testimonial-carousel-wrapper {
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .testimonial-carousel-wrapper {
    position: relative;
    padding-bottom: 60px;
  }
  .testimonial-nav-btn {
    position: absolute;
    bottom: 0;
    width: 46px;
    height: 46px;
  }
  .testimonial-nav-btn.prev-btn {
    left: calc(50% - 56px);
  }
  .testimonial-nav-btn.next-btn {
    right: calc(50% - 56px);
  }
  .testimonial-dots {
    margin-top: 14px;
  }
}

/* Standard Grid Fallback / Multi-card Grid (e.g. for Results page) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04), 0 6px 16px -4px rgba(16, 24, 40, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.testimonial-card:hover {
  background: #FFFFFF;
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 16px 32px -8px rgba(255, 107, 53, 0.12), 0 4px 12px rgba(16, 24, 40, 0.04);
  transform: translateY(-5px);
}
.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 450;
  flex-grow: 1;
}

/* ---- 15. FINAL CTA ---- */
.final-cta {
  background-color: #0c1220;
  background-image: 
    linear-gradient(135deg, rgba(14, 20, 34, 0.88) 0%, rgba(12, 16, 28, 0.82) 100%),
    url('assets/final_cta_team_banner.webp');
  background-position: center 25%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.cta-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
}
.cta-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat 10s ease-in-out infinite;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  animation: orbFloat 8s ease-in-out infinite 3s;
}
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin: 20px 0 16px;
}
.cta-title span {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-subtitle { color: rgba(255,255,255,0.6); font-size: 1.1rem; line-height: 1.7; margin-bottom: 48px; }

.cta-actions,
.final-cta-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap !important;
  margin-top: 36px;
  max-width: 100%;
}
.cta-actions a,
.final-cta-actions a {
  white-space: nowrap;
}

/* ---- 16. FOOTER ---- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
}
.footer-container { max-width: 1280px; margin: 0 auto; padding: 72px 40px 32px; }
.footer-top { display: grid; grid-template-columns: 320px 1fr; gap: 80px; margin-bottom: 56px; }
.footer-brand .nav-logo {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.footer-brand .nav-logo:hover {
  background: transparent;
  transform: translateY(-2px) scale(1.02);
  box-shadow: none;
}
.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
}
.footer-brand .logo-text { color: white; }
.footer-tagline { font-size: 13.5px; line-height: 1.6; color: #64748B; margin-bottom: 18px; max-width: 280px; }
.footer-contact-emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  max-width: 290px;
}
.footer-email-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #E2E8F0;
  text-decoration: none;
  transition: all 0.25s ease;
}
.footer-email-link:hover {
  background: rgba(255, 107, 53, 0.12);
  border-color: rgba(255, 107, 53, 0.35);
  transform: translateX(4px);
  color: #FFFFFF;
}
.footer-email-icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  flex-shrink: 0;
}
.footer-email-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.footer-email-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF6B35;
}
.footer-email-addr {
  font-size: 12.5px;
  font-weight: 600;
  color: #CBD5E1;
  font-family: var(--font-body, "Inter", sans-serif);
}
.footer-email-link:hover .footer-email-addr {
  color: #FFFFFF;
}
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease;
}
.social-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 {
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  transition: all 0.2s ease;
  line-height: 1.4;
  display: inline-block;
}
.footer-col a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748B;
}

/* ---- 17. SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 18. ANIMATIONS ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---- 19. RESPONSIVE ENGINE (All Screens: 280px Fold to 4K Ultra-Wide) ---- */

/* Global Media & Fluid Element Protection */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Prevent text overflow across all screens */
h1, h2, h3, h4, h5, h6, p, span, a, li, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Table Responsive Container */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

/* --- Large Laptops & Small Desktops (<= 1200px) --- */
@media (max-width: 1200px) {
  .section-container {
    padding: 80px 32px;
  }
  .hero-container {
    gap: 48px;
    padding: 70px 32px;
  }
  
}

/* --- Tablets & Laptops (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px 80px;
    text-align: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    border-top: 1px solid var(--gray-200);
  }
  .hero-visual {
    display: block;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .solution-card-large {
    grid-column: span 2;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 24px;
  }
  .pricing-card-featured {
    transform: scale(1);
  }
  .pricing-card-featured:hover {
    transform: translateY(-6px);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .testimonial-card:last-child {
    grid-column: span 2;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* --- Tablets & Large Mobile (<= 768px) --- */
@media (max-width: 768px) {
  .navbar {
    background: rgba(255,255,255,0.96);
  }
  .nav-container {
    padding: 0 20px;
    height: 64px;
    gap: 16px;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    top: 64px;
    padding: 16px 20px 24px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .section-container {
    padding: 60px 20px;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .hero {
    padding-top: 64px;
    min-height: auto;
  }
  .hero-container {
    display: flex;
    flex-direction: column;
    padding: 36px 20px 52px;
    gap: 0;
  }
  .hero-content {
    display: contents;
  }
  .hero-title {
    order: 1;
    font-size: clamp(1.75rem, 5.8vw, 2.4rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 14px;
  }
  .hero-title .title-line:nth-child(1),
  .hero-title .title-line:nth-child(2) {
    display: inline;
  }
  .hero-title .title-line:nth-child(1)::after {
    content: " ";
  }
  .hero-title .title-line:nth-child(2)::after {
    content: "\A";
    white-space: pre;
  }
  .hero-title .title-line:nth-child(3) {
    display: block;
  }
  .hero-subtitle {
    order: 2;
    font-size: 1rem;
    text-align: center;
    margin: 0 auto 22px;
    max-width: 520px;
  }
  .hero-visual {
    order: 3;
    width: 100%;
    max-width: 580px;
    margin: 8px auto 28px;
    opacity: 1;
    display: flex;
    justify-content: center;
  }
  .hero-img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-img {
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
    transform: scale(1.1);
    transform-origin: center center;
  }
  .hero-cta {
    order: 4;
    margin-bottom: 30px;
    justify-content: center;
    width: 100%;
  }
  .hero-scroll-indicator {
    display: none;
  }
  .hero-stats {
    order: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 14px 8px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
    gap: 0;
    align-items: center;
  }
  .stat-item {
    padding: 0 6px;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }
  .stat-item:last-child {
    border-right: none;
    padding-right: 6px;
  }
  .stat-divider {
    display: none;
  }
  .stat-value {
    justify-content: center;
  }
  .stat-number {
    font-size: clamp(1.25rem, 4.2vw, 1.55rem);
  }
  .stat-suffix {
    font-size: clamp(0.85rem, 2.8vw, 1.05rem);
  }
  .stat-label {
    font-size: clamp(8.5px, 2.1vw, 10px);
    color: var(--gray-500);
    text-align: center;
    letter-spacing: 0.03em;
    white-space: normal;
    margin-top: 3px;
    line-height: 1.25;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solution-card-large {
    grid-column: span 1;
  }
  .solution-card {
    padding: 28px 24px;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-number {
    font-size: 3rem;
    min-width: auto;
    text-align: left;
  }
  .step-visual {
    grid-column: auto;
    padding: 24px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .testimonial-card:last-child {
    grid-column: auto;
  }
  .final-cta {
    background-image: 
      linear-gradient(180deg, rgba(12, 18, 32, 0.90) 0%, rgba(12, 18, 32, 0.74) 40%, rgba(12, 18, 32, 0.92) 100%),
      url('assets/final_cta_team_banner.webp');
    background-position: center 18%;
  }
  .final-cta .section-container {
    padding: 56px 20px;
  }
  .cta-deliverables {
    gap: 8px;
    margin-top: 24px;
  }
  .cta-deliver-item {
    padding: 7px 13px;
    font-size: 12px;
  }
  .cta-actions,
  .final-cta-actions {
    gap: 12px;
    margin-top: 24px;
    flex-wrap: nowrap !important;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline,
  .cta-actions .btn-large {
    padding: 12px 20px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .reach-stats-overlay {
    position: relative;
    background: var(--gray-900);
    padding: 24px 20px;
    gap: 20px;
    justify-content: space-around;
  }
  
  .footer-container {
    padding: 48px 20px 24px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 12px;
  }
  .footer-bottom .footer-tagline,
  .footer-bottom p:nth-child(2) {
    display: none !important;
  }
}

/* --- Standard Mobile Phones (<= 600px) --- */
@media (max-width: 600px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline,
  .hero-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-visual {
    max-width: 100%;
    margin: 8px auto 28px;
    padding: 0 8px;
  }
  .hero-img {
    max-width: 100%;
    transform: scale(1.18);
  }
  .hero-stats {
    padding: 12px 6px;
    border-radius: 14px;
    max-width: 100%;
  }
  .stat-number {
    font-size: clamp(1.15rem, 4vw, 1.4rem);
  }
  .stat-suffix {
    font-size: clamp(0.8rem, 2.6vw, 0.95rem);
  }
  .stat-label {
    font-size: clamp(8px, 1.9vw, 9.5px);
    letter-spacing: 0.02em;
  }
  
  .section-tag {
    font-size: 10.5px;
    padding: 4px 12px;
    margin-bottom: 14px;
  }
  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.3rem);
    margin-bottom: 14px;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
  .btn-primary, .btn-outline, .btn-ghost {
    padding: 12px 20px;
    font-size: 14px;
  }
  .btn-large {
    padding: 14px 24px;
    font-size: 15px;
  }
  .final-cta {
    background-position: center 14%;
  }
  .final-cta .section-container {
    padding: 48px 16px;
  }
  .cta-title {
    font-size: clamp(1.75rem, 6vw, 2.3rem);
    margin: 14px 0 12px;
  }
  .cta-subtitle {
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }
  .cta-actions,
  .final-cta-actions {
    gap: 10px;
    margin-top: 20px;
    flex-wrap: nowrap !important;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline,
  .cta-actions .btn-large {
    padding: 11px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  .form-input {
    padding: 14px 16px;
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
}

/* --- Compact Phones & Fold Closed Screens (<= 480px) --- */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 16px;
    height: 72px;
  }
  .nav-logo-img {
    height: 48px;
    max-width: 200px;
  }
  .footer-logo-img {
    height: 48px;
    max-width: 200px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .section-container {
    padding: 48px 16px;
  }
  .final-cta {
    background-position: center 10%;
  }
  .final-cta .section-container {
    padding: 40px 14px;
  }
  .cta-deliver-item {
    padding: 5px 10px;
    font-size: 11px;
  }
  .cta-actions,
  .final-cta-actions {
    gap: 8px;
    margin-top: 18px;
    flex-wrap: nowrap !important;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline,
  .cta-actions .btn-large {
    padding: 9px 12px;
    font-size: 11.5px;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .hero-container {
    padding: 32px 16px 48px;
  }
  .solution-card {
    padding: 24px 18px;
  }
  
  .pricing-card {
    padding: 28px 20px;
  }
  .plan-price {
    font-size: 2.2rem;
  }
  .testimonial-card {
    padding: 24px 18px;
  }
  .reach-num {
    font-size: 1.6rem;
  }
  .footer-container {
    padding: 32px 16px 20px;
  }
  .footer-top {
    gap: 28px;
    margin-bottom: 24px;
  }
  .footer-brand .nav-logo {
    margin-bottom: 12px;
  }
  .footer-tagline {
    font-size: 13px;
    margin-bottom: 14px;
    max-width: 100%;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  .footer-col {
    gap: 8px;
  }
  .footer-col h4 {
    font-size: 11px;
    margin-bottom: 2px;
    letter-spacing: 0.1em;
  }
  .footer-col a {
    font-size: 13px;
    line-height: 1.35;
    padding: 2px 0;
  }
  .footer-bottom {
    padding-top: 18px;
    gap: 8px;
  }
  .footer-bottom p {
    font-size: 11.5px;
    line-height: 1.4;
  }
}

/* --- Ultra-Narrow / Flip & Fold Front Screens (<= 360px down to 280px) --- */
@media (max-width: 360px) {
  .section-container {
    padding: 36px 12px;
  }
  .final-cta {
    background-position: center 8%;
  }
  .final-cta .section-container {
    padding: 32px 10px;
  }
  .cta-actions,
  .final-cta-actions {
    gap: 6px;
    margin-top: 16px;
    flex-wrap: nowrap !important;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline,
  .cta-actions .btn-large {
    padding: 8px 8px;
    font-size: 10.5px;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .hero-container {
    padding: 24px 12px 36px;
  }
  .nav-container {
    padding: 0 12px;
  }
  .logo-text {
    font-size: 1.05rem;
  }
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.15;
  }
  .hero-stats {
    padding: 10px 4px;
    border-radius: 12px;
  }
  .stat-item {
    padding: 0 3px;
  }
  .stat-number {
    font-size: 1.05rem;
  }
  .stat-suffix {
    font-size: 0.75rem;
  }
  .stat-label {
    font-size: 7.5px;
    letter-spacing: 0;
  }
  .btn-primary, .btn-outline, .btn-ghost, .btn-large {
    padding: 10px 16px;
    font-size: 13px;
    gap: 6px;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .solution-card, .pricing-card, .testimonial-card, .contact-card {
    padding: 20px 14px;
  }
  .rm-number {
    font-size: 1.8rem;
  }
}

/* =====================================================
   TappnGroww — Sub-Preloader (Milky Mixture Background + Increasing Arrow Line)
   Instant Coverage on Page Shifts & Smooth Content Reveal
   ===================================================== */
#tng-sub-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #FFFFFF;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
}
#tng-sub-preloader.exit {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

/* Milky soft luminous ambient glows */
.tng-sub-milky-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  will-change: transform;
}
#tng-sub-milky-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 246, 238, 0.95) 0%, rgba(255, 232, 218, 0.55) 50%, transparent 70%);
  top: -100px;
  left: 15%;
  animation: tngMilkyFloat1 10s ease-in-out infinite alternate;
}
#tng-sub-milky-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, rgba(255, 179, 71, 0.06) 50%, transparent 70%);
  bottom: -80px;
  right: 18%;
  animation: tngMilkyFloat2 12s ease-in-out infinite alternate;
}
@keyframes tngMilkyFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes tngMilkyFloat2 {
  0% { transform: translate(0, 0) scale(1.05); }
  100% { transform: translate(-35px, -25px) scale(0.95); }
}

/* Content Area (Floating directly on milky background - NO BOX) */
.tng-sub-content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: tngSubFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes tngSubFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header status line */
.tng-sub-status-line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
  box-sizing: border-box;
}
.tng-sub-status-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tng-sub-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF6B35;
  box-shadow: 0 0 10px #FF6B35;
  animation: tngSubPulseDot 1.4s ease-in-out infinite alternate;
}
@keyframes tngSubPulseDot {
  0% { opacity: 0.5; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1.25); }
}
#tng-sub-status-txt {
  font-size: 13.5px;
  font-weight: 700;
  color: #101828;
  letter-spacing: -0.01em;
}
.tng-sub-pct-badge {
  font-size: 13px;
  font-weight: 800;
  color: #FF6B35;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.22);
  padding: 3px 10px;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Simple Increasing Line Track */
.tng-sub-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(16, 24, 40, 0.08);
  border-radius: 99px;
  overflow: visible;
  box-sizing: border-box;
}
.tng-sub-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF6B35 0%, #FFA278 70%, #FFFFFF 100%);
  border-radius: 99px;
  box-shadow: 0 0 14px rgba(255, 107, 53, 0.85);
  transition: none;
  will-change: width;
}

/* Arrow Head at the front tip of the line */
.tng-sub-arrow-tip {
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8550 100%);
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.65), 0 0 4px #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.tng-sub-arrow-tip svg {
  width: 10px;
  height: 10px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

/* Minimal Bottom Caption */
.tng-sub-caption {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
