/* =============================================
   DEXOS HOUSE — Orange, White & Black Theme
   ============================================= */

/* ---- Performance: keep all animations off the main thread ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Disable slow property transitions on compositor-owned elements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Design Tokens ---- */
:root {
  /* PURE ORANGE, WHITE, AND BLACK PALETTE */
  --orange: #FF7B00;
  --orange-dark: #D96600;
  --black: #0A0A0F;
  --white: #FFFFFF;
  
  --page-bg: #F8F8F8;
  --surface: #FFFFFF;
  --border: #E4E4EF;
  --border-hover: rgba(255, 123, 0, 0.45);
  --text-primary: #0A0A0F;
  --text-muted: #6B6B80;
  --text-light: #8A8A9A;

  /* Cleaner 2-color Gradient (Orange to Black) */
  --grad: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  
  /* Warm Sunset: Orange ➡️ Black (Magenta removed) */
  --hero-left-bg: linear-gradient(to right, #FF7B00 0%, #E66600 40%, #0A0A0F 100%);

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-italic: 'Playfair Display', serif;

  --radius-card: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.08);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  /* Enable sub-pixel rendering and GPU-backed scrolling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  /* Subtle dot pattern background — paint once, never repaint */
  background-image:
    radial-gradient(circle, rgba(180, 140, 100, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: var(--page-bg);
  /* Boost scroll compositing */
  -webkit-overflow-scrolling: touch;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #ECECEC;
}

::-webkit-scrollbar-thumb {
  background: var(--orange-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  padding: 90px 0;
}

/* ---- Gradient Text ---- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--orange);
  border: 1px solid rgba(255, 140, 0, 0.3);
  background: rgba(255, 140, 0, 0.07);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ---- Section Title ---- */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header {
  margin-bottom: 56px;
}

/* ---- Body Text ---- */
.body-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* ---- Gradient Button ---- */
.btn-grad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-grad:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-grad.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- Reveal Animations — GPU-composited only (opacity + transform) ---- */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-stagger > * {
  opacity: 0;
  /* will-change hints compositor to promote these to their own layer */
  will-change: transform, opacity;
  /* Use GPU-only properties to avoid layout recalc during reveal */
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  /* Promote to own compositing layer immediately */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}

.reveal {
  transform: translateY(20px);
}
.reveal-up {
  transform: translateY(26px);
}
.reveal-left {
  transform: translateX(-26px);
}
.reveal-right {
  transform: translateX(26px);
}
.reveal-scale {
  transform: scale(0.96);
}

.reveal.revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed,
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  will-change: auto;
}

/* Stagger item delays — tighter for snappier cascade */
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.34s; }


/* =============================================
   HEADER
   ============================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Frosted glass — isolated on its own compositor layer */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Only transition GPU-safe properties; drop backdrop-filter from transition */
  transition: background var(--transition), box-shadow var(--transition);
  padding: 10px 0;
  /* Isolate backdrop-filter on its own stacking context to avoid repaint cascade */
  isolation: isolate;
  /* Paint containment so child changes don't affect page layout */
  contain: layout style;
  will-change: transform;
  transform: translateZ(0);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 6px 0;
}

.main-header.scrolled .logo-dexos,
.main-header.scrolled .logo-house {
  color: var(--text-primary);
}

.main-header.scrolled .nav-item {
  color: var(--text-muted);
}

.main-header.scrolled .nav-item:hover,
.main-header.scrolled .nav-item.active {
  color: var(--text-primary);
}

.main-header.scrolled .nav-cta {
  background: var(--text-primary) !important;
  color: #FFFFFF !important;
  box-shadow: none;
}

.main-header.scrolled .nav-cta:hover {
  background: var(--orange) !important;
  color: #FFFFFF !important;
}

.main-header.scrolled .hamburger span {
  background: var(--text-primary);
}

.header-inner {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: min-height var(--transition);
}

/* Logo */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.logo-link:hover {
  transform: scale(1.03);
}

.logo-link:active {
  transform: scale(0.97);
}

.dexos-logo-img {
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease, opacity 0.3s ease;
}

/* Header Logo - Default state: WHITE (on orange hero background) */
.main-header .dexos-logo-img {
  height: 80px;
  filter: brightness(0) invert(1) drop-shadow(0px 2px 6px rgba(0,0,0,0.25));
}

.main-header:not(.scrolled) .logo-link:hover .dexos-logo-img {
  opacity: 0.9;
}

/* Scrolled Header Logo - ORANGE (on white background) */
.main-header.scrolled .header-inner {
  min-height: 64px;
}

.main-header.scrolled .dexos-logo-img {
  filter: drop-shadow(0px 1px 3px rgba(255, 123, 0, 0.2));
  height: 60px;
}

.main-header.scrolled .logo-link:hover .dexos-logo-img {
  opacity: 0.88;
}

/* Logo Text (Header only) */
.logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  display: inline-flex;
  gap: 6px;
}

/* WHITE text for the dark header */
.logo-dexos {
  color: #FFFFFF; 
  transition: color var(--transition);
}

.logo-house {
  color: #FFFFFF; 
  transition: color var(--transition);
}

.logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: #0A0A0F;
  letter-spacing: 1px;
}

.logo-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: #FFFFFF;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width var(--transition);
}

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

.nav-cta {
  background: #ffffff;
  color: #cc3300 !important;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background-color var(--transition);
}

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

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

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

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 68px;
  right: -100%;
  width: 100%;
  height: calc(100vh - 68px);
  background: rgba(248, 248, 248, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--border);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-link {
  color: #0A0A0F;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--font-head);
  transition: color var(--transition);
}

.mobile-link:hover {
  color: var(--orange);
}

.mobile-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 12px 36px;
  border-radius: 100px;
}

/* =============================================
   WHITE PAGE OVERRIDES
   ============================================= */
/* Use this class on your <body> tag for ALL white pages */
body.white-page .navbar-container {
  background: #FFFFFF;
  backdrop-filter: none; /* Turn off blur for white pages */
  border-bottom: 1px solid #EAEAEA;
}

body.white-page .nav-link {
  color: #1A1A1A;
}

body.white-page .nav-link:hover {
  color: #D94D00;
}

body.white-page .get-in-touch-btn {
  background: #1A1A1A;
  color: #FFFFFF;
}

body.white-page .get-in-touch-btn:hover {
  background: linear-gradient(135deg, #FF8C00 0%, #D94D00 30%, #B32D00 70%, #660000 100%);
}

/* Mapped overrides for existing page elements under body.white-page */
body.white-page .main-header {
  background: #FFFFFF;
  backdrop-filter: none;
  border-bottom: 1px solid #EAEAEA;
}

body.white-page .main-header.scrolled {
  background: #FFFFFF;
  backdrop-filter: none;
  border-bottom: 1px solid #EAEAEA;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.white-page .nav-item {
  color: #1A1A1A;
}

body.white-page .nav-item:hover {
  color: #D94D00;
}

body.white-page .nav-item::after {
  background: linear-gradient(135deg, #FF8C00 0%, #D94D00 30%, #B32D00 70%, #660000 100%);
}

body.white-page .nav-cta {
  background: #1A1A1A !important;
  color: #FFFFFF !important;
  box-shadow: none;
}

body.white-page .nav-cta:hover {
  background: linear-gradient(135deg, #FF8C00 0%, #D94D00 30%, #B32D00 70%, #660000 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Flip Logo to BLACK on White Pages */
body.white-page .logo-dexos,
body.white-page .logo-house {
  color: #040404; /* Near Black */
}

body.white-page .hamburger span {
  background: #1A1A1A;
}

/* =============================================
   HERO — Split Layout
   ============================================= */
.hero {
  display: flex;
  min-height: 100vh;
  /* STRICT ORANGE, WHITE, BLACK GRADIENT */
  background: linear-gradient(to right, #FF7B00 0%, #E66600 45%, #0A0A0F 100%);
  position: relative;
  overflow: hidden;
}

/* LEFT — 55% */
.hero-left {
  width: 55%;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px calc((100vw - min(92vw, 1200px)) / 2);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(255, 220, 120, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-left-inner {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

/* Accent Badge Quote */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 123, 0, 0.12);
  border: 1px solid rgba(255, 123, 0, 0.35);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: float-badge 3s ease-in-out infinite alternate;
}

.hero-badge-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-badge-tagline strong {
  font-weight: 800;
  color: var(--white);
  background: var(--grad);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  margin: 0 2px;
  box-shadow: 0 2px 6px rgba(255, 123, 0, 0.2);
}

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

.hero-headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(64px, 7vw, 88px);
  line-height: 1.02;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-headline em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -1px;
}

/* Hero Description */
.hero-desc {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* Hero CTA Buttons */
.hero-cta-group {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(255, 123, 0, 0.3);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(0.9);
  box-shadow: 0 6px 28px rgba(255, 123, 0, 0.4);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #0A0A0F;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid #D0D0DE;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  color: #FFFFFF;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 32px;
}

/* RIGHT — 45% Floating Cards */
.hero-right {
  width: 45%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 80px 40px;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 420px;
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-card {
  position: absolute;
  background: rgba(255, 140, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 140, 0, 0.18);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: heroFloat 3s ease-in-out infinite;
  cursor: default;
  /* Own compositor layer for the continuous float animation */
  will-change: transform;
  contain: layout style paint;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 40px rgba(255, 140, 0, 0.25);
  border-color: rgba(255, 140, 0, 0.4);
}

.hero-card-1 {
  top: 10px;
  right: 10px;
  animation-delay: 0s;
}

.hero-card-2 {
  top: 155px;
  left: 0;
  animation-delay: 0.3s;
}

.hero-card-3 {
  bottom: 10px;
  right: 20px;
  animation-delay: 0.6s;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 4px;
}

.hero-card-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
}

.hero-card-stat {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #A0A0B0;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: opacity 0.3s;
  z-index: 10;
  cursor: pointer;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}

.stats-bar-inner {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #1E1E2E;
  margin: 0 40px;
}

/* ---- Shared Watermark Background for All White/Grey Sections ---- */
.about-section,
.capabilities-section,
.process-section,
.portfolio-section,
.team-section,
.faq-section,
.contact-section {
  /* Removed background-attachment: fixed — it forces a full repaint on every scroll frame */
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
}

/* =============================================
   ABOUT
   ============================================= */
.section {
  background-color: #F8F8F8;
}

.about-section {
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.about-left .body-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* 3D Visual Workspace */
.about-visual-wrap {
  margin-top: 32px;
  background: transparent;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: visible;
}

.about-visual-img,
.about-visual-video {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(10, 10, 15, 0.12), 0 0 0 1px rgba(255, 123, 0, 0.2);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  display: block;
  object-fit: cover;
}

.about-visual-wrap:hover .about-visual-video,
.about-visual-wrap:hover .about-visual-img {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(255, 123, 0, 0.25), 0 0 0 2px var(--orange);
}

.video-live-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 12;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pulse-live-dot {
  width: 8px;
  height: 8px;
  background-color: #FF3B30;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF3B30;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

/* Base style for live elements */
.live-element {
  position: absolute;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}

/* 1. Live Pie Chart Overlay */
.live-pie {
  top: 38%;
  left: 20%;
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: rgba(255, 123, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.4);
  border: 2.5px solid var(--orange);
  animation: float-pie 4s ease-in-out infinite alternate, pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes float-pie {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(10deg); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(255, 123, 0, 0.2); }
  100% { box-shadow: 0 0 25px rgba(255, 123, 0, 0.6); }
}

/* 2. Live Bar Chart Overlay */
.live-bars {
  top: 25%;
  right: 25%;
  width: 20%;
  height: 20%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 4px;
}

.live-bar-col {
  width: 18%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.live-bar-fill {
  width: 100%;
  background: var(--grad);
  border-radius: 4px;
  animation: grow-bar 2s ease-in-out infinite alternate;
  animation-delay: var(--delay);
  height: 0;
}

@keyframes grow-bar {
  0% { height: 10%; }
  100% { height: var(--val); }
}

/* 3. Floating 3D Tags */
.live-floating-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 123, 0, 0.35);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: float-tag 3.5s ease-in-out infinite alternate;
}

.tag-ai { animation-delay: 0.2s; }
.tag-iot { animation-delay: 0.6s; }
.tag-web { animation-delay: 0.9s; }

@keyframes float-tag {
  0% { transform: translateY(0) scale(1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
  100% { transform: translateY(-8px) scale(1.05); box-shadow: 0 8px 25px rgba(255, 123, 0, 0.25); }
}

/* 4. Live Growth Arrow */
.live-growth-arrow {
  animation: float-arrow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255, 123, 0, 0.6));
}

@keyframes float-arrow {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0.8; }
  100% { transform: translate(4px, -4px) scale(1.1); opacity: 1; }
}

/* Sparkling particles */
.sparkle-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  animation: rise-sparkle 4s linear infinite;
}

@keyframes rise-sparkle {
  0% { transform: translateY(100px) scale(0); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-120px) scale(1.5); opacity: 0; }
}

.about-right {
  position: relative;
  padding: 20px 0;
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
}

.glow-orange {
  width: 250px;
  height: 250px;
  background: var(--orange);
  top: -40px;
  right: -60px;
}

.glow-peach {
  width: 200px;
  height: 200px;
  background: #FFE3D1;
  bottom: 40px;
  left: -50px;
}

.vision-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.vision-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* Premium Glassmorphic Card — backdrop-filter only on hover to avoid stacking blur layers */
.vision-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s, 
              background 0.4s;
}

/* Premium gradient icon wrap */
.vision-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(255, 123, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.vision-card-content {
  flex: 1;
  padding-right: 40px;
  z-index: 2;
}

.vision-card-content h4 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vision-card-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Faint big numbers on the right */
.vision-card-num {
  position: absolute;
  right: 28px;
  top: 48%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255, 123, 0, 0.07);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

/* Decorative dot grids on the right bottom */
.vision-dots {
  position: absolute;
  right: 20px;
  bottom: 16px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
  transition: transform var(--transition), opacity var(--transition);
}

/* Premium Card Hover State */
.vision-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 123, 0, 0.35);
  box-shadow: 0 20px 40px rgba(255, 123, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.vision-card:hover .vision-icon-wrap {
  transform: scale(1.08) rotate(5deg);
}

.vision-card:hover .vision-dots {
  transform: translateY(-2px);
  opacity: 1;
}

/* =============================================
   SERVICES / CAPABILITIES
   ============================================= */
:root {
  --capabilities-bg: #FFFFFF;
  --capabilities-bg-warm: var(--page-bg);
  --capabilities-fg: var(--text-primary);
  --capabilities-muted: var(--text-muted);
  --capabilities-accent: var(--orange);
  --capabilities-accent-soft: rgba(255, 123, 0, 0.08);
  --capabilities-accent-glow: rgba(255, 123, 0, 0.15);
  --capabilities-card: var(--surface);
  --capabilities-border: var(--border);
  --capabilities-border-strong: rgba(10, 10, 15, 0.15);
  --capabilities-dark-bg: #FFFFFF;
  --capabilities-dark-card: #FDFDFD;
  --capabilities-dark-border: #E8E8EC;
  --capabilities-dark-text: rgba(10, 10, 15, 0.45);
  --capabilities-radius-lg: 16px;
  --capabilities-radius-md: 10px;
  --capabilities-radius-sm: 6px;
  --capabilities-font-display: var(--font-head);
  --capabilities-font-body: var(--font-body);
}

.capabilities-section {
  position: relative;
  overflow: hidden;
  background-color: var(--capabilities-bg);
  border-bottom: 1px solid var(--capabilities-border);
}

/* Subtle grain texture overlay */
.capabilities-section::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* Main Grid: Left List + Right Visual */
.capabilities-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

/* ── Left: Service List ── */
.service-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Connecting stepper line running behind the numbers */
.service-list::before {
  content: '';
  position: absolute;
  left: 33px;
  top: 30px;
  bottom: 30px;
  width: 1px;
  background: var(--capabilities-border);
  z-index: 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 22px;
  margin: 0 -22px;
  border-bottom: 1px solid var(--capabilities-border);
  cursor: pointer;
  position: relative;
  border-radius: var(--capabilities-radius-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

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

/* Orange left indicator bar */
.service-item::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--capabilities-accent);
  border-radius: 2px;
  transform: scaleY(0);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item.active::before {
  transform: scaleY(1);
}

.service-item.active {
  background: var(--capabilities-accent-soft);
  border-bottom-color: transparent;
}

.service-item:hover:not(.active) {
  background: rgba(10, 10, 15, 0.025);
  border-bottom-color: var(--capabilities-border-strong);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--capabilities-radius-md);
  background: var(--capabilities-card);
  border: 1px solid var(--capabilities-border);
  color: var(--capabilities-muted);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

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

.service-item.active .service-icon {
  background: var(--capabilities-accent);
  border-color: var(--capabilities-accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px var(--capabilities-accent-glow);
}

.service-item:hover:not(.active) .service-icon {
  border-color: var(--capabilities-border-strong);
  color: var(--capabilities-fg);
}

.service-number {
  display: none;
}

.service-content {
  flex: 1;
  padding-top: 2px;
}

.service-title {
  font-family: var(--capabilities-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--capabilities-fg);
  transition: all 0.4s ease;
  line-height: 1.3;
}

.service-item.active .service-title {
  color: var(--capabilities-accent);
}

.service-desc {
  font-family: var(--capabilities-font-body);
  font-size: 13.5px;
  color: var(--capabilities-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.05s,
              margin-top 0.4s ease;
  margin-top: 0;
}

.service-item.active .service-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 10px;
}

.service-arrow {
  flex-shrink: 0;
  margin-top: 12px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--capabilities-accent);
  stroke-width: 2;
  fill: none;
}

.service-item.active .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Right: Visual Container ── */
.visual-container {
  position: relative;
  min-height: 440px;
}

/* Soft ambient glow behind the framed visual */
.visual-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 70% 30%, var(--capabilities-accent-glow) 0%, transparent 60%);
  opacity: 0.7;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* Browser-style chrome frame wrapping the panels */
.visual-frame {
  position: relative;
  height: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  border-radius: var(--capabilities-radius-lg);
  overflow: hidden;
  border: 1px solid var(--capabilities-dark-border);
  background: var(--capabilities-dark-card);
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.visual-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--capabilities-dark-border);
  background: var(--capabilities-dark-card);
  flex-shrink: 0;
}

.visual-frame-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--capabilities-dark-border);
}

.visual-frame-body {
  position: relative;
  flex: 1;
}

.visual-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.visual-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Project Visual Wrap (New) ── */
.project-visual-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--capabilities-dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-visual-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-panel.active .project-visual-wrap img {
  transform: scale(1);
}

.visual-panel:not(.active) .project-visual-wrap img {
  transform: scale(1.1);
}

/* ── AI Mockup ── */
.ai-mockup {
  background: var(--capabilities-dark-bg);
  border-radius: var(--capabilities-radius-lg);
  padding: 36px 32px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--capabilities-dark-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.ai-mockup::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--capabilities-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.ai-mockup::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 123, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ai-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.ai-node {
  width: 52px;
  height: 52px;
  border: 2px solid var(--capabilities-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: nodePulse 4s ease-in-out infinite;
}

.ai-node:nth-child(3) {
  animation-delay: -1.3s;
}

.ai-node:nth-child(5) {
  animation-delay: -2.6s;
}

@keyframes nodePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 123, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 123, 0, 0);
  }
}

.ai-node span {
  font-family: var(--capabilities-font-body);
  font-size: 7.5px;
  font-weight: 600;
  color: var(--capabilities-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ai-node-line {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(to right, var(--capabilities-accent), rgba(255, 123, 0, 0.2));
  flex-shrink: 0;
}

.ai-processing {
  position: relative;
  z-index: 1;
}

.ai-processing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.ai-processing-label {
  font-family: var(--capabilities-font-body);
  font-size: 11px;
  color: var(--capabilities-dark-text);
  letter-spacing: 0.3px;
}

.ai-processing-value {
  font-family: var(--capabilities-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--capabilities-accent);
}

.ai-bar-track {
  height: 7px;
  background: #F0F0F3;
  border-radius: 4px;
  overflow: hidden;
}

.ai-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(to right, var(--capabilities-accent), #F09A5E);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(255, 123, 0, 0.35);
  animation: barShimmer 3s ease-in-out infinite;
}

@keyframes barShimmer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}

.ai-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.ai-data-card {
  background: var(--capabilities-dark-card);
  border-radius: var(--capabilities-radius-md);
  padding: 18px 14px;
  border: 1px solid var(--capabilities-dark-border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ai-data-card:hover {
  border-color: rgba(255, 123, 0, 0.25);
  transform: translateY(-2px);
}

.ai-data-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--capabilities-accent);
  margin-bottom: 12px;
  box-shadow: 0 0 8px rgba(255, 123, 0, 0.3);
}

.ai-data-label {
  font-family: var(--capabilities-font-body);
  font-size: 10px;
  color: var(--capabilities-dark-text);
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.ai-data-value {
  font-family: var(--capabilities-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--capabilities-fg);
}

/* ── App Mockup ── */
.app-mockup {
  background: var(--capabilities-dark-bg);
  border-radius: var(--capabilities-radius-lg);
  padding: 44px 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid var(--capabilities-dark-border);
  position: relative;
  overflow: hidden;
}

.app-mockup::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 120px;
  background: radial-gradient(ellipse, var(--capabilities-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.phone-frame {
  width: 136px;
  height: 280px;
  border: 2px solid #E0E0E5;
  border-radius: 30px;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 12px;
  background: #080808;
  border-radius: 10px;
  z-index: 3;
}

.phone-frame.phone-2 {
  transform: translateY(-16px);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-frame.phone-1 {
  animation: phoneFloat 7s ease-in-out infinite;
  animation-delay: -3.5s;
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.phone-screen {
  padding: 30px 12px 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--capabilities-font-body);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.phone-title {
  font-family: var(--capabilities-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--capabilities-fg);
}

.phone-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--capabilities-accent);
  opacity: 0.65;
}

.phone-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.phone-card {
  background: #FFFFFF;
  border-radius: 9px;
  padding: 10px 11px;
  flex: 1;
  border: 1px solid #EBEBEF;
}

.phone-card-accent {
  height: 4px;
  border-radius: 2px;
  margin-bottom: 7px;
  width: 60%;
}

.phone-card-accent.orange {
  background: var(--capabilities-accent);
}

.phone-card-accent.gray {
  background: #2A2A2A;
}

.phone-card-accent.light {
  background: #333;
}

.phone-card-line {
  height: 3px;
  background: #222;
  border-radius: 2px;
  margin-bottom: 5px;
}

.phone-card-line:last-child {
  margin-bottom: 0;
  width: 75%;
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 4px 6px;
  border-top: 1px solid #1A1A1A;
  margin-top: 8px;
}

.phone-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #252525;
  transition: background 0.3s ease;
}

.phone-nav-dot.active {
  background: var(--capabilities-accent);
}

/* Phone 2: Analytics screen */
.phone-chart-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.phone-chart-label {
  font-family: var(--capabilities-font-body);
  font-size: 9px;
  color: var(--capabilities-dark-text);
  margin-bottom: 10px;
}

.phone-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 1;
  padding-bottom: 4px;
}

.phone-chart-bar {
  flex: 1;
  background: #F0F0F3;
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: background 0.3s ease;
}

.phone-chart-bar.highlight {
  background: var(--capabilities-accent);
}

.phone-stats-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.phone-stat {
  flex: 1;
  background: #1A1A1A;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}

.phone-stat-val {
  font-family: var(--capabilities-font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--capabilities-fg);
}

.phone-stat-lbl {
  font-family: var(--capabilities-font-body);
  font-size: 8px;
  color: var(--capabilities-dark-text);
  margin-top: 2px;
}

/* ── Web Mockup ── */
.web-mockup {
  background: var(--capabilities-dark-bg);
  border-radius: var(--capabilities-radius-lg);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--capabilities-dark-border);
  display: flex;
  flex-direction: column;
}

.browser-chrome {
  height: 40px;
  background: #F5F5FA;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  border-bottom: 1px solid var(--capabilities-dark-border);
  flex-shrink: 0;
}

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

.browser-dot.red {
  background: #FF5F57;
}

.browser-dot.yellow {
  background: #FEBC2E;
}

.browser-dot.green {
  background: #28C840;
}

.browser-url {
  flex: 1;
  height: 26px;
  background: #FFFFFF;
  border: 1px solid #EBEBEF;
  border-radius: var(--capabilities-radius-sm);
  margin-left: 10px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--capabilities-font-body);
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.2px;
}

.browser-url-lock {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  opacity: 0.4;
}

.browser-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

.browser-sidebar {
  width: 26%;
  background: #F9F9FB;
  border-right: 1px solid var(--capabilities-dark-border);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}

.browser-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--capabilities-font-body);
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.4);
  transition: color 0.3s ease;
}

.browser-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E0E0E5;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.browser-nav-item.active .browser-nav-dot {
  background: var(--capabilities-accent);
}

.browser-nav-item.active {
  color: var(--capabilities-fg);
}

.browser-sidebar-avatar {
  margin-top: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--capabilities-accent), #F09A5E);
  opacity: 0.7;
}

.browser-main {
  flex: 1;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

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

.browser-main-title {
  font-family: var(--capabilities-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--capabilities-fg);
}

.browser-main-date {
  font-family: var(--capabilities-font-body);
  font-size: 9px;
  color: var(--capabilities-dark-text);
}

.browser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.browser-stat-card {
  background: var(--capabilities-dark-card);
  border-radius: var(--capabilities-radius-sm);
  padding: 14px 12px;
  border: 1px solid var(--capabilities-dark-border);
}

.browser-stat-label {
  font-family: var(--capabilities-font-body);
  font-size: 9px;
  color: var(--capabilities-dark-text);
  margin-bottom: 6px;
}

.browser-stat-value {
  font-family: var(--capabilities-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--capabilities-fg);
}

.browser-stat-bar {
  height: 3px;
  background: #F0F0F3;
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.browser-stat-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--capabilities-accent);
}

.browser-chart-area {
  flex: 1;
  background: var(--capabilities-dark-card);
  border-radius: var(--capabilities-radius-sm);
  padding: 16px;
  border: 1px solid var(--capabilities-dark-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.browser-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.browser-chart-title {
  font-family: var(--capabilities-font-body);
  font-size: 10px;
  color: var(--capabilities-dark-text);
}

.browser-chart-badge {
  font-family: var(--capabilities-font-body);
  font-size: 9px;
  font-weight: 600;
  color: var(--capabilities-accent);
  background: var(--capabilities-accent-soft);
  padding: 3px 8px;
  border-radius: 4px;
}

.browser-chart-svg {
  flex: 1;
  width: 100%;
  min-height: 0;
}

/* ── Bottom CTA Bar ── */
.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  margin-top: 72px;
  border-top: 1px solid var(--capabilities-border);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--capabilities-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.section-cta:hover::before {
  transform: scaleX(1);
}

.section-cta-text {
  font-family: var(--capabilities-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--capabilities-fg);
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.section-cta:hover .section-cta-text {
  color: #fff;
}

.section-cta-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, color 0.4s ease;
}

.section-cta:hover .section-cta-arrow {
  transform: translateX(4px);
  color: #fff;
}

.section-cta-arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--capabilities-fg);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.4s ease;
}

.section-cta:hover .section-cta-arrow svg {
  stroke: #fff;
}

/* ── Focus Visible ── */
.service-item:focus-visible {
  outline: 2px solid var(--capabilities-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.section-cta:focus-visible {
  outline: 2px solid var(--capabilities-accent);
  outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .capabilities-section {
    padding: 88px 0;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .service-list {
    flex-direction: column;
  }
  .visual-container {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .capabilities-section {
    padding: 64px 0;
  }
  .service-item {
    padding: 20px 14px;
    margin: 0 -14px;
    gap: 12px;
  }
  .service-list::before {
    left: 25px;
  }
  .service-icon {
    width: 38px;
    height: 38px;
  }
  .service-icon svg {
    width: 17px;
    height: 17px;
  }
  .service-item::before {
    left: -3px;
  }
  .service-title {
    font-size: 16.5px;
  }
  .service-item.active .service-title {
    font-size: 16.5px;
  }
  .service-desc {
    font-size: 12.5px;
  }
  .visual-container {
    min-height: 320px;
  }
  .visual-frame {
    min-height: 320px;
  }

  .ai-mockup {
    padding: 24px 18px;
    gap: 22px;
  }
  .ai-node {
    width: 40px;
    height: 40px;
  }
  .ai-node span {
    font-size: 6.5px;
  }
  .ai-node-line {
    width: 28px;
  }
  .ai-data-grid {
    gap: 8px;
  }
  .ai-data-card {
    padding: 12px 8px;
  }
  .ai-data-value {
    font-size: 15px;
  }

  .app-mockup {
    padding: 28px 16px;
    gap: 16px;
  }
  .phone-frame {
    width: 110px;
    height: 228px;
    border-radius: 24px;
  }
  .phone-frame::before {
    width: 30px;
    height: 10px;
    top: 8px;
  }
  .phone-title {
    font-size: 11px;
  }

  .browser-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .browser-stat-card {
    padding: 10px 8px;
  }
  .browser-stat-value {
    font-size: 14px;
  }
  .browser-sidebar {
    padding: 14px 10px;
    width: 30%;
  }
  .browser-main {
    padding: 14px 12px;
    gap: 10px;
  }

  .section-cta {
    margin-top: 48px;
    padding: 20px 0;
  }
  .section-cta-text {
    font-size: 14px;
  }
}

/* ── Reduced Motion — comprehensive ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.15ms !important;
  }
  .phone-frame {
    animation: none !important;
    transform: none !important;
  }
  .phone-frame.phone-2 {
    transform: translateY(-16px) !important;
  }
  .hero-card {
    animation: none !important;
    will-change: auto !important;
  }
  .work-marquee-track {
    animation: none !important;
    will-change: auto !important;
  }
  .leaf-sway {
    animation: none !important;
  }
  .scroll-indicator {
    animation: none !important;
  }
}

/* =============================================
   PROCESS
   ============================================= */
.process-section {
  border-bottom: 1px solid var(--border);
  position: relative;
  /* overflow: visible so animated leaves are not clipped */
  overflow: visible;
  background: 
    radial-gradient(ellipse 650px 420px at 10% 25%, rgba(255, 123, 0, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 700px 480px at 90% 75%, rgba(255, 140, 0, 0.11) 0%, transparent 70%),
    radial-gradient(ellipse 850px 550px at 50% 15%, rgba(255, 244, 232, 0.7) 0%, #FFFDFC 100%);
}

.process-steps {
  display: flex;
  align-items: stretch;
  position: relative;
  height: 520px;
  gap: 0;
}

.process-connector {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px; /* Taller so leaves aren't clipped */
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: visible; /* Allow leaves to render outside the box */
  /* Contain leaf repaints to this element so they don't affect the whole page */
  contain: layout;
}

.process-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.step-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.96) 55%, rgba(255, 239, 226, 0.92) 100%);
  border: 1.5px solid rgba(255, 123, 0, 0.25);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: 0 8px 28px rgba(255, 123, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  position: absolute;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
}

.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.step-card:hover {
  transform: translateX(-50%) translateY(-8px) scale(1.02);
  border-color: rgba(255, 123, 0, 0.6);
  box-shadow: 0 18px 42px rgba(255, 123, 0, 0.22), 0 0 0 1.5px rgba(255, 123, 0, 0.4);
}

.step-odd .step-card {
  bottom: calc(50% + 45px);
}

.step-even .step-card {
  top: calc(50% + 45px);
}

.step-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.step-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--orange) 0%, var(--orange-dark) 100%);
  z-index: 1;
}

.step-odd .step-line {
  bottom: 50%;
  height: 45px;
}

.step-even .step-line {
  top: 50%;
  height: 45px;
}

.step-num-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 5;
  pointer-events: auto;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.process-step:hover .step-num-wrap {
  border-color: var(--orange);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 123, 0, 0.2);
}

.leaf-sway {
  transform-origin: 0 0;
  transform-box: fill-box;
  animation: leafSwayKeyframes 3s ease-in-out infinite alternate;
  /* Promote to compositor layer to avoid layout triggers from 24 simultaneous animations */
  will-change: transform, filter;
  filter: drop-shadow(1px 3px 2px rgba(140, 60, 0, 0.35));
  transition: filter 0.25s ease-out;
  cursor: pointer;
  pointer-events: auto;
}

.leaf-sway:hover,
.leaf-sway:focus-visible {
  animation-play-state: paused;
  transform: scale(1.4) rotate(-12deg) !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease-out;
  filter: drop-shadow(2px 10px 8px rgba(140, 60, 0, 0.5)) brightness(1.12) saturate(1.25);
}

@keyframes leafSwayKeyframes {
  0% {
    transform: rotate(-6deg) scale(0.96);
  }
  50% {
    transform: rotate(0deg) scale(1.02);
  }
  100% {
    transform: rotate(6deg) scale(0.96);
  }
}

/* =============================================
   PORTFOLIO / FEATURED WORK (Carousel)
   ============================================= */
.portfolio-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 120px 0;
}

.portfolio-section .container {
  max-width: 1360px;
}

.portfolio-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 32px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.portfolio-title {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  letter-spacing: -1.5px;
}

.portfolio-title-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--orange); /* fallback */
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
}

.portfolio-see-all:hover {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 10, 15, 0.15);
}

.portfolio-see-all svg {
  transition: transform var(--transition);
}

.portfolio-see-all:hover svg {
  transform: translateX(3px);
}

/* Work Marquee */
/* Scrolled by js/work-marquee.js — auto-advances, and supports drag, swipe, wheel and arrows */
.work-marquee-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  cursor: grab;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.work-marquee-wrapper::-webkit-scrollbar {
  display: none;
}

.work-marquee-wrapper.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.work-marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
}

.work-marquee-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}

.work-marquee-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.work-marquee-nav button:hover,
.work-marquee-nav button:focus-visible {
  background: #111;
  color: #fff;
  border-color: #111;
}

.work-grid-item {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 520px;
}

.work-grid-image {
  display: block;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(20, 15, 10, 0.1), 0 2px 10px rgba(20, 15, 10, 0.04);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.work-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-grid-item:hover .work-grid-image {
  transform: translateY(-8px);
  border-color: rgba(255, 123, 0, 0.35);
  box-shadow: 0 30px 64px rgba(255, 123, 0, 0.2), 0 4px 14px rgba(20, 15, 10, 0.08);
}

.work-grid-item:hover .work-grid-image img {
  transform: scale(1.04);
}

.work-grid-title {
  margin-top: 26px;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
}

.work-grid-title a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

.work-grid-title a:hover {
  color: var(--orange-dark);
}

.work-grid-meta {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.work-grid-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 20px;
  background: var(--text-primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 20px rgba(10, 10, 15, 0.1);
}

.work-grid-btn:hover {
  background: var(--orange);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 123, 0, 0.28);
}

.work-grid-btn svg {
  transition: transform var(--transition);
}

.work-grid-btn:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 991px) {
  .portfolio-title {
    font-size: 2.6rem;
  }
  .portfolio-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .work-grid-item {
    width: min(320px, 85vw);
  }
}



.portfolio-card-meta {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.portfolio-card-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
}

.portfolio-card-premium:hover .portfolio-card-title {
  color: var(--orange);
}

/* =============================================
   TEAM / BOARD MEMBERS (Dark Studio Cutout Design)
   ============================================= */
.team-section {
  background-color: #030305;
  color: #FFFFFF;
  padding: 120px 0 140px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient radial glow behind header */
.team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 123, 0, 0.22) 0%, rgba(255, 123, 0, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.team-header-row {
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.team-title {
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.team-title-italic {
  font-family: var(--font-italic), 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 32px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 64px 36px;
  }

  .team-member-item.item-1,
  .team-member-item.item-2,
  .team-member-item.item-3,
  .team-member-item.item-4 {
    grid-column: span 3;
  }

  .team-member-item.item-5,
  .team-member-item.item-6,
  .team-member-item.item-7 {
    grid-column: span 4;
  }
}

.team-member-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.team-avatar-circle {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  background: #111116;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}

.team-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  filter: grayscale(100%) contrast(1.18) brightness(0.92);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.55s ease;
}

.team-member-item:hover .team-avatar-circle {
  border-color: var(--orange);
  box-shadow: 0 0 40px rgba(255, 123, 0, 0.4), 0 0 0 2px var(--orange);
  transform: translateY(-8px);
}

.team-member-item:hover .team-avatar-circle img {
  filter: grayscale(0%) contrast(1.02) brightness(1);
  transform: scale(1.08);
}

.team-member-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
  transition: color 0.3s ease;
}

.team-member-item:hover .team-member-name {
  color: var(--orange);
}

.team-member-role {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: #9494A0;
  margin: 0;
  letter-spacing: 0.1px;
}

@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
  .team-avatar-circle {
    width: 180px;
    height: 180px;
  }
  .team-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 575px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
  }
  .team-avatar-circle {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
  }
  .team-member-name {
    font-size: 1.1rem;
  }
  .team-member-role {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


.team-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.team-role {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   CUSTOMER TESTIMONIALS (Reference Design)
   ============================================= */
.testimonials-section {
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 85px 0 65px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Background Building Facade Graphic (Right) */
.testimonials-bg-facade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  background: url('../assets/images/building-facade.jpg') right top / cover no-repeat;
  opacity: 0.88;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 32%, rgba(0, 0, 0, 0.95) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.45) 32%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Background Concentric Orange Arcs (Bottom Left) */
.testimonials-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.testimonials-bg-circle.circle-1 {
  bottom: -150px;
  left: -150px;
  width: 440px;
  height: 440px;
  border: 2px solid rgba(255, 123, 0, 0.25);
  background: radial-gradient(circle, rgba(255, 123, 0, 0.05) 0%, transparent 70%);
}

.testimonials-bg-circle.circle-2 {
  bottom: -220px;
  left: -220px;
  width: 600px;
  height: 600px;
  border: 1px dashed rgba(255, 123, 0, 0.16);
}

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

/* --- Top Row: Ideas To Impact Script (Right) --- */
.testimonials-top-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.testimonials-top-branding {
  display: flex;
  align-items: center;
}

.testimonials-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.testimonials-ideas-impact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  top: -4px;
  right: 6px;
}

.testimonials-ideas-impact .ideas-script {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.05;
  color: #1A1A22;
  font-weight: 700;
  text-align: right;
  letter-spacing: -0.3px;
}

.testimonials-ideas-impact .ideas-arrow {
  margin-top: 4px;
  margin-right: 4px;
}

/* --- Section Header & Pill --- */
.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.trusted-partners-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.trusted-partners-pill .pill-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.trusted-partners-pill .pill-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #0A0A0F;
}

.testimonials-section .section-title {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0A0A0F;
  margin-bottom: 10px;
}

.testimonials-section .section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
}

/* --- Carousel Stage & Track --- */
.testimonials-carousel-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  padding: 24px 8px 30px;
}

.testimonials-carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}

/* --- Card Base (Inactive White Style) --- */
.testimonial-card {
  flex: 0 0 calc((100% - 56px) / 3);
  width: calc((100% - 56px) / 3);
  min-width: 0;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #ECECF2;
  border-radius: 22px;
  padding: 32px 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 10, 15, 0.04);
  transition: all 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.97);
  opacity: 0.92;
  cursor: pointer;
}

/* Card Header */
.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F4EBE3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.testimonial-avatar-initials {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #1A1A22;
  letter-spacing: 0.5px;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 700;
  color: #0A0A0F;
  letter-spacing: -0.2px;
  margin: 0;
  transition: color 0.4s ease;
}

.testimonial-role {
  font-size: 0.78rem;
  color: #6B6B80;
  font-weight: 500;
  transition: color 0.4s ease;
}

.testimonial-quote-mark {
  color: #F8B486;
  opacity: 0.85;
  line-height: 1;
  transition: all 0.4s ease;
}

/* Quote Text */
.testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.91rem;
  color: #2D2D3A;
  line-height: 1.68;
  font-weight: 450;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  transition: color 0.4s ease;
}

/* Stars */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.testimonial-stars svg {
  width: 17px;
  height: 17px;
  color: #FFB300;
  filter: drop-shadow(0 1px 2px rgba(255, 179, 0, 0.25));
  transition: color 0.4s ease;
}

/* Divider inside card */
.testimonial-card-divider {
  width: 100%;
  height: 1px;
  background: #ECECF2;
  margin-bottom: 14px;
  transition: background 0.4s ease;
  position: relative;
  z-index: 2;
}

/* Category Tag */
.testimonial-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #0A0A0F;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.testimonial-tag-icon {
  color: var(--orange);
  stroke: currentColor;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

/* Geometric X Watermark */
.testimonial-card-watermark {
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: 160px;
  height: 160px;
  color: rgba(0, 0, 0, 0.04);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* =============================================
   ACTIVE / CENTER CARD (VIBRANT ORANGE THEME)
   ============================================= */
.testimonial-card.active-card {
  background: linear-gradient(142deg, #FF7B00 0%, #F06A00 45%, #D45500 100%);
  border-color: transparent;
  transform: scale(1.048);
  box-shadow: 0 22px 55px rgba(255, 123, 0, 0.38), 0 0 0 1px rgba(255, 123, 0, 0.15);
  opacity: 1;
  z-index: 3;
}

.testimonial-card.active-card .testimonial-avatar {
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.testimonial-card.active-card .testimonial-avatar-initials {
  color: #FF7B00;
  font-weight: 800;
}

.testimonial-card.active-card .testimonial-name {
  color: #FFFFFF;
}

.testimonial-card.active-card .testimonial-role {
  color: rgba(255, 255, 255, 0.88);
}

.testimonial-card.active-card .testimonial-quote-mark {
  color: rgba(255, 255, 255, 0.35);
}

.testimonial-card.active-card .testimonial-quote {
  color: #FFFFFF;
}

.testimonial-card.active-card .testimonial-stars svg {
  color: #FFD43B;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
}

.testimonial-card.active-card .testimonial-card-divider {
  background: rgba(255, 255, 255, 0.22);
}

.testimonial-card.active-card .testimonial-tag {
  color: #FFFFFF;
}

.testimonial-card.active-card .testimonial-tag-icon {
  color: #FFFFFF;
}

.testimonial-card.active-card .testimonial-card-watermark {
  opacity: 1;
  color: rgba(0, 0, 0, 0.12);
}

/* Navigation Row */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 15px;
  position: relative;
  z-index: 3;
}

.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E4E4EF;
  background: #FFFFFF;
  color: #1A1A24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(10, 10, 15, 0.05);
  transition: all 0.25s ease;
}

.testimonial-nav-btn:hover {
  border-color: var(--orange);
  background: rgba(255, 123, 0, 0.08);
  color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(255, 123, 0, 0.18);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #D2D6DC;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dot:hover {
  background: rgba(255, 123, 0, 0.5);
}

.testimonial-dot.active {
  background: var(--orange);
  width: 26px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(255, 123, 0, 0.4);
}

/* Footer Meta Row */
.testimonials-footer-row {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 24px 30px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F1 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* Orange accent rail on the left edge */
.testimonials-footer-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad);
}

/* ---- Left: identity ---- */
.tfoot-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tfoot-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 123, 0, 0.3);
}

.tfoot-mark svg {
  width: 17px;
  height: 17px;
}

.tfoot-left-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tfoot-title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  line-height: 1.3;
}

.tfoot-sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ---- Center: rating ---- */
.tfoot-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 30px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.tfoot-rating-stars {
  display: flex;
  gap: 3px;
  color: var(--orange);
}

.tfoot-rating-stars svg {
  width: 15px;
  height: 15px;
}

.tfoot-rating-text {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

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

/* ---- Right: pillars + CTA ---- */
.tfoot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  min-width: 0;
}

.tfoot-pillars {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tfoot-pillar {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tfoot-pillar-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.6;
}

.tfoot-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.tfoot-cta svg {
  transition: transform var(--transition);
}

.tfoot-cta:hover {
  color: var(--orange-dark);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 65px 0 50px;
  }

  .testimonials-bg-facade {
    width: 200px;
    opacity: 0.4;
  }

  .testimonials-top-row {
    margin-bottom: 0;
  }

  .testimonials-brand-logo {
    height: 38px;
  }

  .testimonials-ideas-impact .ideas-script {
    font-size: 1.15rem;
  }

  .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 26px 22px 22px;
    transform: none !important;
  }

  .testimonial-card.active-card {
    transform: none !important;
  }

  .testimonials-footer-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
    padding: 26px 20px;
  }

  .tfoot-left {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .tfoot-left-text {
    align-items: center;
  }

  .tfoot-rating {
    padding: 20px 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .tfoot-right {
    align-items: center;
  }
}



/* =============================================
   FAQ
   ============================================= */
.faq-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #FAFAFA;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 28px;
  cursor: pointer;
  text-align: left;
  color: #0A0A0F;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition);
}

.faq-q:hover {
  background: rgba(255, 140, 0, 0.05);
}

.faq-q[aria-expanded="true"] {
  color: var(--orange);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--orange);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-a.open {
  max-height: 200px;
  padding: 0 28px 22px;
}

.faq-a p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: var(--grad);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-section .btn-grad {
  background: #fff;
  color: var(--orange-dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-grad:hover {
  opacity: 0.92;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  background-color: #F8F8F8;
  border-bottom: 1px solid var(--border);
}

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

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-val {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  word-break: break-word;
  overflow-wrap: anywhere;
}

a.contact-val:hover {
  color: var(--orange);
}

/* Form */
.contact-form-wrap {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: #F8F8F8;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #0A0A0F;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition);
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.08);
}

.form-response {
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  padding: 0;
  transition: all 0.3s;
}

.form-response.success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 12px 16px;
}

/* =============================================
   FOOTER (Dark Black Theme)
   ============================================= */
.main-footer {
  background: #030305;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer .dexos-logo-img {
  height: 64px;
  filter: drop-shadow(0 2px 10px rgba(255, 123, 0, 0.25));
}

.main-footer .container {
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-about {
  font-size: 0.85rem;
  color: #9494A0;
  line-height: 1.65;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.footer-links-col a {
  font-size: 0.87rem;
  color: #9494A0;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.footer-links-col a:hover {
  color: var(--orange);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #64748B;
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* =============================================
   LEGAL MODAL
   ============================================= */
.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.legal-modal.active {
  opacity: 1;
  pointer-events: all;
}

.legal-modal-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  max-width: 560px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.legal-modal-box h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #0A0A0F;
  margin-bottom: 18px;
}

.legal-modal-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition);
}

/* =============================================
   PRICING & FREELANCING SECTION
   ============================================= */
.pricing-section {
  position: relative;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.pricing-header {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}

.pricing-header .section-title {
  margin-top: 14px;
  margin-bottom: 16px;
}

.pricing-header .section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Interactive Server Add-on Switcher */
.pricing-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  background: #F4F4F8;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pricing-switch-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.save-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--orange);
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-toggle-btn {
  width: 52px;
  height: 28px;
  background: #D5D5E0;
  border-radius: 50px;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 3px;
  transition: background 0.3s ease;
  outline: none;
  flex-shrink: 0;
}

.pricing-toggle-btn.active {
  background: var(--orange);
}

.pricing-toggle-thumb {
  display: block;
  width: 22px;
  height: 22px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(0);
}

.pricing-toggle-btn.active .pricing-toggle-thumb {
  transform: translateX(24px);
}

/* 3-Column Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 60px;
}

.pricing-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 123, 0, 0.4);
}

/* Featured / Most Popular Card */
.pricing-card-featured {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F3 100%);
  border: 2px solid var(--orange);
  box-shadow: 0 8px 36px rgba(255, 123, 0, 0.14);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 123, 0, 0.22);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(255, 123, 0, 0.35);
  white-space: nowrap;
}

.pricing-badge-tier {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: #F0F0F5;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.pricing-badge-tier.featured-badge {
  color: var(--orange-dark);
  background: rgba(255, 123, 0, 0.12);
}

.pricing-card-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pricing-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  min-height: 48px;
  margin-bottom: 24px;
}

.pricing-price-box {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.price-val-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
}

.price-amount {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.price-period {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

.price-server-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.breakdown-tag {
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.breakdown-tag.base-tag {
  color: var(--text-muted);
}

.breakdown-tag.server-tag {
  color: var(--orange-dark);
  font-weight: 700;
}

/* Features Checklist */
.pricing-features {
  flex-grow: 1;
  margin-bottom: 30px;
}

.features-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.features-list li .check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 1px;
}

.features-list li.feature-server {
  background: rgba(255, 123, 0, 0.08);
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid var(--orange);
  transition: opacity 0.3s ease, background 0.3s ease;
}

.features-list li.feature-server.hidden {
  opacity: 0.35;
  text-decoration: line-through;
}

.pricing-card-footer {
  margin-top: auto;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--border);
  padding: 13px 26px;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 123, 0, 0.05);
  transform: translateY(-2px);
}

/* Modular Addons Grid */
.pricing-addons-wrap {
  background: #F9F9FC;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  margin-bottom: 40px;
}

.addons-header {
  margin-bottom: 30px;
  text-align: center;
}

.addons-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
  margin-bottom: 8px;
}

.addons-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.addon-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.addon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 0, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.addon-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 123, 0, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.addon-info {
  flex-grow: 1;
}

.addon-info h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.addon-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.addon-price {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
  background: rgba(255, 123, 0, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
}

/* Trust Guarantee Strip */
.pricing-trust-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 30px;
  background: #FFFFFF;
  border: 1px dashed rgba(255, 123, 0, 0.4);
  border-radius: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.trust-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
}

/* Form Select */
.form-select {
  background: #F8F8F8;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #0A0A0F;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.15);
  background: #FFFFFF;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {

  /* Nav switches to mobile */
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Logo scaling */
  .dexos-logo {
    height: 55px;
  }

  .hero {
    min-height: auto;
  }

  .hero-headline {
    font-size: clamp(48px, 6vw, 72px);
  }

  .hero-left {
    width: 55%;
    padding: 120px 40px 60px calc((100vw - min(92vw, 1200px)) / 2);
  }

  .hero-right {
    width: 45%;
    padding: 120px 40px 60px 30px;
  }

  .hero-visual {
    max-width: 300px;
    height: 380px;
  }

  .hero-card {
    min-width: 180px;
    padding: 18px 20px;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .pricing-card-featured {
    transform: scale(1.02);
  }
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto 50px;
    gap: 28px;
  }

  .pricing-card-featured {
    transform: none;
    margin-top: 14px;
    margin-bottom: 14px;
  }

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

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

@media (max-width: 768px) {

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 50px;
    gap: 24px;
  }

  .pricing-card-featured {
    transform: none;
  }

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

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

  .pricing-switch-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    padding: 10px 18px;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    margin: 24px auto 0;
  }

  .pricing-switch-label {
    font-size: 0.86rem;
    text-align: center;
  }

  .save-pill {
    font-size: 0.7rem;
    padding: 2px 7px;
    margin-left: 4px;
    white-space: nowrap;
  }

  .pricing-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-select {
    font-size: 16px;
    padding: 12px 14px;
  }

  /* Logo scaling */
  .main-header .dexos-logo-img {
    height: 66px;
  }
  .main-header.scrolled .dexos-logo-img {
    height: 52px;
  }

  /* Hero stacks vertically */
  .hero {
    flex-direction: column;
  }

  .hero-left {
    width: 100%;
    padding: 120px calc((100vw - min(92vw, 1200px)) / 2) 40px;
  }

  .hero-right {
    width: 100%;
    padding: 20px 32px 60px;
  }

  .hero-headline {
    font-size: clamp(48px, 10vw, 68px);
  }

  .hero-visual {
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 320px;
    animation: none;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stat-num {
    font-size: 36px;
  }

  .hero-stat-divider {
    margin: 0 20px;
  }

  /* Stats bar */
  .stats-bar-inner {
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider {
    display: none;
  }

  /* Grids */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-visual-wrap {
    margin-top: 24px;
  }
  
  .vision-card {
    padding: 24px 20px;
  }
  
  .vision-card-content {
    padding-right: 15px;
  }
  
  .vision-card-num {
    font-size: 3rem;
    right: 20px;
  }

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



  .portfolio-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
  }

  .portfolio-title {
    font-size: 2.5rem;
  }

  .portfolio-card-premium {
    width: min(320px, 85vw);
  }

  .portfolio-marquee-track {
    gap: 20px;
    --marquee-gap-offset: 10px;
  }

  .process-steps {
    flex-direction: column;
    gap: 40px;
    height: auto;
    padding-left: 50px;
    position: relative;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    bottom: 30px;
    width: 10px;
    background: #E5E4E2;
    border-radius: 5px;
    z-index: 1;
  }

  .process-steps::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: var(--orange);
    z-index: 2;
  }

  .process-connector {
    display: none;
  }

  .process-step {
    width: 100%;
    position: relative;
    display: block;
    height: auto;
    margin-bottom: 20px;
  }

  .process-step:last-child {
    margin-bottom: 0;
  }

  .step-card {
    position: relative;
    left: 0;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  }

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

  .step-connector {
    position: static;
    transform: none;
    width: auto;
    height: auto;
  }

  .step-line {
    display: none;
  }

  .step-num-wrap {
    left: -25px;
    top: 36px;
    transform: translate(-50%, -50%) !important;
    width: 48px;
    height: 48px;
    border-width: 2px;
  }

  .step-num {
    font-size: 1.3rem;
  }

  .process-step:hover .step-num-wrap {
    transform: translate(-50%, -50%) scale(1.1) !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .container {
    padding: 64px 0;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 48px 0;
    width: 90%;
  }

  .hero-left {
    padding: 100px calc((100vw - min(90vw, 1200px)) / 2) 40px;
  }

  .hero-right {
    padding: 16px 20px 40px;
  }

  .hero-headline {
    font-size: clamp(40px, 12vw, 56px);
  }

  /* Logo scaling */
  .main-header .dexos-logo-img {
    height: 58px;
  }
  .main-header.scrolled .dexos-logo-img {
    height: 46px;
  }

  /* Pricing mobile tuning */
  .pricing-header .section-sub {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .pricing-switch-wrap {
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .pricing-card {
    padding: 26px 18px;
    border-radius: 16px;
  }

  .pricing-card-title {
    font-size: 1.35rem;
  }

  .pricing-card-desc {
    font-size: 0.85rem;
    min-height: auto;
    margin-bottom: 18px;
  }

  .price-amount {
    font-size: 1.9rem;
  }

  .price-currency {
    font-size: 1.3rem;
  }

  .price-val-row {
    flex-wrap: wrap;
    align-items: baseline;
  }

  .breakdown-tag {
    font-size: 0.74rem;
  }

  .pricing-card .features-list li {
    font-size: 0.84rem;
    gap: 8px;
  }

  .pricing-addons-wrap {
    padding: 22px 14px;
    border-radius: 16px;
  }

  .addons-title {
    font-size: 1.3rem;
  }

  .addon-card {
    padding: 14px 12px;
    gap: 10px;
    border-radius: 12px;
  }

  .addon-icon {
    width: 36px;
    height: 36px;
  }

  .addon-info h4 {
    font-size: 0.95rem;
  }

  .addon-price {
    font-size: 0.82rem;
    padding: 3px 8px;
  }

  /* Contact mobile tuning */
  .contact-grid {
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .contact-items {
    margin-top: 20px;
    gap: 16px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

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

  .contact-label {
    font-size: 0.72rem;
  }

  .contact-val {
    font-size: 0.88rem;
  }

  .btn-grad.btn-full {
    font-size: 0.92rem;
    padding: 12px 18px;
    min-height: 48px;
  }
}

/* =============================================
   PAGE PRELOADER
   ============================================= */

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

.page-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.preloader-brand {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  text-transform: uppercase;
}

.preloader-brand strong {
  color: #FF7B00;
  font-weight: 700;
}

/* ---- Uiverse Bouncing Ball Loader (adapted) ---- */
.loader {
  position: relative;
  width: 120px;
  height: 90px;
  margin: 0 auto;
}

.loader::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #FF7B00;
  animation: preloader-bounce 0.5s ease-in-out infinite alternate;
}

.loader::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 7px;
  width: 45px;
  border-radius: 4px;
  box-shadow:
    0 5px 0 rgba(255, 123, 0, 0.2),
    -35px 50px 0 rgba(255, 123, 0, 0.2),
    -70px 95px 0 rgba(255, 123, 0, 0.2);
  animation: preloader-step 1s ease-in-out infinite;
}

@keyframes preloader-bounce {
  0%   { transform: scale(1, 0.7); }
  40%  { transform: scale(0.8, 1.2); }
  60%  { transform: scale(1, 1); }
  100% { bottom: 140px; }
}

@keyframes preloader-step {
  0% {
    box-shadow:
      0 10px 0 rgba(0, 0, 0, 0),
      0 10px 0 rgba(255, 123, 0, 0.25),
      -35px 50px 0 rgba(255, 123, 0, 0.25),
      -70px 90px 0 rgba(255, 123, 0, 0.25);
  }
  100% {
    box-shadow:
      0 10px 0 rgba(255, 123, 0, 0.25),
      -35px 50px 0 rgba(255, 123, 0, 0.25),
      -70px 90px 0 rgba(255, 123, 0, 0.25),
      -70px 90px 0 rgba(0, 0, 0, 0);
  }
}

/* =============================================
   HERO — MOUSE-RESPONSIVE 3D ENHANCEMENTS
   ============================================= */
.hero {
  perspective: 1400px;
}

/* 3D tilt stage for floating cards */
.hero-visual {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.05s linear;
}

/* Cards inherit the 3D perspective space */
.hero-card {
  transform-style: preserve-3d;
  /* Override default heroFloat animation to allow JS-driven tilt.
     JS will add inline style; animation continues via JS interpolation */
}

/* Subtle specular glare overlay on cards */
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    rgba(255, 200, 120, 0.05) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-card:hover::after {
  opacity: 1;
}

/* Full-Hero Background Connected Strand Animation Canvas */
#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: 0;
}

/* Ensure cards sit above canvas */
.hero-card {
  z-index: 2;
  position: absolute;
}

/* Enhanced hero gradient with additional depth cues */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255, 123, 0, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 200, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

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

/* =============================================
   SERVICES — ANIMATED ORANGE CARDS & AMBIENT BUBBLES
   ============================================= */
.services-cards-section {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 650px 450px at 6% 18%, rgba(255, 123, 0, 0.12) 0%, transparent 68%),
    radial-gradient(ellipse 700px 500px at 94% 80%, rgba(255, 145, 0, 0.11) 0%, transparent 70%),
    radial-gradient(ellipse 800px 600px at 50% 50%, rgba(255, 245, 235, 0.7) 0%, #FFFDFC 100%);
}

/* ---------------------------------------------
   AMBIENT WATER BUBBLE SYSTEM (White Spaces)
   --------------------------------------------- */
.ambient-bubbles-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ambient-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 28%, 
    rgba(255, 255, 255, 0.96) 0%, 
    rgba(255, 255, 255, 0.62) 15%, 
    rgba(255, 180, 85, 0.3) 38%, 
    rgba(255, 123, 0, 0.5) 72%, 
    rgba(230, 95, 0, 0.82) 100%);
  box-shadow: 
    inset 0 3px 8px rgba(255, 255, 255, 0.88),
    inset 0 -5px 12px rgba(255, 110, 0, 0.52),
    0 10px 28px rgba(255, 123, 0, 0.22);
  filter: drop-shadow(0 4px 14px rgba(255, 123, 0, 0.2));
  will-change: transform;
}

/* Primary specular reflection dot */
.ambient-bubble::before {
  content: '';
  position: absolute;
  top: 16%;
  left: 20%;
  width: 30%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  transform: rotate(-35deg);
  filter: blur(0.4px);
}

/* Secondary internal reflection sheen */
.ambient-bubble::after {
  content: '';
  position: absolute;
  bottom: 18%;
  right: 22%;
  width: 16%;
  height: 12%;
  border-radius: 50%;
  background: rgba(255, 215, 170, 0.68);
  transform: rotate(-25deg);
  filter: blur(0.4px);
}

/* Services Ambient Bubbles */
.bubble-1 {
  width: 90px;
  height: 90px;
  top: 6%;
  left: 3%;
  animation: floatBubbleA 14s ease-in-out infinite alternate;
}
.bubble-2 {
  width: 65px;
  height: 65px;
  top: 26%;
  right: 4%;
  animation: floatBubbleB 12s ease-in-out infinite alternate;
  animation-delay: -3s;
}
.bubble-3 {
  width: 110px;
  height: 110px;
  bottom: 10%;
  left: 4%;
  animation: floatBubbleC 16s ease-in-out infinite alternate;
  animation-delay: -6s;
}
.bubble-4 {
  width: 75px;
  height: 75px;
  bottom: 18%;
  right: 3%;
  animation: floatBubbleA 13s ease-in-out infinite alternate;
  animation-delay: -4.5s;
}
.bubble-5 {
  width: 50px;
  height: 50px;
  top: 55%;
  left: 2%;
  animation: floatBubbleB 10s ease-in-out infinite alternate;
  animation-delay: -1.5s;
}
.bubble-6 {
  width: 82px;
  height: 82px;
  top: 10%;
  right: 12%;
  animation: floatBubbleC 15s ease-in-out infinite alternate;
  animation-delay: -8s;
}

/* Process Section Ambient Bubbles */
.bubble-7 {
  width: 95px;
  height: 95px;
  top: 8%;
  left: 4%;
  animation: floatBubbleB 14s ease-in-out infinite alternate;
}
.bubble-8 {
  width: 70px;
  height: 70px;
  top: 12%;
  right: 5%;
  animation: floatBubbleA 11s ease-in-out infinite alternate;
  animation-delay: -2s;
}
.bubble-9 {
  width: 105px;
  height: 105px;
  bottom: 6%;
  left: 7%;
  animation: floatBubbleC 15s ease-in-out infinite alternate;
  animation-delay: -5s;
}
.bubble-10 {
  width: 60px;
  height: 60px;
  bottom: 12%;
  right: 6%;
  animation: floatBubbleB 13s ease-in-out infinite alternate;
  animation-delay: -7s;
}

@keyframes floatBubbleA {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(16px, -28px) scale(1.05); }
  66%  { transform: translate(-14px, -52px) scale(0.96); }
  100% { transform: translate(10px, -76px) scale(1.02); }
}

@keyframes floatBubbleB {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-18px, -24px) scale(0.95); }
  66%  { transform: translate(15px, -56px) scale(1.06); }
  100% { transform: translate(-10px, -80px) scale(1); }
}

@keyframes floatBubbleC {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(22px, -42px) scale(1.08); }
  100% { transform: translate(-18px, -84px) scale(0.98); }
}

/* ---------------------------------------------
   3-COL AUTO GRID FOR SERVICES
   --------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------
   ANIMATED ORANGE SERVICE CARDS
   --------------------------------------------- */
.svc-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 244, 0.96) 50%, rgba(255, 241, 227, 0.92) 100%);
  border: 1.5px solid rgba(255, 123, 0, 0.24);
  border-radius: 20px;
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 6px 24px rgba(255, 123, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.38s ease,
              background 0.38s ease;
  animation: cardWaterBob 5.5s ease-in-out infinite;
}

/* Stagger floating bobbing animation across the 9 cards */
.svc-grid .svc-card:nth-child(1) { animation-delay: 0.0s; }
.svc-grid .svc-card:nth-child(2) { animation-delay: 0.8s; }
.svc-grid .svc-card:nth-child(3) { animation-delay: 1.6s; }
.svc-grid .svc-card:nth-child(4) { animation-delay: 2.4s; }
.svc-grid .svc-card:nth-child(5) { animation-delay: 0.4s; }
.svc-grid .svc-card:nth-child(6) { animation-delay: 1.2s; }
.svc-grid .svc-card:nth-child(7) { animation-delay: 2.0s; }
.svc-grid .svc-card:nth-child(8) { animation-delay: 2.8s; }
.svc-grid .svc-card:nth-child(9) { animation-delay: 1.0s; }

@keyframes cardWaterBob {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Vivid glowing orange top stripe */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #FF7B00 0%, #FFA84A 50%, #FF7B00 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease, height 0.3s ease;
  border-radius: 20px 20px 0 0;
}

/* Glossy light-shimmer diagonal sweep */
.svc-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 100%
  );
  transform: rotate(25deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.8s ease;
}

.svc-card:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.015);
  box-shadow: 
    0 20px 48px rgba(255, 123, 0, 0.22),
    0 0 0 1.5px rgba(255, 123, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(255, 123, 0, 0.65);
  background: linear-gradient(155deg, #FFFFFF 0%, #FFF5EC 50%, #FFE9D3 100%);
}

.svc-card:hover::before {
  opacity: 1;
  height: 4.5px;
}

.svc-card:hover::after {
  opacity: 1;
  transform: rotate(25deg) translate(280%, -20%);
}

/* Glowing orange icon badge */
.svc-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 123, 0, 0.16) 0%, rgba(255, 123, 0, 0.06) 100%);
  border: 1.5px solid rgba(255, 123, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 123, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-icon-wrap {
  background: linear-gradient(135deg, #FF7B00 0%, #E66600 100%);
  border-color: transparent;
  color: #FFFFFF;
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 8px 22px rgba(255, 123, 0, 0.45);
}

.svc-icon-wrap svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.svc-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.svc-link:hover {
  gap: 8px;
  color: var(--orange-dark);
}

/* Responsive: 2 cols on tablet */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Responsive: 1 col on mobile */
@media (max-width: 600px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services-cards-section {
    padding: 64px 0 56px;
  }
}


/* =============================================
   TEAM — STREAMLINED PHOTO CARDS
   ============================================= */
.team-section .team-card {
  padding: 18px 18px 22px;
}


/* =============================================
   PRICING — CLEAN DIRECT FEATURES
   ============================================= */
.pricing-features {
  flex-grow: 1;
  margin-top: 20px;
  margin-bottom: 28px;
}

.pricing-features .features-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.pricing-card .features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.pricing-card .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-card .features-list .check-icon {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .features-list li strong {
  color: var(--text-primary);
}
