/* ==========================================================================
   OVERSEAS BRIDGE B2B - OB LOGO RICH YELLOW THEME (#FFC700)
   ========================================================================== */

:root {
  --bg-page: #ffffff;
  --bg-logo-yellow: #ffc700;
  --bg-light-yellow-accent: rgba(255, 199, 0, 0.15);
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --glass-border: rgba(15, 23, 42, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-yellow: #ffc700;
  --accent-yellow-dark: #e6b200;
  --accent-gold: #ff9900;
  --accent-black: #080c16;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* LAYOUT CONTAINER */
.theme-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.theme-container-wide {
  max-width: 1440px;
}

.section-padding {
  padding: 100px 0;
}

.section-padding-lg {
  padding: 140px 0;
}

/* COMBINED MASTER HEADER WRAPPER — BOTH BARS BOUND TOGETHER (NO OVERLAPPING) */
.header-master-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.header-master-wrapper.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

/* TOP ANNOUNCEMENT BANNER — OB LOGO MATCHING YELLOW (#FFC700) */
.top-announcement-bar {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffc700 !important;
  border-bottom: 1px solid #e6b200;
  color: #080c16 !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  padding: 9px 16px;
  margin: 0;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.top-announcement-bar a {
  color: #080c16 !important;
  font-weight: 800;
  text-decoration: underline;
  margin-left: 6px;
}

/* MAIN SITE HEADER */
.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 1;
  margin: 0;
  transition: background-color 0.3s ease;
}

.header-master-wrapper:hover .site-header {
  background: #ffffff;
}

.header-master-wrapper:hover .top-announcement-bar {
  background: #ffd21a !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo,
.brand-logo-wrap,
.custom-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  max-height: 44px;
}

.brand-logo img,
.brand-logo-wrap img,
.custom-logo-link img,
.custom-logo,
img.custom-logo {
  max-height: 42px !important;
  height: 42px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ffc700, #ff9900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080c16;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(255, 199, 0, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #e6b200;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-primary) !important;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 199, 0, 0.15);
  border: 1px solid rgba(255, 199, 0, 0.4);
  border-radius: var(--radius-full);
  color: #080c16;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-primary) !important;
  margin-bottom: 20px;
}

.section-title-gradient {
  background: linear-gradient(135deg, #0f172a 40%, #e6b200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
}

/* CARDS & GLASSMORPHISM LIGHT */
.glass-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 36px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 199, 0, 0.5) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

/* BUTTONS — SLEEK BLACK PILL & OB LOGO YELLOW */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background: #080c16 !important;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid #080c16;
  box-shadow: 0 8px 24px rgba(8, 12, 22, 0.18);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(8, 12, 22, 0.3);
  background: #1e293b !important;
  color: #ffffff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  background: #ffc700 !important;
  color: #080c16 !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid #e6b200;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #ffd21a !important;
  color: #000000 !important;
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  z-index: 10001;
  padding: 80px 32px 32px 32px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-heading);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f1f5f9;
  border: none;
  color: #0f172a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* HERO SECTION & HUGO EDITORIAL LAYOUT */
.hero-section {
  min-height: 85vh;
  padding-top: 150px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(255, 199, 0, 0.15) 0%, rgba(255, 255, 255, 1) 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  grid-column: 1 !important;
  order: 1 !important;
}

.hero-visual {
  grid-column: 2 !important;
  order: 2 !important;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #0f172a !important;
  letter-spacing: -0.03em;
}

.hero-content h1 span,
.hero-section h1 span {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffc700 !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* SPOTLIGHT TESTIMONIAL BADGE CARD */
.spotlight-badge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  max-width: 520px;
}

.spotlight-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffc700;
  color: #080c16;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.spotlight-text {
  font-size: 0.875rem;
  color: #0f172a;
  line-height: 1.5;
}

.spotlight-author {
  font-weight: 800;
  margin-bottom: 2px;
}

/* INTERACTIVE NODE DASHBOARD CONTAINER */
.dashboard-glass-container {
  position: relative;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 28px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 20px;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #080c16;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #ffc700;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffc700;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.dashboard-canvas-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

/* ANIMATED 3D GLASS ANALYTICS CHART WRAPPER */
.hero-3d-glass-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 0 25px rgba(255, 199, 0, 0.25);
  border: 1px solid rgba(255, 199, 0, 0.5);
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: floatGlassChart 4s ease-in-out infinite alternate;
}

.hero-3d-glass-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18), 0 0 35px rgba(255, 199, 0, 0.4);
}

@keyframes floatGlassChart {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(-14px);
  }
}

.hero-3d-glass-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-3d-glass-wrapper:hover .hero-3d-glass-image {
  transform: scale(1.04);
}

.hero-canvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}

#aiDashboardCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.floating-kpi-card {
  position: absolute;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(255, 199, 0, 0.5);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
  z-index: 10;
  transition: transform 0.3s ease;
}

.floating-kpi-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.kpi-top-right { top: -20px; right: -20px; }
.kpi-bottom-left { bottom: -20px; left: -20px; }
.kpi-value { font-size: 1.4rem; font-weight: 800; color: #0f172a; font-family: var(--font-heading); }
.kpi-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #fffbeb;
  border: 1px solid #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #080c16;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* PROCESS TIMELINE */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 70px;
  position: relative;
}

.process-line {
  position: absolute;
  top: 35px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: #ffc700;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-node {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px auto;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffc700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #080c16;
  box-shadow: 0 6px 16px rgba(255, 199, 0, 0.3);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* STATS COUNTER BANNER */
.stats-banner {
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ACCORDION */
.accordion-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 22px 0;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.accordion-content {
  display: none;
  padding-top: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* MULTI-STEP LEAD FORM WIZARD */
.lead-form-wizard {
  padding: 44px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  max-width: 820px;
  margin: 0 auto;
}

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  z-index: 0;
  transform: translateY(-50%);
}

.wizard-bar-fill {
  height: 100%;
  width: 25%;
  background: #ffc700;
  transition: width 0.4s ease;
}

.wizard-step-indicator {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.wizard-step-indicator.active {
  border-color: #ffc700;
  color: #080c16;
  background: #ffc700;
  box-shadow: 0 0 14px rgba(255, 199, 0, 0.4);
}

.wizard-step-card {
  display: none;
}

.wizard-step-card.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.wizard-radio-card {
  padding: 20px 22px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #0f172a;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wizard-radio-card:hover,
.wizard-radio-card.selected {
  border-color: #ffc700;
  background: #fffbeb;
  transform: translateY(-2px);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: #0f172a;
  outline: none;
  background: #ffffff;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
}

/* FOOTER — SLEEK CHARCOAL B2B */
.site-footer {
  background: #080c16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px 0;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffc700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: 1fr; gap: 30px; }
  .process-line { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-announcement-bar { padding: 6px 12px; font-size: 0.78rem; }
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
  .services-grid, .option-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .lead-form-wizard { padding: 24px; }
  .floating-kpi-card { display: none; }
}

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