/* Formula CBE — Figma-inspired implementation */
:root {
  --bg: #0B0F19;
  --bg-alt: #101624;
  --surface: #1E293B;
  --text-white: #FFFFFF;
  --text-muted: #94A3B8;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-light: #60A5FA;
  --border: #1E293B;
}

body {
  background-color: var(--bg);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-title, .brand {
  font-family: 'Sora', sans-serif;
}

.text-white { color: var(--text-white) !important; }
.text-muted-blue { color: var(--text-muted) !important; }
.text-blue { color: var(--blue-light) !important; }
.font-sora { font-family: 'Sora', sans-serif; }

/* Grid / Background */
.bg-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

.border-dark {
  border-color: var(--border) !important;
}

/* Nav */
.site-nav {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  position: fixed;
  top: 0; width: 100%; z-index: 1000;
}
.brand span { font-weight: 700; color: #fff; }
.brand b { font-weight: 600; color: var(--blue-light); margin-left: 5px; }
.nav-link { color: var(--text-muted) !important; font-weight: 500; font-size: 0.9rem; }
.nav-link:hover { color: #fff !important; }

/* Buttons */
.btn-primary {
  background-color: var(--blue);
  border-color: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}
.btn-primary:hover { 
  background-color: var(--blue-hover); 
  border-color: var(--blue-hover); 
  color: #fff;
}
.btn-outline-light {
  border-color: var(--border);
  color: var(--text-white);
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
}
.btn-outline-light:hover { 
  background-color: rgba(255,255,255,0.05); 
  color: #fff; 
  border-color: #fff; 
}

/* Hero */
.hero { 
  min-height: 100vh; 
  padding-top: 100px; 
  position: relative; 
}
.hero-badge {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}
.display-title { 
  font-size: 4.5rem; 
  font-weight: 700; 
  line-height: 1.1; 
  letter-spacing: -2px; 
}
.display-title span { color: var(--blue); }
.hero-text { 
  font-size: 1.15rem; 
  line-height: 1.6; 
  max-width: 800px; 
}

/* Sections */
.section-pad { padding: 120px 0; }
.bg-dark-alt { background-color: var(--bg-alt); }
.section-title { font-size: 2.5rem; font-weight: 600; letter-spacing: -1px; }
.small-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; }

/* Cards & Grid Items */
.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover { 
  transform: translateY(-5px); 
  background: rgba(255, 255, 255, 0.04); 
}

.icon-box {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
}

.mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-white);
  transition: background 0.3s ease;
}
.mini-card:hover { background: rgba(255, 255, 255, 0.05); }
.check-icon { color: var(--blue-light); font-weight: bold; }

.tech-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Why Us Stats */
.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
}
.stat-card h3 { 
  font-size: 2.25rem; 
  color: var(--blue-light); 
  font-weight: 700; 
  margin-bottom: 5px; 
}
.stat-card p { 
  color: var(--text-muted); 
  margin: 0; 
  font-size: 0.9rem; 
}
.stat-card.highlight { 
  background: #fff; 
  border-color: #fff; 
}
.stat-card.highlight h3 { color: #000; }
.stat-card.highlight p { color: #333; }

.pillar-icon { font-size: 2.5rem; }

/* Industries */
.industry-pill {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 12px 24px;
  color: var(--text-muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s;
  display: inline-block;
}
.industry-pill:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Accordion */
.custom-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
}
.custom-accordion .accordion-button {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  padding: 24px 0;
}
.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--blue-light) !important;
}
.custom-accordion .accordion-button:not(.collapsed)::after { 
  filter: invert(1); 
}
.custom-accordion .accordion-button::after { 
  filter: invert(1); opacity: 0.5; 
}
.custom-accordion .accordion-body { padding: 0 0 24px 0; font-size: 1.05rem; line-height: 1.6; }

/* Contact Form */
.contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.custom-input {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: #fff !important;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none !important;
}
.custom-input:focus { border-bottom-color: var(--blue) !important; }
.custom-input::placeholder { color: #475569; }

.tracking-wide { letter-spacing: 2px; }
.site-footer { padding: 50px 0 30px; }
.footer-top a.text-muted-blue:hover { color: #fff !important; }

/* GSAP Defaults */
.reveal { opacity: 0; transform: translateY(35px); }

/* Adjustments for mobile */
@media (max-width: 991px) {
  .hero { padding-top: 150px; }
}
@media (max-width: 768px) {
  .display-title { font-size: 3rem; }
  .section-pad { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }
}
