/* ============================================================
   TELOSFLOW — Main Stylesheet (v.3)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* ============================================================
   V3 ENHANCEMENTS
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #E8621A, #F5A623, #FF7A2F);
  z-index: 10000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(232, 98, 26, 0.6);
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Floating CTA (mobile) */
.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #E8621A, #F5A623);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(232, 98, 26, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta.visible {
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 769px) {
  .floating-cta { display: none; }
}

/* Hero grid (2 columns) — overrides default .hero-content centering */
.hero-content.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  width: 100%;
  text-align: left;
  padding: 60px 40px;
}

.hero-text {
  text-align: left;
}

.hero-text .hero-title {
  text-align: left;
}

.hero-text .hero-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero-text .hero-ctas {
  justify-content: flex-start;
}

.hero-text .hero-stats {
  margin-left: 0;
}

/* Letter-by-letter reveal */
.hero-title-reveal .reveal-line {
  display: inline-block;
  overflow: hidden;
}

.hero-title-reveal .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  filter: blur(8px);
  animation: revealWord 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  margin-right: 0.25em;
}

.hero-title-reveal .reveal-line:nth-child(1) .reveal-word:nth-child(1) { animation-delay: 0.1s; }
.hero-title-reveal .reveal-line:nth-child(1) .reveal-word:nth-child(2) { animation-delay: 0.2s; }
.hero-title-reveal .reveal-line:nth-child(1) .reveal-word:nth-child(3) { animation-delay: 0.3s; }
.hero-title-reveal .reveal-line:nth-child(3) .reveal-word:nth-child(1) { animation-delay: 0.5s; }
.hero-title-reveal .reveal-line:nth-child(3) .reveal-word:nth-child(2) { animation-delay: 0.6s; }
.hero-title-reveal .reveal-line:nth-child(3) .reveal-word:nth-child(3) { animation-delay: 0.7s; }
.hero-title-reveal .reveal-line:nth-child(3) .reveal-word:nth-child(4) { animation-delay: 0.8s; }

@keyframes revealWord {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 620px;
  background: linear-gradient(145deg, #1A1A24, #0A0A0F);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(232, 98, 26, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(2deg) translateY(0); }
  50%      { transform: rotateY(-8deg) rotateX(2deg) translateY(-12px); }
}

.phone-mockup:hover {
  transform: rotateY(-2deg) rotateX(0deg) scale(1.02);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 100px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #08080C;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 38px 18px 14px;
  background: rgba(20, 20, 28, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8621A, #F5A623);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.phone-header-info {
  display: flex;
  flex-direction: column;
}

.phone-header-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #F5F5F5;
}

.phone-header-status {
  font-size: 0.7rem;
  color: #A0A0B0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: statusPulse 2s ease-in-out infinite;
}

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

.phone-chat {
  flex: 1;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  animation: chatBubbleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-bubble.customer {
  align-self: flex-end;
  background: linear-gradient(135deg, #E8621A, #F5A623);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: #F5F5F5;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 4px;
}

.chat-bubble-1 { animation-delay: 1.2s; }
.chat-bubble-2 { animation-delay: 2.0s; }
.chat-bubble-3 { animation-delay: 2.8s; }
.chat-bubble-5 { animation-delay: 4.6s; }

/* Typing bubble: appears at 3.6s, fades out at 4.5s when reply arrives */
.chat-bubble-4 {
  animation: chatTypingInOut 1.0s cubic-bezier(0.16, 1, 0.3, 1) 3.6s forwards;
}

@keyframes chatBubbleIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chatTypingInOut {
  0%   { opacity: 0; transform: translateY(15px) scale(0.95); height: auto; padding: 14px 16px; margin-top: 0; }
  20%  { opacity: 1; transform: translateY(0) scale(1); height: auto; padding: 14px 16px; }
  80%  { opacity: 1; transform: translateY(0) scale(1); height: auto; padding: 14px 16px; }
  100% { opacity: 0; transform: scale(0.6); height: 0; padding: 0 16px; margin-top: -10px; }
}

.chat-bubble.typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
}

.chat-bubble.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A0A0B0;
  animation: typingDot 1.4s ease-in-out infinite;
}

.chat-bubble.typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-bubble.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, rgba(232, 98, 26, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: phoneGlowPulse 4s ease-in-out infinite;
}

@keyframes phoneGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* Magnetic button */
.btn-magnetic {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D tilt service cards */
.service-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(232, 98, 26, 0.08),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

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

.service-card-inner {
  position: relative;
  z-index: 2;
  transform: translateZ(20px);
}

/* Step number lit-up sequential — keep number visible throughout */
.step-number {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s ease,
              box-shadow 0.6s ease;
}

.step.lit .step-number {
  border-color: var(--orange);
  background: rgba(232, 98, 26, 0.12);
  color: var(--orange);
  transform: scale(1.1);
  box-shadow: 0 0 32px rgba(232, 98, 26, 0.55);
}

/* About photo tilt + pulse */
.about-photo-wrap {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.about-photo-wrap:hover {
  transform: rotateY(-4deg) rotateX(2deg) scale(1.02);
}

.about-photo-glow {
  animation: aboutGlowPulse 4s ease-in-out infinite;
}

@keyframes aboutGlowPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1;   }
}

/* Hero stats — staggered entrance via CSS keyframes (no flash) */
.hero-stat strong {
  display: inline-block;
  background: linear-gradient(135deg, #E8621A, #F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats .hero-stat {
  opacity: 0;
  transform: translateY(10px);
  animation: heroStatIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stats .hero-stat:nth-of-type(1) { animation-delay: 1.0s; }
.hero-stats .hero-stat:nth-of-type(3) { animation-delay: 1.15s; }
.hero-stats .hero-stat:nth-of-type(5) { animation-delay: 1.3s; }

@keyframes heroStatIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .phone-mockup { animation: none; transform: none; }
  .phone-glow   { animation: none; }
  .scroll-progress { transition: none; }
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-content.hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }
  .hero-text { text-align: center; order: 1; }
  .hero-text .hero-title,
  .hero-text .hero-subtitle { text-align: center; }
  .hero-text .hero-ctas { justify-content: center; }
  .hero-text .hero-stats { margin: 32px auto 0; }
  .hero-visual { order: 2; }
  .phone-mockup {
    width: 220px;
    height: 430px;
    transform: rotateY(0deg) rotateX(0deg);
    animation: phoneFloatMobile 6s ease-in-out infinite;
  }
  .phone-mockup:hover {
    transform: scale(1.02);
  }
  @keyframes phoneFloatMobile {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
  }
}

@media (max-width: 768px) {
  .phone-mockup { width: 200px; height: 390px; }
  .phone-header { padding: 32px 14px 12px; }
  .chat-bubble { font-size: 0.75rem; padding: 8px 12px; }
  .floating-cta { bottom: 16px; padding: 12px 22px; font-size: 0.88rem; }
}


/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-primary:      #0A0A0F;
  --bg-alt:          #111118;
  --bg-card:         #111118;
  --border:          #1E1E2E;
  --orange:          #E8621A;
  --orange-gold:     #F5A623;
  --orange-glow:     #FF7A2F;
  --text-primary:    #F5F5F5;
  --text-muted:      #A0A0B0;
  --text-dim:        #6B6B7E;

  --gradient-orange: linear-gradient(135deg, var(--orange) 0%, var(--orange-gold) 100%);
  --gradient-glow:   linear-gradient(135deg, var(--orange-glow) 0%, var(--orange-gold) 100%);
  --shadow-card:     0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow:     0 0 30px rgba(232, 98, 26, 0.25);
  --shadow-glow-lg:  0 0 60px rgba(232, 98, 26, 0.35);

  --nav-height:      72px;
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       32px;

  --transition-fast: 0.2s ease;
  --transition-med:  0.35s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.alt-section {
  background-color: var(--bg-alt);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 4px 12px;
  border: 1px solid rgba(232, 98, 26, 0.3);
  border-radius: 100px;
  background: rgba(232, 98, 26, 0.08);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-med);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 98, 26, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 98, 26, 0.55);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary > * { position: relative; z-index: 1; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 20px rgba(232, 98, 26, 0.15);
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 32px;
  font-size: 1rem;
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  height: var(--nav-height);
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

/* Main row */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left cluster: hamburger + logo + links */
.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Right cluster: CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ---- Logo ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-telos {
  color: #F5F5F5;
  font-weight: 800;
}

.logo-flow {
  color: #E8621A;
  font-weight: 800;
}

/* ---- Desktop nav links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Underline accent on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transition: transform var(--transition-med);
  transform-origin: left;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* ---- CTA button ---- */
.nav-cta {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ---- Animated hamburger (SVG paths) ---- */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-primary);
  background: transparent;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* SVG path animations — mirrors the OriginUI component */
.nav-hamburger svg path {
  transform-origin: center;
}

.ham-line-1 {
  transform: translateY(-7px);
  transition: transform 0.3s cubic-bezier(.5,.85,.25,1.1);
}

.ham-line-2 {
  transition: transform 0.3s cubic-bezier(.5,.85,.25,1.8);
}

.ham-line-3 {
  transform: translateY(7px);
  transition: transform 0.3s cubic-bezier(.5,.85,.25,1.1);
}

.nav-hamburger.active .ham-line-1 {
  transform: translateY(0) rotate(315deg);
}

.nav-hamburger.active .ham-line-2 {
  transform: rotate(45deg);
}

.nav-hamburger.active .ham-line-3 {
  transform: translateY(0) rotate(135deg);
}

/* ---- Mobile Drawer ---- */
.mobile-drawer {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(.5,.85,.25,1.1),
              opacity 0.25s ease;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 8px 16px 0;
  gap: 2px;
  list-style: none;
}

.mobile-nav-link {
  display: block;
  padding: 11px 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition-fast);
}

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

.mobile-nav-links li:last-child .mobile-nav-link {
  border-bottom: none;
}

.mobile-drawer-cta {
  padding: 16px;
}

.mobile-drawer-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 98, 26, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
  bottom: 100px;
  left: -80px;
  animation-delay: -3s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 122, 47, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-30px) scale(1.05); }
  66%       { transform: translateY(15px) scale(0.97); }
}

.orb-3 {
  animation-name: orbFloat3;
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.15); }
}

/* Circuit decoration */
.circuit-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.circuit-svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.circuit-left  { left: 0; }
.circuit-right { right: 0; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(232, 98, 26, 0.4);
  background: rgba(232, 98, 26, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(17, 17, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 520px;
  margin: 0 auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.hero-stat strong {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover { color: var(--orange); }

.scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-orange);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.problem-card:hover {
  border-color: rgba(232, 98, 26, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

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

.problem-icon {
  width: 60px;
  height: 60px;
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: background var(--transition-med);
}

.problem-card:hover .problem-icon {
  background: rgba(232, 98, 26, 0.18);
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.problem-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.problem-transition {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.transition-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  max-width: 200px;
}

.transition-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.transition-text:hover {
  color: var(--orange);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* 2-card layout: centered, wider cards */
.services-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
}

.services-bundle {
  text-align: center;
  margin-top: 40px;
  font-size: 1rem;
  color: var(--text-muted);
}

.services-bundle a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.services-bundle a:hover {
  color: var(--orange-bright);
}

.service-card {
  border-radius: var(--radius-md);
  transition: transform var(--transition-med);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card:hover .service-card-inner {
  border-color: rgba(232, 98, 26, 0.45);
  box-shadow: var(--shadow-glow-lg);
}

.service-card-featured .service-card-inner {
  border-color: rgba(232, 98, 26, 0.35);
  background: linear-gradient(135deg, rgba(232, 98, 26, 0.06) 0%, var(--bg-card) 60%);
}

.service-card-featured:hover .service-card-inner {
  border-color: var(--orange);
  box-shadow: 0 0 80px rgba(232, 98, 26, 0.4);
}

/* Subtle shimmer on cards */
.service-card-inner::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  transition: left 0.8s ease;
}

.service-card:hover .service-card-inner::after { left: 150%; }

.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-orange);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.service-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.7;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  transition: all var(--transition-med);
}

.service-card:hover .service-icon {
  background: rgba(232, 98, 26, 0.2);
  box-shadow: 0 0 20px rgba(232, 98, 26, 0.3);
}

.service-card-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-features li svg { color: var(--orange); flex-shrink: 0; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-link:hover { gap: 10px; color: var(--orange-gold); }

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 16px;
  /* prevent first/last step text from hitting the page edge */
  padding: 0 8px;
}

.steps-line {
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(232, 98, 26, 0.5), var(--border));
  z-index: 0;
  /* sits below the circles */
  pointer-events: none;
}

.steps-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-orange);
  transform: translateY(-50%);
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(232, 98, 26, 0.6);
}

.steps-line.drawn::after {
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
  /* ensure text doesn't overflow the column */
  min-width: 0;
}

.step-number-wrap {
  margin-bottom: 20px;
  /* circles must always sit above the connecting line */
  position: relative;
  z-index: 3;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--orange);
  transition: all var(--transition-med);
  position: relative;
  z-index: 3;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(232, 98, 26, 0.2);
  /* solid background covers the orange line in the gap between ring and circle */
  background: var(--bg-primary);
  z-index: -1;
  transition: all var(--transition-med);
}

.step:hover .step-number {
  background: rgba(232, 98, 26, 0.12);
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(232, 98, 26, 0.35);
}

.step:hover .step-number::after {
  border-color: rgba(232, 98, 26, 0.45);
  inset: -8px;
  background: var(--bg-primary);
}

.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 98, 26, 0.08);
  border: 1px solid rgba(232, 98, 26, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--orange);
  transition: all var(--transition-med);
}

.step:hover .step-icon {
  background: rgba(232, 98, 26, 0.15);
  box-shadow: 0 0 16px rgba(232, 98, 26, 0.25);
}

.step-content {
  width: 100%;
  min-width: 0;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  word-break: break-word;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  word-break: break-word;
}

.step-timing {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.25);
  border-radius: 100px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.how-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ============================================================
   RESULTS SECTION
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-orange);
}

.stat-card:hover {
  border-color: rgba(232, 98, 26, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.stat-counter {
  font-size: 4rem;
  font-weight: 800;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-static {
  font-size: 3.25rem;
  font-weight: 800;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Tools strip */
.tools-strip {
  margin-top: 64px;
  text-align: center;
}

.tools-strip-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.tools-strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 36px;
}

.tool-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  letter-spacing: -0.01em;
}

.tool-logo:hover {
  opacity: 1;
  color: var(--orange);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.stat-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-orange);
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card.counted .stat-bar-fill {
  width: var(--fill);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}

.testimonial-card:hover {
  border-color: rgba(232, 98, 26, 0.35);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote {
  color: var(--orange);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 28px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-container {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-cta {
  margin-top: 48px;
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.faq-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
}

.faq-cta-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.faq-cta-link:hover {
  color: var(--orange-bright);
}

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

.faq-item.open {
  border-color: rgba(232, 98, 26, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--orange); }

.faq-item.open .faq-question { color: var(--orange); }

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  transition: transform var(--transition-med), background var(--transition-med);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(232, 98, 26, 0.2);
}

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

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-label { margin-bottom: 20px; }
.contact-info .section-title { text-align: left; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

.contact-pitch {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 20px 0 32px;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232, 98, 26, 0.15);
  border: 1px solid rgba(232, 98, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid rgba(232, 98, 26, 0.3);
  background: rgba(232, 98, 26, 0.07);
  padding: 8px 16px;
  border-radius: 100px;
}

/* Direct contact alternatives */
.contact-alt {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-alt-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.contact-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 24px;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

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

/* Signature block */
.contact-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232, 98, 26, 0.4);
  flex-shrink: 0;
}

.contact-sig-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.contact-sig-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Form reassurance lines */
.form-reassurance {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  margin: 12px 0 0 0;
}

.form-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 4px 0 0 0;
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required { color: var(--orange); }

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A0A0B0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Dropdown options: force dark theme so text reads on system white background */
.form-group select option {
  background-color: #1A1A24;
  color: #F5F5F5;
  font-weight: 600;
  padding: 10px;
}

.form-group select option:checked,
.form-group select option:hover {
  background-color: #E8621A;
  color: #fff;
}

.phone-input-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .phone-input-row { grid-template-columns: 1fr; }
}

.phone-input-row .phone-code {
  width: 100%;
  font-weight: 600;
}

.phone-input-row .phone-number {
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 98, 26, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e84444;
}

.field-error {
  font-size: 0.8rem;
  color: #e84444;
  min-height: 16px;
}

/* Submit button */
#submitBtn {
  margin-top: 4px;
}

.btn-loading { display: inline-flex; align-items: center; gap: 8px; }

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

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

/* Success message — full takeover, branded */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 48px 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 98, 26, 0.12), transparent 60%),
    var(--bg-card);
  border: 1px solid rgba(232, 98, 26, 0.35);
  border-radius: var(--radius-lg);
  animation: successFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.success-icon-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  box-shadow: 0 0 40px rgba(232, 98, 26, 0.4);
  margin-bottom: 8px;
}

.success-icon {
  color: #0A0A0F;
  stroke-width: 3;
  animation: successCheck 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes successCheck {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0;
  animation: successPulse 1.8s ease-out 0.4s infinite;
}

@keyframes successPulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0;   }
}

.success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0;
  line-height: 1.55;
}

.success-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.25);
  border-radius: 100px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #07070B;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

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

.footer-nav h4,
.footer-contact h4,
.footer-cta h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-nav ul a:hover { color: var(--orange); }

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-built {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 12px;
  font-style: italic;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

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

.footer-legal a:hover { color: var(--orange); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
  position: relative;
  z-index: 1;
}

.about-photo-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(232, 98, 26, 0.4), rgba(245, 166, 35, 0.2), transparent 60%);
  border-radius: var(--radius-lg);
  filter: blur(20px);
  opacity: 0.7;
  z-index: 0;
}

.about-content .section-title {
  margin-top: 12px;
  text-align: left;
}

.about-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  text-align: left;
}

.about-current {
  position: relative;
  padding: 18px 20px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, rgba(232, 98, 26, 0.08), rgba(245, 166, 35, 0.04));
  border: 1px solid rgba(232, 98, 26, 0.3);
  border-radius: var(--radius-md);
}

.about-current::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.about-current-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.about-current p {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
}

.about-credentials-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232, 98, 26, 0.2);
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.about-credentials li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.credential-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 98, 26, 0.1);
  border: 1px solid rgba(232, 98, 26, 0.3);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-credentials strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-credentials span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.about-stack-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.tech-tag:hover {
  color: var(--orange);
  border-color: rgba(232, 98, 26, 0.4);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .about-content .section-title {
    text-align: center;
  }
  .about-intro {
    text-align: center;
  }
}

/* ============================================================
   LEGAL PAGES (Privacy, Terms)
   ============================================================ */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-container {
  max-width: 820px;
}

.legal-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 12px 0 8px 0;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 12px 0;
  letter-spacing: -0.01em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 12px 0 20px 0;
  padding-left: 22px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 98, 26, 0.3);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.legal-content a:hover {
  color: var(--orange-bright);
  border-bottom-color: var(--orange);
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0;
}

/* Orange gradient divider line between sections */
.alt-section {
  position: relative;
}

.alt-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 98, 26, 0.3), transparent);
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-line { display: none; }

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

  .contact-info .section-title { font-size: 2rem; }

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

  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav — mobile: show hamburger, hide desktop links */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid-2 { grid-template-columns: 1fr; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-stats { padding: 20px; gap: 4px; }
  .hero-stat { padding: 0 16px; }
  .hero-stat strong { font-size: 1.4rem; }

  .circuit-decoration { display: none; }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* How it works */
  .steps-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step { flex-direction: row; text-align: left; align-items: flex-start; gap: 20px; }
  .step-number-wrap { flex-shrink: 0; }
  .step-number { width: 52px; height: 52px; font-size: 0.875rem; }

  /* Results */
  .stats-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* FAQ */
  .faq-container { max-width: 100%; }
  .faq-question { padding: 18px 20px; }
  .faq-answer p { padding: 0 20px 20px; }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

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

/* ============================================================
   GLOBAL HIDDEN FIX — ensure [hidden] always overrides display
   ============================================================ */
[hidden] { display: none !important; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--border);
}

.whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ============================================================
   FOOTER EMAIL LINK
   ============================================================ */
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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