/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #0a0a0f;
  color: #f0f0f5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --orange: #FF6B00;
  --orange-light: #FF9A3C;
  --orange-dim: rgba(255,107,0,0.12);
  --orange-border: rgba(255,107,0,0.25);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --text-muted: rgba(240,240,245,0.55);
  --text-mid: rgba(240,240,245,0.8);
  --radius: 16px;
  --radius-sm: 10px;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--orange-border);
  background: var(--orange-dim);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange-light);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: #fff;
}
.section-title span { color: var(--orange); }
.section-subtitle { margin-top: 16px; font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s ease; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 0 32px rgba(255,107,0,0.35);
}
.btn-primary:hover { background: #e55f00; box-shadow: 0 0 48px rgba(255,107,0,0.5); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-mid);
  border: 1px solid var(--glass-border);
}
.btn-ghost:hover { background: var(--glass); border-color: var(--orange-border); color: #fff; }
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover { border-color: var(--orange-border); }
.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--text-mid);
}
.check-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange-dim); border: 1px solid var(--orange-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-icon svg { width: 10px; height: 10px; stroke: var(--orange); }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
#navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.nav-logo-icon svg { width: 20px; height: 20px; stroke: white; }
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; animation: logoPulse 2.8s ease-in-out infinite; transform-origin: center; will-change: transform; }
@keyframes logoPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.nav-logo:hover .nav-logo-icon img { animation-duration: 1.4s; }
@media (prefers-reduced-motion: reduce) { .nav-logo-icon img { animation: none; } }
.nav-logo span { font-size: 1.15rem; font-weight: 700; color: #fff; display: inline-block; transform-origin: center; will-change: transform; animation: thinklySpin 4s cubic-bezier(0.65,0,0.35,1) infinite; }
@keyframes thinklySpin { 0% { transform: rotate(0deg); } 50% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nav-logo span { animation: none; } }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(10,10,15,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px; flex-direction: column; gap: 16px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; color: var(--text-mid); padding: 8px 0; border-bottom: 1px solid var(--glass-border); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.25) saturate(0.5);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255,107,0,0.18) 0%, transparent 60%),
              linear-gradient(to bottom, transparent 50%, #0a0a0f 100%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  border: 1px solid var(--orange-border);
  background: rgba(255,107,0,0.08);
  font-size: 0.8rem; color: var(--text-mid); margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.0;
  color: #fff; margin-bottom: 24px;
}
.hero-title .gradient { color: var(--orange); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; justify-content: center; margin-top: 64px;
  padding-top: 48px; border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
}
.hero-stat-val { font-size: 2rem; font-weight: 700; color: var(--orange); }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ===== MARQUEE ===== */
.marquee-section { padding: 0 0 80px; overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }
.marquee-track { position: relative; overflow: hidden; }
.marquee-track::before, .marquee-track::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee-track::before { left: 0; background: linear-gradient(to right, #0a0a0f, transparent); }
.marquee-track::after { right: 0; background: linear-gradient(to left, #0a0a0f, transparent); }
.marquee-inner { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-inner img { height: 28px; width: auto; opacity: 0.4; filter: grayscale(1) brightness(3); transition: opacity 0.3s; }
.marquee-inner img:hover { opacity: 0.8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SERVICES ===== */
.services-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.service-card {
  flex-shrink: 0; width: 340px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-border);
  overflow: hidden; scroll-snap-align: start;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: var(--orange-border); transform: translateY(-4px); }
.service-card-img { position: relative; height: 160px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.8), transparent);
}
.service-icon {
  position: absolute; bottom: 14px; left: 14px;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 20px; height: 20px; stroke: white; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.05rem; font-weight: 600; color: #fff; }
.service-card-body p { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; line-height: 1.65; }
.scroll-controls { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 20px; }
.scroll-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; cursor: pointer;
}
.scroll-btn:hover { border-color: var(--orange-border); background: var(--orange-dim); }
.scroll-btn svg { width: 16px; height: 16px; stroke: var(--text-mid); }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.process-steps { display: flex; flex-direction: column; gap: 8px; }
.process-step {
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  overflow: hidden;
}
.process-step.active { border-color: var(--orange-border); }
.step-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; cursor: pointer; width: 100%;
}
.step-header-left { display: flex; align-items: center; gap: 16px; }
.step-num { font-size: 0.78rem; font-weight: 700; color: var(--orange); font-variant-numeric: tabular-nums; }
.step-title { font-size: 0.95rem; font-weight: 600; color: #fff; }
.step-chevron { transition: transform 0.3s; }
.step-chevron svg { width: 18px; height: 18px; stroke: var(--text-muted); }
.process-step.active .step-chevron { transform: rotate(180deg); }
.step-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.process-step.active .step-body { max-height: 200px; }
.step-body-inner { padding: 0 20px 20px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.step-body-inner a { margin-top: 14px; display: inline-block; }
.process-image-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--glass-border); position: sticky; top: 88px;
}
.process-image-wrap img { width: 100%; height: 400px; object-fit: cover; }

/* ===== CASE STUDIES ===== */
.cases-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.case-card {
  flex-shrink: 0; width: 400px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-border);
  overflow: hidden; scroll-snap-align: start;
  transition: border-color 0.3s, transform 0.3s;
}
.case-card:hover { border-color: var(--orange-border); transform: translateY(-4px); }
.case-img { height: 200px; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 24px; }
.case-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.case-headline { font-size: 1.05rem; font-weight: 600; color: #fff; line-height: 1.4; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.case-stat { padding: 14px; border-radius: var(--radius-sm); background: rgba(255,107,0,0.06); border: 1px solid var(--orange-border); }
.case-stat-val { font-size: 1.4rem; font-weight: 700; color: var(--orange); }
.case-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.case-quote { font-size: 0.85rem; color: var(--text-mid); font-style: italic; border-left: 2px solid var(--orange); padding-left: 14px; line-height: 1.65; }
.case-author { margin-top: 12px; font-size: 0.78rem; color: var(--text-muted); }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { padding: 40px 32px; text-align: center; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); }
.stat-val { font-size: 3.2rem; font-weight: 800; color: var(--orange); }
.stat-label { margin-top: 8px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* ===== INDUSTRIES ===== */
.industries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.industry-card { border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); transition: border-color 0.3s, transform 0.3s; }
.industry-card:hover { border-color: var(--orange-border); transform: translateY(-4px); }
.industry-img { height: 220px; overflow: hidden; }
.industry-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.industry-card:hover .industry-img img { transform: scale(1.04); }
.industry-body { padding: 28px; }
.industry-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.industry-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-dim); border: 1px solid var(--orange-border); display: flex; align-items: center; justify-content: center; }
.industry-icon svg { width: 20px; height: 20px; stroke: var(--orange); }
.industry-body h3 { font-size: 1.2rem; font-weight: 600; color: #fff; }
.industry-body p { font-size: 0.875rem; color: var(--text-muted); margin-top: 8px; line-height: 1.65; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card {
  border-radius: var(--radius); padding: 32px;
  background: var(--glass); border: 1px solid var(--glass-border);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--orange-border);
  background: rgba(255,107,0,0.06);
  box-shadow: 0 0 48px rgba(255,107,0,0.12);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: 1.3rem; font-weight: 700; color: #fff; }
.pricing-best { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.pricing-includes { font-size: 0.75rem; color: var(--text-muted); margin-top: 24px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text-mid); }
.pricing-feature svg { width: 16px; height: 16px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }
.pricing-cta { margin-top: 28px; display: block; width: 100%; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { padding: 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star svg { width: 14px; height: 14px; fill: var(--orange); stroke: none; }
.testimonial-quote { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.author-name { font-size: 0.875rem; font-weight: 600; color: #fff; }
.author-role { font-size: 0.75rem; color: var(--text-muted); }

/* ===== INTEGRATIONS ===== */
.integrations-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.integration-pill {
  border-radius: var(--radius-sm); height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  background: var(--glass); border: 1px solid var(--glass-border);
  transition: all 0.2s; text-align: center; padding: 4px;
}
.integration-pill:hover { border-color: var(--orange-border); color: var(--orange-light); background: var(--orange-dim); }
.integration-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.int-feature {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: 0.8rem; color: var(--text-mid);
}
.int-feature svg { width: 14px; height: 14px; stroke: var(--orange); }

/* ===== FAQ ===== */
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.faq-tab {
  padding: 8px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  border: 1px solid var(--glass-border); background: var(--glass); color: var(--text-muted);
  transition: all 0.2s; cursor: pointer;
}
.faq-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-border); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; cursor: pointer; width: 100%; font-size: 0.95rem; font-weight: 600; color: #fff;
}
.faq-q svg { width: 18px; height: 18px; stroke: var(--text-muted); transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 20px 20px; font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ===== CTA BANNER ===== */
.cta-banner {
  border-radius: 24px; padding: 72px 48px; text-align: center;
  background: var(--glass); border: 1px solid var(--orange-border);
  position: relative; overflow: hidden;
  box-shadow: 0 0 80px rgba(255,107,0,0.1);
}
.cta-bg-1 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,107,0,0.08); filter: blur(60px);
  top: -100px; left: -80px; pointer-events: none;
}
.cta-bg-2 {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,107,0,0.06); filter: blur(60px);
  bottom: -80px; right: -60px; pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: #fff; position: relative; }
.cta-banner p { margin: 16px auto; max-width: 520px; color: var(--text-muted); position: relative; font-size: 1rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; margin-top: 32px; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 32px; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.footer-wa { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.footer-wa a { color: var(--orange); }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-copy { padding-top: 28px; border-top: 1px solid var(--glass-border); text-align: center; font-size: 0.8rem; color: var(--text-muted); }

/* ===== CHAT WIDGET ===== */
#chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 200; }
.chat-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--orange); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(255,107,0,0.4);
  transition: transform 0.2s; cursor: pointer; border: none;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle svg { width: 24px; height: 24px; stroke: white; }
.chat-box {
  position: absolute; bottom: 72px; right: 0; width: 340px;
  background: #111118; border: 1px solid var(--glass-border);
  border-radius: 20px; overflow: hidden; box-shadow: 0 16px 64px rgba(0,0,0,0.6);
  display: none; flex-direction: column;
}
.chat-box.open { display: flex; }
.chat-header {
  padding: 16px 18px; border-bottom: 1px solid var(--glass-border);
  background: var(--glass); display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
}
.chat-avatar svg { width: 18px; height: 18px; stroke: white; }
.chat-title { font-size: 0.9rem; font-weight: 600; color: #fff; }
.chat-status { font-size: 0.72rem; color: var(--orange); display: flex; align-items: center; gap: 4px; }
.chat-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }
.chat-close { background: none; border: none; cursor: pointer; }
.chat-close svg { width: 18px; height: 18px; stroke: var(--text-muted); }
.chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 12px; height: 280px; overflow-y: auto; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.55; }
.chat-bubble.bot { background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-mid); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble.user { background: var(--orange); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-row {
  padding: 12px; border-top: 1px solid var(--glass-border);
  display: flex; gap: 8px; align-items: center;
}
.chat-input {
  flex: 1; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 999px;
  padding: 9px 16px; font-size: 0.85rem; color: #fff; outline: none; font-family: inherit;
}
.chat-input::placeholder { color: var(--text-muted); }
.chat-input:focus { border-color: var(--orange-border); }
.chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.chat-send svg { width: 16px; height: 16px; stroke: white; }

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
  position: absolute; top: -40px; left: 16px; z-index: 999;
  background: var(--orange); color: white; padding: 8px 16px; border-radius: 4px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Reveal variants (scroll-triggered) */
.reveal { opacity: 0; will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.r-up    { transform: translateY(32px); }
.reveal.r-down  { transform: translateY(-24px); }
.reveal.r-left  { transform: translateX(-32px); }
.reveal.r-right { transform: translateX(32px); }
.reveal.r-zoom  { transform: scale(0.94); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"].visible { transition-delay: 0.08s; }
.reveal[data-delay="2"].visible { transition-delay: 0.16s; }
.reveal[data-delay="3"].visible { transition-delay: 0.24s; }
.reveal[data-delay="4"].visible { transition-delay: 0.32s; }
.reveal[data-delay="5"].visible { transition-delay: 0.40s; }
.reveal[data-delay="6"].visible { transition-delay: 0.48s; }

/* Hero entrance */
@keyframes heroRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroBgZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
#hero .hero-badge { animation: heroFade 0.9s ease-out both, floatY 5s ease-in-out 1s infinite; }
#hero .hero-title { animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
#hero .hero-sub { animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
#hero .hero-actions { animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.4s both; }
#hero .hero-stats { animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s both; }
#hero .hero-bg img { animation: heroBgZoom 1.6s cubic-bezier(0.22,1,0.36,1) both; }

/* Gradient text shimmer */
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-title .gradient { background-size: 200% 200%; animation: gradShift 6s ease-in-out infinite; }

/* Card hover lift */
.service-card, .case-card, .pricing-card, .industry-card, .process-step {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card:hover, .case-card:hover, .pricing-card:hover, .industry-card:hover, .process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(245,158,11,0.25), 0 8px 16px -8px rgba(0,0,0,0.08);
}

/* Button micro-interactions */
.btn { transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245,158,11,.5); }
.btn-ghost:hover, .btn-secondary:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .reveal { opacity: 1; transform: none; }
  .animate-marquee, .marquee-inner { animation: none; }
  #hero .hero-badge, #hero .hero-title, #hero .hero-sub, #hero .hero-actions, #hero .hero-stats,
  #hero .hero-bg img, .hero-title .gradient { animation: none; }
  .hero-bg img { filter: brightness(0.2); }
  .service-card:hover, .case-card:hover, .pricing-card:hover, .industry-card:hover, .process-step:hover,
  .btn-primary:hover, .btn-ghost:hover, .btn-secondary:hover { transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links, .nav-cta .nav-contact-btn { display: none; }
  .nav-cta .nav-audit-btn { display: inline-flex !important; align-items: center !important; padding: 10px 18px !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: .2px !important; border-radius: 999px !important; box-shadow: 0 6px 18px rgba(245,158,11,.4) !important; }
  .hamburger { display: flex; }

  .process-grid { grid-template-columns: 1fr; }
  .process-image-wrap { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-cta .nav-audit-btn { padding: 9px 14px !important; font-size: 12px !important; line-height: 1 !important; letter-spacing: .1px !important; }
  .nav-cta .nav-audit-btn span[aria-hidden] { display: none; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .chat-box { width: calc(100vw - 32px); right: -8px; }
}

/* ===================================================================
   ADDITIONS — shared page chrome, forms, legal pages, page hero
   =================================================================== */

/* ===== ACTIVE NAV STATE ===== */
.nav-links a.active, .mobile-link.active { color: #fff; }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--orange); border-radius: 2px;
}

/* ===== SUB-PAGE HERO (contact / legal / 404) ===== */
.page-hero {
  position: relative; padding: 160px 0 64px; overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,107,0,0.16) 0%, transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.08; color: #fff;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p { margin-top: 16px; max-width: 560px; color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--orange-light); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { opacity: 0.5; }

/* ===== CONTACT LAYOUT ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.contact-card { padding: 32px; }
.contact-card h2 { font-size: 1.3rem; font-weight: 700; color: #fff; }
.contact-card > p { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

/* ===== FORM ===== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.form-field label .req { color: var(--orange); }
.form-control {
  width: 100%; font-family: inherit; font-size: 0.9rem; color: #fff;
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 12px 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus { border-color: var(--orange-border); background: rgba(255,255,255,0.05); }
.form-control:focus-visible { box-shadow: 0 0 0 3px var(--orange-dim); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; cursor: pointer; }
.form-error { font-size: 0.75rem; color: #ff6b6b; min-height: 0; transition: min-height 0.2s; }
.form-field.invalid .form-control { border-color: #ff6b6b; }
.form-field.invalid .form-error { min-height: 14px; }
.form-submit { margin-top: 24px; width: 100%; justify-content: center; }
.form-note { margin-top: 14px; font-size: 0.75rem; color: var(--text-muted); text-align: center; line-height: 1.6; }
.form-status {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 0.875rem; line-height: 1.5; display: none;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.3); color: #6ee7a8; }
.form-status.error { background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.3); color: #ff9a9a; }

/* ===== CONTACT SIDE INFO ===== */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.info-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--orange-dim); border: 1px solid var(--orange-border);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 20px; height: 20px; stroke: var(--orange); }
.info-item h3 { font-size: 0.92rem; font-weight: 600; color: #fff; }
.info-item p, .info-item a { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; line-height: 1.55; display: block; }
.info-item a:hover { color: var(--orange-light); }

/* ===== LEGAL PAGES ===== */
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 40px 0 14px; letter-spacing: -0.01em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 600; color: #fff; margin: 24px 0 10px; }
.legal p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.legal ul li {
  position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--text-mid); line-height: 1.7;
}
.legal ul li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--orange);
}
.legal a { color: var(--orange-light); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--orange); }

/* ===== 404 ===== */
.notfound { text-align: center; padding: 140px 0 120px; }
.notfound .code {
  font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: 1;
  color: var(--orange); letter-spacing: -0.04em;
  text-shadow: 0 0 80px rgba(255,107,0,0.35);
}
.notfound h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: #fff; margin-top: 16px; }
.notfound p { max-width: 440px; margin: 16px auto 32px; color: var(--text-muted); line-height: 1.7; }
.notfound .cta-actions { justify-content: center; }

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 132px 0 48px; }
}

/* Hide legacy static chat widget — replaced by React ChatWidget */
#chat-widget { display: none !important; }


/* ============================================================
   Hardening pass: overflow, tap targets, motion, smooth scroll
   ============================================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100vw; }
img, svg, video { max-width: 100%; height: auto; }

/* Reserve intrinsic dimensions to prevent CLS on responsive images */
.hero-bg img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Fast, GPU-friendly hover polish */
.btn, .card, .service-card, .case-card, .pricing-card, .industry-card {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.card:hover, .service-card:hover, .case-card:hover, .pricing-card:hover, .industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; border-radius: 6px; }

/* Mobile tap targets & readable text */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .btn, .form-control, .chat-toggle, .chat-send, .hamburger, .faq-q, .step-header {
    min-height: 44px;
  }
  .btn { padding: 12px 18px; }
  .form-control { padding: 12px 14px; font-size: 16px; } /* 16px prevents iOS zoom */
  a[href] { min-height: 24px; }
}

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