/* ===== RESET & BASE ===== */
* { scroll-behavior: smooth; box-sizing: border-box; }

/* ===== TICKER ===== */
.ticker-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  background: linear-gradient(90deg, #0a0a0a, #111111, #0a0a0a);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a, transparent);
}
.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a, transparent);
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d1d5db;
  white-space: nowrap;
  border-right: 1px solid rgba(251, 191, 36, 0.12);
}
.ticker-item i {
  color: #fbbf24;
  font-size: 0.75rem;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAVBAR ===== */
.nav-blur {
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-link {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
}

/* ===== BG GRID ===== */
.bg-grid {
  background-image: radial-gradient(rgba(251, 191, 36, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== PAGE CONTENT OFFSET ===== */
.page-content {
  padding-top: 56px; /* 36px ticker + 20px extra */
}

/* ===== HERO ===== */
.hero-section {
  padding-top: calc(36px + 80px + 4rem);
  padding-bottom: 4rem;
}

.hero-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.glow-text {
  text-shadow: 0 0 60px rgba(251, 191, 36, 0.08);
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
}
.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.7), 0 0 0 1px rgba(251,191,36,0.05);
}

/* ===== SERVICE ICON ===== */
.service-icon {
  font-size: 2.2rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.08);
  padding: 12px;
  border-radius: 14px;
  display: inline-block;
  transition: all 0.3s;
}
.glass-card:hover .service-icon {
  background: rgba(251, 191, 36, 0.15);
  transform: scale(1.05);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: rgba(251, 191, 36, 0.03);
  border-top: 1px solid rgba(251, 191, 36, 0.08);
  border-bottom: 1px solid rgba(251, 191, 36, 0.08);
  padding: 3rem 0;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ===== SECTION STYLES ===== */
.section-pad { padding: 6rem 0; }

.eyebrow {
  display: inline-block;
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.section-title-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24, transparent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0a0a0a;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.4);
  color: #0a0a0a;
}

.btn-outline-gold {
  border: 2px solid #fbbf24;
  color: #fbbf24;
  background: transparent;
  transition: all 0.3s ease;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-outline-gold:hover {
  background: #fbbf24;
  color: #0a0a0a;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.25);
  transform: scale(1.05);
}

/* ===== PORTFOLIO CARDS ===== */
.portfolio-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover::before { opacity: 1; }
.portfolio-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(251, 191, 36, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.6);
}

.portfolio-icon {
  width: 48px; height: 48px;
  background: rgba(251, 191, 36, 0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fbbf24;
}

.metric-badge {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: #fbbf24;
  font-weight: 600;
  white-space: nowrap;
}

.tech-tag {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.65rem;
  color: #9ca3af;
  transition: all 0.2s;
  cursor: default;
}
.tech-tag:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(245, 158, 11, 0.03));
  border-top: 1px solid rgba(251, 191, 36, 0.1);
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
  padding: 4rem 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding-top: calc(36px + 80px + 5rem);
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: #fbbf24; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== FEATURE CARD ===== */
.feature-card {
  border-left: 3px solid rgba(251, 191, 36, 0.4);
  padding-left: 20px;
  transition: border-color 0.3s;
}
.feature-card:hover { border-left-color: #fbbf24; }

/* ===== PROCESS STEP ===== */
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px; right: -30px;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, rgba(251,191,36,0.3), transparent);
}
@media (max-width: 768px) {
  .process-step:not(:last-child)::after { display: none; }
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.08);
  border: 2px solid rgba(251, 191, 36, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.1rem; font-weight: 800;
  color: #fbbf24;
  transition: all 0.3s;
}
.process-step:hover .step-number {
  background: rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* ===== TIMELINE DOT ===== */
.timeline-dot {
  width: 8px; height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

/* ===== FORM ===== */
.form-input {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  transition: all 0.3s;
  width: 100%;
  outline: none;
  font-family: inherit;
}
.form-input:focus {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.06);
}
.form-input::placeholder { color: #6b7280; }

.form-select {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  transition: all 0.3s;
  width: 100%;
  outline: none;
  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'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fbbf24' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  font-family: inherit;
}
.form-select:focus {
  border-color: rgba(251, 191, 36, 0.35);
  background-color: rgba(255,255,255,0.04);
}
.form-select option { background: #111; color: white; }

/* ===== MOBILE MENU ===== */
#mobile-menu { transition: all 0.3s ease; }

/* ===== VALUE PILL ===== */
.value-pill {
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: #d1d5db;
  transition: all 0.3s;
}
.value-pill:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  transform: translateY(-2px);
}

/* ===== TEAM CARD ===== */
.team-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover {
  border-color: rgba(251, 191, 36, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.5);
}

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(245,158,11,0.05));
  border: 2px solid rgba(251, 191, 36, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
}

/* ===== INDUSTRY TAG ===== */
.industry-tag {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  transition: all 0.3s;
  color: #d1d5db;
}
.industry-tag:hover {
  background: rgba(251, 191, 36, 0.06);
  border-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  transform: translateY(-2px);
}

/* ===== ACCORDION ===== */
.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(251, 191, 36, 0.2); }

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  background: rgba(255,255,255,0.02);
  transition: background 0.3s;
}
.faq-question:hover { background: rgba(255,255,255,0.04); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 300px;
  padding: 16px 24px 24px;
}

/* ===== DIVIDER ===== */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251,191,36,0.2), transparent);
  margin: 2rem 0;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(251,191,36,0.05), rgba(245,158,11,0.02));
  border: 1px solid rgba(251,191,36,0.12);
  border-radius: 16px;
  padding: 28px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .section-pad { padding: 4rem 0; }
  .stat-number { font-size: 2.2rem; }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.35);
  transform: translateY(-1px);
}
.theme-toggle-btn .bi-moon-stars-fill { display: inline-block !important; }
.theme-toggle-btn .bi-sun-fill { display: none !important; }
body.light-theme .theme-toggle-btn .bi-moon-stars-fill { display: none !important; }
body.light-theme .theme-toggle-btn .bi-sun-fill { display: inline-block !important; }

/* ===== LIGHT THEME OVERRIDES ===== */
/* Applied via body.light-theme; structure, layout, spacing and markup are unchanged. */
body.light-theme.bg-black,
body.light-theme.text-white,
body.light-theme {
  background-color: #f7f5f0 !important;
  color: #15140f !important;
}
body.light-theme.bg-grid {
  background-image: radial-gradient(rgba(180, 130, 20, 0.07) 1px, transparent 1px) !important;
}
body.light-theme .ticker-wrapper {
  background: linear-gradient(90deg, #f1ede3, #f7f5f0, #f1ede3) !important;
  border-bottom-color: rgba(180, 130, 20, 0.18) !important;
}
body.light-theme .ticker-wrapper::before { background: linear-gradient(to right, #f7f5f0, transparent) !important; }
body.light-theme .ticker-wrapper::after { background: linear-gradient(to left, #f7f5f0, transparent) !important; }
body.light-theme .ticker-item { color: #4b4636 !important; border-right-color: rgba(180, 130, 20, 0.18) !important; }
body.light-theme .ticker-item i { color: #b9790a !important; }

body.light-theme .nav-blur { background: rgba(247, 245, 240, 0.94) !important; }
body.light-theme .nav-link { color: #4b4636 !important; }
body.light-theme .nav-link:hover,
body.light-theme .nav-link.active { color: #b9790a !important; border-bottom-color: #b9790a !important; }
body.light-theme #mobile-menu a { color: #4b4636 !important; }

body.light-theme .text-white,
body.light-theme.text-white { color: #15140f !important; }
body.light-theme .text-gray-200 { color: #2a2719 !important; }
body.light-theme .text-gray-300 { color: #3f3b2c !important; }
body.light-theme .text-gray-400 { color: #5b5644 !important; }
body.light-theme .text-gray-500 { color: #6b6650 !important; }
body.light-theme .text-gray-600 { color: #847e60 !important; }
body.light-theme .border-white\/5 { border-color: rgba(0,0,0,0.07) !important; }
body.light-theme .border-white\/6 { border-color: rgba(0,0,0,0.08) !important; }
body.light-theme .border-white\/10 { border-color: rgba(0,0,0,0.1) !important; }
body.light-theme .bg-white\/3 { background-color: rgba(0,0,0,0.03) !important; }
body.light-theme .bg-white\/\[0\.02\] { background-color: rgba(0,0,0,0.02) !important; }
body.light-theme .bg-black,
body.light-theme.bg-black,
body.light-theme .bg-black\/90,
body.light-theme .bg-black\/80 { background-color: #f1ede3 !important; }

body.light-theme .glass-card {
  background: rgba(20, 18, 10, 0.025) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: inherit !important;
}
body.light-theme .glass-card:hover {
  background: rgba(180, 130, 20, 0.06) !important;
  border-color: rgba(185, 121, 10, 0.3) !important;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(185,121,10,0.08) !important;
}

body.light-theme .form-input,
body.light-theme .form-select {
  background: rgba(20, 18, 10, 0.03) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: #15140f !important;
}
body.light-theme .form-input::placeholder { color: #8a8468 !important; }
body.light-theme .form-select option { background: #fff !important; color: #15140f !important; }

body.light-theme .portfolio-card,
body.light-theme .team-card,
body.light-theme .industry-tag,
body.light-theme .tech-tag,
body.light-theme .value-pill,
body.light-theme .faq-item,
body.light-theme .faq-question {
  background: rgba(20, 18, 10, 0.025) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: inherit !important;
}
body.light-theme .faq-question:hover { background: rgba(20, 18, 10, 0.05) !important; }
body.light-theme .faq-answer { color: #5b5644 !important; }

body.light-theme .stats-strip {
  background: rgba(185, 121, 10, 0.05) !important;
  border-top-color: rgba(185, 121, 10, 0.15) !important;
  border-bottom-color: rgba(185, 121, 10, 0.15) !important;
}
body.light-theme .cta-strip {
  background: linear-gradient(135deg, rgba(185,121,10,0.08), rgba(217,119,6,0.04)) !important;
}
body.light-theme .highlight-box {
  background: linear-gradient(135deg, rgba(185,121,10,0.07), rgba(217,119,6,0.03)) !important;
  border-color: rgba(185,121,10,0.18) !important;
}

body.light-theme .breadcrumb { color: #8a8468 !important; }
