/* ============================================================================
   XCB PACKAGING — MODERN CLAUDE-CODE / LINEAR / VERCEL DESIGN SYSTEM (v4.0)
   Clean Architectural Grid, Obsidian + Electric Indigo + Hairline Borders
   ============================================================================ */

:root {
  --bg-page: #FFFFFF;
  --bg-cream: #FAFAFB;
  --bg-sand: #F8FAFC;
  --bg-blue-soft: #F1F5F9;
  --bg-dark: #09090B;
  --bg-dark-card: #111114;
  --ink-dark: #09090B;
  --ink-heading: #0F172A;
  --ink-body: #475569;
  --ink-muted: #64748B;
  --brand-orange: #2563EB;
  --brand-orange-hover: #1D4ED8;
  --brand-cobalt: #2563EB;
  --brand-cobalt-hover: #1D4ED8;
  --accent-emerald: #10B981;
  --border-light: rgba(15, 23, 42, 0.08);
  --border-sand: rgba(15, 23, 42, 0.08);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 14px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 14px 34px -8px rgba(15, 23, 42, 0.10), 0 0 0 1px rgba(37, 99, 235, 0.25);
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-serif: 'Plus Jakarta Sans', sans-serif;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

body {
  font-family: var(--font-body);
  color: var(--ink-dark);
  background: var(--bg-page);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .hero-h1, .section-title, .brand-name {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
  word-spacing: 0.02em;
}

/* 1. SLEEK OBSIDIAN TOP ANNOUNCEMENT BAR */
.top-announce {
  background: #09090B !important;
  color: #E2E8F0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 12.5px !important;
  padding: 8px 0 !important;
}

.announce-copy, .announce-copy span {
  color: #E2E8F0 !important;
}

.announce-pill {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34D399 !important;
  border: 1px solid rgba(16, 185, 129, 0.30) !important;
  font-family: var(--font-mono) !important;
  font-size: 10.5px !important;
  letter-spacing: 0.04em !important;
}

.announce-cta {
  color: #60A5FA !important;
  font-weight: 600 !important;
}
.announce-cta:hover {
  color: #93C5FD !important;
}

.announce-right a {
  color: #94A3B8 !important;
  transition: color 0.15s ease;
}
.announce-right a:hover {
  color: #FFFFFF !important;
}

/* 2. FROSTED GLASS STICKY HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.84) !important;
  backdrop-filter: saturate(180%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.brand-name span {
  color: #2563EB !important;
}

.header-search-box {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.header-search-box:focus-within {
  background: #FFFFFF !important;
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.header-search-btn {
  background: #09090B !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
}
.header-search-btn:hover {
  background: #2563EB !important;
}

.nav-estimator-pill {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
  font-weight: 600 !important;
}
.nav-estimator-pill:hover {
  background: #09090B !important;
  color: #FFFFFF !important;
  border-color: #09090B !important;
}

/* 3. MODERN BUTTON SYSTEM */
.btn-orange, .btn-primary, .btn-quote, .cta-btn {
  background: #09090B !important;
  color: #FFFFFF !important;
  border: 1px solid #09090B !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.12) !important;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease !important;
}
.btn-orange:hover, .btn-primary:hover, .btn-quote:hover, .cta-btn:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35) !important;
}

.btn-cobalt {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}
.btn-cobalt:hover {
  background: #1D4ED8 !important;
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}
.btn-outline:hover {
  background: #F8FAFC !important;
  border-color: #0F172A !important;
}

/* 4. ARCHITECTURAL HERO SECTION (DOT GRID + RADIAL MESH) */
.hero-v2 {
  background-color: #FFFFFF !important;
  background-image:
    radial-gradient(ellipse 70% 55% at 75% 0%, rgba(37, 99, 235, 0.08), transparent),
    radial-gradient(ellipse 50% 45% at 15% 10%, rgba(16, 185, 129, 0.05), transparent),
    radial-gradient(#CBD5E1 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 24px 24px !important;
  border-bottom: 1px solid var(--border-light) !important;
}

.hero-eyebrow {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}
.hero-eyebrow .spark {
  background: #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.hero-h1 .accent-orange {
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #2563EB;
}

.hero-moq-dot {
  background: #10B981 !important;
}
.hero-moq-dot.blue {
  background: #2563EB !important;
}

.collage-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.12) !important;
}

.proof-icon-box, .usp-icon {
  background: rgba(37, 99, 235, 0.08) !important;
  color: #2563EB !important;
  border-radius: 10px !important;
}

.usps-strip {
  background: #FAFAFB !important;
  border-bottom: 1px solid var(--border-light) !important;
}

/* 5. BENTO GRIDS, CARDS & SLATE SURFACES */
.bg-sand-section {
  background: #F8FAFC !important;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.service-card, .bento-card, .ind-card, .pillar-card, .prod-card, .spec-box, .case-spec-item {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-card) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.service-card:hover, .bento-card:hover, .ind-card:hover, .pillar-card:hover, .prod-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(37, 99, 235, 0.32) !important;
  box-shadow: var(--shadow-hover) !important;
}

.service-img-wrap, .card-img-wrap, .prod-img-wrap {
  background: #F1F5F9 !important;
  border-radius: 12px !important;
}

.bento-tag, .spec-pill.active, .filter-tab-btn.active {
  background: #09090B !important;
  color: #FFFFFF !important;
  border-color: #09090B !important;
}

.finish-pill-btn {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
  border-radius: 999px !important;
}
.finish-pill-btn:hover, .finish-pill-btn.active {
  background: #09090B !important;
  color: #FFFFFF !important;
  border-color: #09090B !important;
}

/* 6. DEEP OBSIDIAN DARK SHOWCASE (#09090B) */
.styles-dark-section, .subpage-hero-navy {
  background-color: #09090B !important;
  background-image: radial-gradient(ellipse 65% 50% at 50% 0%, rgba(37, 99, 235, 0.16), transparent) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.style-dark-card {
  background: #111114 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 16px !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease !important;
}
.style-dark-card:hover {
  background: #18181B !important;
  border-color: rgba(96, 165, 250, 0.45) !important;
  transform: translateY(-3px) !important;
}

/* 7. HOW IT WORKS & ESTIMATOR BAND */
.steps-blue-section {
  background: #F8FAFC !important;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.step-num, .stat-tile {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: var(--shadow-card) !important;
}
.step-num {
  color: #2563EB !important;
  font-family: var(--font-mono) !important;
}

.estimator-band {
  background: #09090B !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 45px -15px rgba(9, 9, 11, 0.35) !important;
}

/* 8. MODERN GRADIENT CTA SECTION */
.cta-cobalt-section {
  background: linear-gradient(135deg, #09090B 0%, #0F172A 55%, #1E3A8A 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-visual-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(12px);
}

.faq-directory-section {
  background: #FFFFFF !important;
}

/* 9. SUBPAGES, PRODUCT PAGES & ENGINEERING GUIDES */
.subpage-hero-cream, .guide-header {
  background-color: #FAFAFB !important;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(37, 99, 235, 0.06), transparent),
    radial-gradient(#CBD5E1 1px, transparent 1px) !important;
  background-size: 100% 100%, 24px 24px !important;
  border-bottom: 1px solid var(--border-light) !important;
}

.hero-stage-curved {
  background: #F8FAFC !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 20px !important;
}

.stage-corner-tag {
  background: rgba(9, 9, 11, 0.88) !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(8px);
}

input::placeholder, textarea::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
}

.guide-body h2 {
  color: #0F172A !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding-bottom: 10px;
}

.cta-banner {
  background: linear-gradient(135deg, #09090B 0%, #1E293B 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 20px !important;
}

/* 10. OBSIDIAN FOOTER */
.site-footer {
  background: #09090B !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 84px !important;
}

/* 11. FLOATING WHATSAPP & MOBILE DOCK POLISH */
.xcb-floating-whatsapp {
  bottom: 18px !important;
  right: 18px !important;
  z-index: 40 !important;
}
.xcb-floating-whatsapp .whatsapp-tooltip {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease !important;
}
.xcb-floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1 !important;
}

.dock-item.dock-cta {
  background: #2563EB !important;
  color: #FFFFFF !important;
}
