/* ============================================================
   PrimeCrabtech · Deep Industrial Design Tokens v1.0.5
   ============================================================ */

:root {
  --bg-primary: #1A1D21;
  --bg-secondary: #252830;
  --bg-section: #1E2128;
  --bg-card: #252830;
  --bg-hover: #2A2E36;
  --brand: #D4A843;
  --brand-light: #E8C47A;
  --brand-dark: #B8922E;
  --cta: #2563EB;
  --cta-hover: #1D4ED8;
  --cta-active: #1E40AF;
  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-brand: #D4A843;
  --text-cta: #FFFFFF;
  --border: rgba(212,168,67,0.15);
  --border-light: rgba(255,255,255,0.06);
  --section-padding-y: 80px;
  --container-max: 1200px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-zh: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(212,168,67,0.15);
  --shadow-cta: 0 4px 16px rgba(37,99,235,0.35);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* ============================================================
   GLOBAL RESETS — override Hello Elementor
   ============================================================ */

body {
  background-color: #1A1D21 !important;
  color: #F9FAFB !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

#page,
#content,
#main,
.site-content,
.site-main,
.site-info {
  background-color: #1A1D21 !important;
  color: #F9FAFB !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #F9FAFB !important;
  font-weight: 700 !important;
  margin-top: 0 !important;
  margin-bottom: 0.5em !important;
}

p, li, span, td, th {
  color: #9CA3AF !important;
}

a {
  color: #2563EB !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

a:hover {
  color: #1D4ED8 !important;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  background-color: #1A1D21 !important;
  padding: 80px 0 !important;
}

.section--alt {
  background-color: #252830 !important;
}

/* ============================================================
   CARDS
   ============================================================ */

.card,
.service-card,
.solution-card,
.process-step,
.faq-item {
  background-color: #252830 !important;
  border: 1px solid rgba(212,168,67,0.15) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  transition: all 0.3s ease !important;
}

.card:hover,
.service-card:hover,
.solution-card:hover {
  border-color: #D4A843 !important;
  box-shadow: 0 0 20px rgba(212,168,67,0.15) !important;
  transform: translateY(-2px) !important;
}

/* ============================================================
   BRAND ACCENTS
   ============================================================ */

.brand-color,
.text-brand,
.section-label {
  color: #D4A843 !important;
}

.section-label {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */

.btn-primary,
.btn-cta,
.btn-submit,
input[type="submit"],
button[type="submit"] {
  background-color: #2563EB !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35) !important;
}

.btn-primary:hover,
.btn-cta:hover,
button[type="submit"]:hover {
  background-color: #1D4ED8 !important;
  box-shadow: 0 6px 20px rgba(37,99,235,0.5) !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   FORMS
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  background-color: #252830 !important;
  border: 1px solid rgba(212,168,67,0.15) !important;
  color: #F9FAFB !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #D4A843 !important;
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1) !important;
}

/* ============================================================
   NAVBAR / HEADER
   ============================================================ */

.site-header,
.site-branding,
#masthead,
header#site-header {
  background-color: rgba(26,29,33,0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(212,168,67,0.2) !important;
}

.site-title a,
.site-name {
  color: #F9FAFB !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher select,
select#lang_choice_1 {
  background-color: #252830 !important;
  border: 1px solid rgba(212,168,67,0.15) !important;
  color: #F9FAFB !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1A1D21; }
::-webkit-scrollbar-thumb { background: #D4A843; border-radius: 3px; }

/* ============================================================
   ELEMENTOR OVERRIDES (prevent any white backgrounds)
   ============================================================ */

.e-con,
.e-section,
.elementor-section,
.elementor-widget-wrap,
.elementor-container,
.elementor-column-wrap {
  background-color: transparent !important;
}

.elementor-kit- {
  --e-global-colors-primary: #D4A843 !important;
  --e-global-colors-secondary: #2563EB !important;
}
