/* ============================================
   Bright Theme — AutomateNetOps.AI
   Clean, inviting, tech-credible design
   ============================================ */

/* --- Hide old loader remnants (replaced by splash animation) --- */
.loader-wrapper { display: none !important; }

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --hero-primary: #0EA5E9;       /* sky-500 */
  --hero-primary-dark: #0284C7;  /* sky-600 */
  --hero-primary-light: #E0F2FE; /* sky-100 */
  --hero-primary-50: #F0F9FF;    /* sky-50 */
  --hero-secondary: #6366F1;     /* indigo-500 */
  --hero-accent: #10B981;        /* emerald-500 */
  --hero-amber: #F59E0B;         /* amber-500 */
  --hero-purple: #8B5CF6;        /* violet-500 */
  --hero-teal: #14B8A6;          /* teal-500 */
  --hero-text: #0F172A;          /* slate-900 */
  --hero-text-secondary: #475569; /* slate-600 */
  --hero-text-muted: #94A3B8;    /* slate-400 */
  --hero-bg: #FFFFFF;
  --hero-bg-subtle: #F8FAFC;     /* slate-50 */
  --hero-border: #E2E8F0;        /* slate-200 */
  --hero-radius: 12px;
  --hero-radius-sm: 8px;
  --hero-radius-lg: 16px;
  --hero-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hero-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

/* ============================================
   Navigation — Bright Theme Override
   ============================================ */

/* Nav wrapper */
.navigation-wrap {
  font-family: var(--hero-font) !important;
}

.navigation-wrap.bg-light {
  background-color: #FFFFFF !important;
}

.start-header {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.start-header.scroll-on {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Logo brand image */
.navbar-brand img {
  height: 28px !important;
  width: auto !important;
}

.start-header.scroll-on .navbar-brand img {
  height: 24px !important;
}

/* Site title (brand text) */
a.site-title {
  font-family: var(--hero-font-display) !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: var(--hero-text) !important;
  letter-spacing: -0.01em !important;
  text-decoration: none !important;
  margin-left: 4px;
}

a.site-title:hover {
  color: var(--hero-primary-dark) !important;
  text-decoration: none !important;
}

/* Nav links */
.nav-link {
  font-family: var(--hero-font) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--hero-text-secondary) !important;
  transition: color 0.2s ease !important;
  letter-spacing: 0 !important;
}

.nav-item:hover .nav-link {
  color: var(--hero-primary) !important;
}

.nav-item.active .nav-link {
  color: var(--hero-primary) !important;
}

/* Dropdown menus */
.navbar-nav .dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid var(--hero-border) !important;
  border-radius: var(--hero-radius-sm) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  padding: 8px !important;
  margin-top: 8px !important;
}

.navbar-nav .dropdown-item {
  font-family: var(--hero-font) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: var(--hero-text-secondary) !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.navbar-nav .dropdown-item:hover {
  background: var(--hero-primary-50) !important;
  color: var(--hero-primary-dark) !important;
}

/* Search input */
.search-content__form .search-input {
  font-family: var(--hero-font) !important;
  font-size: 14px !important;
  border: 1px solid var(--hero-border) !important;
  border-radius: var(--hero-radius-sm) !important;
  padding: 6px 12px !important;
  color: var(--hero-text) !important;
  background: var(--hero-bg-subtle) !important;
  transition: border-color 0.2s ease !important;
}

.search-content__form .search-input:focus {
  border-color: var(--hero-primary) !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
  outline: none !important;
  background: #FFFFFF !important;
}

/* Mobile toggler */
.navbar-toggler {
  border: 1px solid var(--hero-border) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
}

.navbar-light .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon:after,
.navbar-light .navbar-toggler-icon:before {
  background-color: var(--hero-text-secondary) !important;
  border-color: var(--hero-text-secondary) !important;
}

/* ---------- Section ---------- */
.hero-bright {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-subtle) 100%);
  padding: 120px 0 80px;
  margin-bottom: 40px;
  font-family: var(--hero-font);
}

/* ---------- Soft Background Orbs ---------- */
.hero-bg {
  position: absolute;
  inset: -40px 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--hero-primary-light) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: hero-float 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #EDE9FE 0%, transparent 70%);  /* violet-100 */
  bottom: -100px;
  left: -50px;
  animation: hero-float 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #D1FAE5 0%, transparent 70%);  /* emerald-100 */
  top: 50%;
  left: 50%;
  animation: hero-float 18s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ---------- Grid Layout ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---------- Content (Left) ---------- */
.hero-content {
  max-width: 580px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--hero-primary-50);
  border: 1px solid var(--hero-primary-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hero-primary-dark);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--hero-accent);
  border-radius: 50%;
  animation: hero-pulse-dot 2s ease-in-out infinite;
}

@keyframes hero-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Heading */
.hero-bright h1 {
  font-family: var(--hero-font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  margin: 0 0 24px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: var(--hero-text-secondary);
  margin: 0 0 36px;
  font-weight: 400;
  max-width: 480px;
}

/* ---------- Buttons ---------- */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--hero-radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--hero-font);
  text-decoration: none;
  transition: all 250ms ease;
  cursor: pointer;
}

.hero-btn-primary {
  background: var(--hero-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.hero-btn-primary:hover {
  background: var(--hero-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
  color: #FFFFFF;
  text-decoration: none;
}

.hero-btn-secondary {
  background: var(--hero-bg);
  color: var(--hero-text);
  border: 1px solid var(--hero-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-btn-secondary:hover {
  background: var(--hero-bg-subtle);
  border-color: var(--hero-primary);
  color: var(--hero-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ---------- Trust Badges ---------- */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--hero-text-muted);
  white-space: nowrap;
}

.hero-trust-item svg {
  color: var(--hero-primary);
  flex-shrink: 0;
}

.hero-trust-sep {
  width: 1px;
  height: 16px;
  background: var(--hero-border);
}

/* ---------- Preview (Right) ---------- */
.hero-preview {
  position: relative;
  width: 100%;
}

/* ---------- Slideshow ---------- */
.hero-slideshow {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide-active {
  display: block;
  opacity: 1;
}

/* Illustration frame (slide 2) */
.hero-illustration-frame {
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 420px;
}

.hero-illustration-frame img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

/* ---------- Workflow Designer Mockup (Slide 1) ---------- */
/* Scope all wf- classes under hero-bright to beat Bootstrap specificity */
.hero-bright .wf-app,
.hero-bright .wf-app * {
  box-sizing: border-box;
}
.hero-bright .hero-wf-mockup {
  background: var(--hero-bg) !important;
  border: 1px solid var(--hero-border) !important;
  border-radius: var(--hero-radius-lg) !important;
  overflow: hidden !important;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 80px rgba(14, 165, 233, 0.08) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-wf-mockup:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.06),
    0 28px 50px rgba(0, 0, 0, 0.10),
    0 0 100px rgba(14, 165, 233, 0.12);
}

.hero-bright .wf-app {
  display: flex !important;
  min-height: 280px;
}

/* Sidebar */
.hero-bright .wf-sidebar {
  width: 44px !important;
  background: #F1F5F9 !important;
  border-right: 1px solid var(--hero-border) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 10px 0 !important;
  gap: 4px !important;
}

.wf-sb-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #94A3B8;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wf-sb-active {
  background: var(--hero-primary-light);
  color: var(--hero-primary);
}

/* Canvas */
.hero-bright .wf-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 1px 1px, rgba(203, 213, 225, 0.5) 0.5px, transparent 0) 0 0 / 20px 20px;
  background-color: #FAFBFD;
}

/* Toolbar */
.hero-bright .wf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--hero-border);
  background: rgba(255, 255, 255, 0.8);
}

.wf-toolbar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--hero-text);
}

.wf-toolbar-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.wf-toolbar-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  color: var(--hero-text-secondary);
  cursor: pointer;
}

.wf-btn-run {
  background: var(--hero-primary) !important;
  color: #fff !important;
  border-color: var(--hero-primary) !important;
  font-weight: 600;
}

/* Nodes area */
.hero-bright .wf-nodes {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 6px;
  position: relative;
}

.hero-bright .wf-node-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-bright .wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--hero-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  min-width: 80px;
  text-align: center;
  transition: all 0.2s ease;
}

.hero-bright .wf-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.hero-bright .wf-node span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--hero-text);
  white-space: nowrap;
}

.hero-bright .wf-node small {
  font-size: 9px;
  color: var(--hero-text-muted);
}

.wf-node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.wf-dot-green { background: #10B981; }
.wf-dot-blue { background: #3B82F6; }
.wf-dot-amber { background: #F59E0B; }
.wf-dot-purple { background: #8B5CF6; }
.wf-dot-teal { background: #14B8A6; }
.wf-dot-red { background: #EF4444; }

.hero-bright .wf-edge {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--hero-border), var(--hero-primary), var(--hero-border));
  position: relative;
  flex-shrink: 0;
}

.hero-bright .wf-edge::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--hero-primary);
  border-bottom: 2px solid var(--hero-primary);
  transform: rotate(-45deg);
}

.hero-bright .wf-edge-rev::after {
  right: auto;
  left: -2px;
  transform: rotate(135deg);
}

.hero-bright .wf-connector-v {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--hero-border), var(--hero-primary));
  margin-left: 200px;
  align-self: flex-end;
}

/* Branch (conditional split) */
.hero-bright .wf-branch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.hero-bright .wf-branch-arm {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-bright .wf-branch-label {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.hero-bright .wf-label-pass {
  background: #D1FAE5;
  color: #059669;
}

.hero-bright .wf-label-fail {
  background: #FEE2E2;
  color: #DC2626;
}

.hero-bright .wf-node-sm {
  padding: 6px 10px !important;
  min-width: 60px !important;
}

.hero-bright .wf-node-sm span {
  font-size: 9px !important;
}

.hero-bright .wf-node-conditional {
  border: 2px solid #F59E0B !important;
}

/* Sticky note */
.hero-bright .wf-sticky {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-bright .wf-sticky strong {
  font-size: 9px;
  color: #92400E;
}

.hero-bright .wf-sticky span {
  font-size: 8px;
  color: #B45309;
}

/* Status bar */
.hero-bright .wf-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-top: 1px solid var(--hero-border);
  background: rgba(255, 255, 255, 0.8);
  font-size: 10.5px;
  color: var(--hero-text-muted);
}

.wf-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}

@media (max-width: 640px) {
  .wf-sidebar { display: none; }
  .wf-node { padding: 6px 8px; min-width: 60px; }
  .wf-node span { font-size: 9px; }
  .wf-edge { width: 16px; }
}

/* ---------- AI Chat Mockup (Slide 3) ---------- */
.hero-bright .hero-ai-chat {
  background: #1E1B2E !important;
  border-radius: var(--hero-radius-lg) !important;
  overflow: hidden !important;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  max-width: 100%;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-chat-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-chat-title {
  font-size: 14px;
  font-weight: 600;
  color: #E2E8F0;
}

.ai-chat-header-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ai-chat-tabs {
  display: flex;
  gap: 0;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-chat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--hero-font);
}

.ai-chat-tab-active {
  color: #A78BFA;
  border-bottom-color: #A78BFA;
}

.ai-chat-messages {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}

.ai-chat-msg {
  max-width: 85%;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 12px;
  padding: 10px 16px;
}

.ai-chat-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-chat-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  border-bottom-left-radius: 4px;
}

.ai-chat-success {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E2E8F0;
}

.ai-chat-result {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
}

.ai-chat-result-icon {
  flex-shrink: 0;
}

.ai-chat-result-info {
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 13px;
}

.ai-chat-result-info strong {
  color: #E2E8F0;
}

.ai-chat-result-info span {
  color: #94A3B8;
  font-size: 12px;
}

.ai-chat-apply {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #A78BFA;
  background: #7C3AED;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.ai-chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748B;
  font-size: 13px;
}

/* Staggered message animations */
.ai-msg-anim {
  opacity: 0;
  transform: translateY(12px);
  animation: ai-msg-enter 0.5s ease-out forwards;
}

.ai-msg-1 { animation-delay: 0.3s; }
.ai-msg-2 { animation-delay: 1.2s; }
.ai-msg-3 { animation-delay: 2.5s; }
.ai-msg-4 { animation-delay: 3.4s; }

@keyframes ai-msg-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reset animations when slide becomes active */
.hero-slide-active .ai-msg-anim {
  animation: ai-msg-enter 0.5s ease-out forwards;
}

.hero-slide:not(.hero-slide-active) .ai-msg-anim {
  opacity: 0;
  transform: translateY(12px);
  animation: none;
}

@media (max-width: 640px) {
  .ai-chat-messages {
    min-height: 160px;
    padding: 14px 12px;
  }

  .ai-chat-msg {
    font-size: 12px;
    max-width: 90%;
  }
}

/* Slide indicator dots (legacy) */
.hero-slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.hero-slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--hero-border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-slide-dot:hover {
  border-color: var(--hero-primary);
}

.hero-slide-dot.hero-dot-active {
  background: var(--hero-primary);
  border-color: var(--hero-primary);
  transform: scale(1.15);
}

/* Slide navigation tabs */
.hero-slide-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero-slide-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-family: var(--hero-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--hero-text-muted);
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hero-slide-tab:hover {
  color: var(--hero-primary);
  border-color: var(--hero-primary-light);
  background: var(--hero-primary-50);
}

.hero-slide-tab.hero-tab-active {
  color: var(--hero-primary-dark);
  background: var(--hero-primary-light);
  border-color: var(--hero-primary);
}

.hero-slide-tab svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .hero-slide-nav {
    gap: 4px;
  }
  .hero-slide-tab {
    padding: 5px 10px;
    font-size: 11px;
  }
  .hero-slide-tab svg {
    display: none;
  }
}

/* Float cards hide/show */
.hero-float-card.hfc-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 1s ease-in-out;
}

.hero-float-card {
  transition: opacity 1s ease-in-out;
}

/* Screenshot Frame */
.hero-screenshot-frame {
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius-lg);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 80px rgba(14, 165, 233, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.06),
    0 28px 50px rgba(0, 0, 0, 0.10),
    0 0 100px rgba(14, 165, 233, 0.12);
}

.hero-screenshot-img {
  line-height: 0;
}

.hero-screenshot-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Legacy browser frame (keep for fallback) */
.hero-browser-frame {
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius-lg);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--hero-bg-subtle);
  border-bottom: 1px solid var(--hero-border);
}

.hero-browser-dots {
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-dot-r { background: #FCA5A5; }
.hero-dot-y { background: #FDE68A; }
.hero-dot-g { background: #86EFAC; }

.hero-browser-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--hero-text-muted);
  flex: 1;
  max-width: 320px;
}

.hero-browser-url svg {
  color: var(--hero-accent);
  flex-shrink: 0;
}

/* Canvas */
.hero-canvas {
  display: flex;
  min-height: 360px;
}

.hero-canvas-sidebar {
  width: 48px;
  background: var(--hero-bg-subtle);
  border-right: 1px solid var(--hero-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 4px;
}

.hcs-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--hero-text-muted);
  transition: all 200ms ease;
}

.hcs-active {
  background: var(--hero-primary-light);
  color: var(--hero-primary);
}

.hero-canvas-main {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: 
    radial-gradient(circle at 1px 1px, rgba(226, 232, 240, 0.6) 0.5px, transparent 0) 0 0 / 24px 24px;
  background-color: #FAFBFC;
}

/* Workflow Nodes */
.hcm-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hcm-row-2 {
  margin-left: 60px;
}

.hcm-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-text);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: all 300ms ease;
}

.hcm-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hcm-node-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hcm-icon-green { background: #D1FAE5; color: #059669; }
.hcm-icon-blue { background: #DBEAFE; color: #2563EB; }
.hcm-icon-purple { background: #EDE9FE; color: #7C3AED; }
.hcm-icon-amber { background: #FEF3C7; color: #D97706; }
.hcm-icon-teal { background: #CCFBF1; color: #0D9488; }

.hcm-edge {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--hero-border), var(--hero-primary), var(--hero-border));
  border-radius: 1px;
  position: relative;
}

.hcm-edge::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--hero-primary);
  border-bottom: 2px solid var(--hero-primary);
  transform: rotate(-45deg);
}

.hcm-connector-v {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--hero-border), var(--hero-primary));
  margin-left: 40px;
}

.hcm-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--hero-accent);
  font-weight: 500;
  margin-top: 12px;
  padding: 6px 12px;
  background: #F0FDF4;
  border-radius: 100px;
  border: 1px solid #BBF7D0;
}

.hcm-pulse {
  width: 8px;
  height: 8px;
  background: var(--hero-accent);
  border-radius: 50%;
  animation: hero-pulse-dot 1.5s ease-in-out infinite;
}

/* ---------- Floating Cards ---------- */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  z-index: 2;
  animation: hero-float-card 6s ease-in-out infinite;
}

.hero-float-1 {
  bottom: 60px;
  left: -30px;
  animation-delay: 0s;
}

.hero-float-2 {
  top: 4px;
  right: -24px;
  animation-delay: 3s;
}

@keyframes hero-float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hfc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hfc-icon-green { background: #D1FAE5; color: #059669; }
.hfc-icon-blue { background: #DBEAFE; color: #2563EB; }
.hfc-icon-purple { background: #EDE9FE; color: #7C3AED; }

.hfc-text {
  display: flex;
  flex-direction: column;
}

.hfc-text strong {
  font-weight: 600;
  color: var(--hero-text);
  font-size: 12px;
}

.hfc-text span {
  color: var(--hero-text-muted);
  font-size: 11px;
}

/* ---------- Entrance Animations ---------- */
.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-entrance 0.6s ease-out forwards;
}

.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.2s; }
.hero-anim-3 { animation-delay: 0.35s; }
.hero-anim-4 { animation-delay: 0.5s; }
.hero-anim-5 { animation-delay: 0.65s; }
.hero-anim-6 { animation-delay: 0.8s; }

@keyframes hero-entrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-anim {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-gradient-orb,
  .hero-float-card,
  .hero-badge-dot,
  .hcm-pulse {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-preview {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-float-1 {
    left: 10px;
    bottom: 60px;
  }

  .hero-float-2 {
    right: 10px;
    top: 10px;
  }
}

@media (max-width: 640px) {
  .hero-bright {
    padding: 100px 0 60px;
  }

  .hero-bright h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  .hero-trust-sep {
    display: none;
  }

  .hero-float-card {
    display: none;
  }

  .hero-canvas-sidebar {
    display: none;
  }

  .hcm-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hcm-row-2 {
    margin-left: 0;
  }

  .hcm-edge {
    display: none;
  }

  .hcm-node {
    font-size: 11px;
    padding: 8px 12px;
  }
}


/* ---------- Cinematic Frame (Slide 2 — Team Image) ---------- */
.hero-cinematic-frame {
  border-radius: var(--hero-radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(0, 0, 0, 0.12);
  max-height: 420px;
}

.hero-cinematic-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

/* ---------- Stats Bar ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  padding: 28px 40px;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.hero-stat-num {
  font-family: var(--hero-font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--hero-text-secondary);
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--hero-border);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 20px;
  }

  .hero-stat {
    flex: 0 0 40%;
  }

  .hero-stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-stat {
    flex: 0 0 100%;
  }
}

/* ============================================
   Features Section — Bright Theme
   ============================================ */

.features-bright {
  padding: 0 0 80px;
  background: var(--hero-bg);
  font-family: var(--hero-font);
  position: relative;
  margin-top: -40px;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(14, 165, 233, 0.1);
  border-color: var(--hero-primary-light);
}

/* Icon containers */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon-blue {
  background: #DBEAFE;
  color: #2563EB;
}

.feature-icon-purple {
  background: #EDE9FE;
  color: #7C3AED;
}

.feature-icon-green {
  background: #D1FAE5;
  color: #059669;
}

.feature-icon-amber {
  background: #FEF3C7;
  color: #D97706;
}

.feature-icon-teal {
  background: #CCFBF1;
  color: #0D9488;
}

.feature-icon-red {
  background: #FEE2E2;
  color: #DC2626;
}

/* Title */
.feature-title {
  font-family: var(--hero-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--hero-text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

/* Description */
.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hero-text-secondary);
  margin: 0 0 16px;
}

/* Tag */
.feature-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--hero-primary);
  background: var(--hero-primary-50);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-bright {
    padding: 0 0 48px;
    margin-top: -20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }
}


/* ============================================
   About Section — Bright Theme
   ============================================ */

.about-bright {
  padding: 80px 0 100px;
  background: var(--hero-bg-subtle);
  font-family: var(--hero-font);
}

/* Header — centered text */
.about-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* Full-width image */
.about-visual-wide {
  margin: 0 0 48px;
}

.about-img-wrapper {
  border-radius: var(--hero-radius-lg);
  overflow: hidden;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.about-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature cards in a row */
.about-bright .about-features-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.about-bright .about-features-row .about-feature {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

/* Legacy selectors kept for compat */
.about-content {
  max-width: 520px;
}

.about-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hero-primary);
  margin-bottom: 16px;
}

.about-heading {
  font-family: var(--hero-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  margin: 0 0 20px;
}

.about-amp {
  color: var(--hero-text-muted);
  font-weight: 400;
}

.about-highlight {
  background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hero-text-secondary);
  margin: 0 0 32px;
}

/* Feature rows */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--hero-radius);
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  transition: all 0.25s ease;
}

.about-feature:hover {
  border-color: var(--hero-primary-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-fi-blue {
  background: #DBEAFE;
  color: #2563EB;
}

.about-fi-green {
  background: #D1FAE5;
  color: #059669;
}

.about-fi-purple {
  background: #EDE9FE;
  color: #7C3AED;
}

.about-feature-body h4 {
  font-family: var(--hero-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--hero-text);
  margin: 0 0 4px;
}

.about-feature-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--hero-text-secondary);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-features-row {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about-bright {
    padding: 48px 0 64px;
  }

  .about-feature {
    padding: 12px;
  }
}


/* ============================================
   Working Process — Bright Theme
   ============================================ */

.process-bright {
  padding: 80px 0 100px;
  background: var(--hero-bg);
  font-family: var(--hero-font);
}

.process-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
}

.process-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hero-primary);
  margin-bottom: 12px;
}

.process-heading {
  font-family: var(--hero-font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  margin: 0 0 12px;
}

.process-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--hero-text-secondary);
  margin: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  text-align: center;
}

/* Horizontal connector line */
.process-connector {
  position: absolute;
  top: 72px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--hero-primary-light), var(--hero-primary), var(--hero-primary-light));
  z-index: 0;
}

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

.process-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hero-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.process-step:hover .process-step-icon {
  transform: scale(1.1);
}

.process-icon-blue { background: #DBEAFE; color: #2563EB; }
.process-icon-purple { background: #EDE9FE; color: #7C3AED; }
.process-icon-green { background: #D1FAE5; color: #059669; }

.process-step h3 {
  font-family: var(--hero-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--hero-text);
  margin: 0 0 8px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hero-text-secondary);
  margin: 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.process-step code {
  font-size: 12px;
  background: var(--hero-bg-subtle);
  border: 1px solid var(--hero-border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--hero-primary-dark);
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-connector {
    display: none;
  }
}


/* ============================================
   Brands — Bright Theme (Infinite Scroll)
   ============================================ */

.brands-bright {
  padding: 48px 0;
  background: var(--hero-bg-subtle);
  font-family: var(--hero-font);
  overflow: hidden;
}

.brands-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--hero-text-muted);
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.brands-track {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-scroll {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: brands-marquee 30s linear infinite;
  width: max-content;
}

.brands-scroll img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.brands-scroll img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes brands-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brands-bright:hover .brands-scroll {
  animation-play-state: paused;
}


/* ============================================
   Latest Articles — Bright Theme
   ============================================ */

.articles-bright {
  padding: 80px 0 100px;
  background: var(--hero-bg);
  font-family: var(--hero-font);
}

.articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.articles-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hero-primary);
  margin-bottom: 8px;
}

.articles-heading {
  font-family: var(--hero-font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  margin: 0;
}

.articles-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-primary);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--hero-primary);
  border-radius: var(--hero-radius-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.articles-btn:hover {
  background: var(--hero-primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  border-radius: var(--hero-radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--hero-primary-light);
  text-decoration: none;
}

.article-card-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-meta {
  font-size: 12px;
  color: var(--hero-text-muted);
  margin-bottom: 8px;
}

.article-card-title {
  font-family: var(--hero-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--hero-text);
  margin: 0 0 8px;
  line-height: 1.35;
}

.article-card-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--hero-text-secondary);
  margin: 0 0 16px;
  flex: 1;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-primary);
  transition: gap 0.2s ease;
}

.article-card:hover .article-card-link {
  gap: 8px;
}

@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-bright {
    padding: 48px 0 64px;
  }
}


/* ============================================
   Footer — Bright Theme
   ============================================ */

.footer-bright {
  background: var(--hero-bg-subtle);
  color: var(--hero-text-secondary);
  font-family: var(--hero-font);
  padding: 64px 0 0;
  border-top: 1px solid var(--hero-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

/* Brand column */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--hero-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--hero-text);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--hero-text-secondary);
  margin: 0 0 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--hero-bg);
  border: 1px solid var(--hero-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 14px;
}

.footer-social-icon:hover {
  background: var(--hero-primary);
  border-color: var(--hero-primary);
  color: #fff;
  text-decoration: none;
}

/* Link columns */
.footer-links h4 {
  font-family: var(--hero-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--hero-text);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.footer-links-sub {
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

/* Recent post thumbnails */
.footer-post {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.footer-post:hover {
  text-decoration: none;
}

.footer-post:hover .footer-post-title {
  color: var(--hero-primary);
}

.footer-post-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--hero-border);
  transition: transform 0.2s ease;
}

.footer-post:hover .footer-post-thumb {
  transform: scale(1.05);
}

.footer-post-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.footer-post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-text);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-post-date {
  font-size: 11.5px;
  color: var(--hero-text-muted);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 13.5px;
  color: var(--hero-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--hero-primary);
  text-decoration: none;
}

.footer-links i {
  font-size: 12px;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--hero-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--hero-text-muted);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--hero-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--hero-primary);
}

/* Hide the old footer follow bar */
.page__footer-follow {
  display: none;
}

/* ============================================
   Article / Blog — Bright Theme Override
   ============================================ */

.blog_details,
.blog_dtl_content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.blog_dtl_content h2,
.blog_dtl_content h3,
.blog_dtl_content h4,
.page__title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
  font-weight: 700 !important;
  color: #0F172A !important;
}

.blog_dtl_content p,
.blog_dtl_content li {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

/* Bullet list styling for articles */
.blog_dtl_content ul,
.blog_dtl_content ol {
  padding-left: 1.5em !important;
  margin: 16px 0 24px !important;
}

.blog_dtl_content ul {
  list-style-type: disc !important;
}

.blog_dtl_content ol {
  list-style-type: decimal !important;
}

.blog_dtl_content ul ul {
  list-style-type: circle !important;
  margin: 8px 0 8px !important;
}

.blog_dtl_content li {
  margin-bottom: 8px !important;
  padding-left: 4px !important;
}

.blog_dtl_content li:last-child {
  margin-bottom: 0 !important;
}

/* Italic text inside list items should stay inline (not block like image captions) */
.blog_dtl_content li em {
  display: inline !important;
  text-align: left !important;
  color: inherit !important;
  font-size: inherit !important;
  margin: 0 !important;
}

.blog_dtl_content a {
  color: #0EA5E9 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(14, 165, 233, 0.3);
  transition: border-color 0.2s ease;
}

.blog_dtl_content a:hover {
  border-bottom-color: #0EA5E9 !important;
}

.blog_dtl_content blockquote {
  border-left: 4px solid #0EA5E9 !important;
  background: #F0F9FF !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  margin: 24px 0 !important;
  font-style: normal !important;
}

.blog_dtl_content blockquote p {
  color: #0F172A !important;
  margin-bottom: 0 !important;
}

.blog_dtl_content img {
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
  margin: 16px 0 !important;
}

/* Image captions: em immediately after img or after an img-containing element */
.blog_dtl_content img + em,
.blog_dtl_content a + em,
.blog_dtl_content br + em {
  display: block;
  text-align: center;
  color: #64748B !important;
  font-size: 0.9rem !important;
  margin-top: -8px;
  margin-bottom: 24px;
}

/* Standalone em blocks (for image captions that are direct children in their own paragraph) */
.blog_dtl_content > em {
  display: block;
  text-align: center;
  color: #64748B !important;
  font-size: 0.9rem !important;
  margin-top: -8px;
  margin-bottom: 24px;
}

.blog_dtl_content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 24px 0 !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.blog_dtl_content table th {
  background: #0EA5E9 !important;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  text-align: left !important;
}

.blog_dtl_content table td {
  padding: 10px 16px !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.blog_dtl_content table tr:nth-child(even) {
  background: #F8FAFC !important;
}

.blog_dtl_content code {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
}

.blog_dtl_content pre {
  background: #1E293B !important;
  border-radius: 8px !important;
  padding: 20px !important;
  margin: 24px 0 !important;
}

.blog_dtl_content pre code {
  background: transparent !important;
  color: #E2E8F0 !important;
  padding: 0 !important;
}

/* Sidebar widgets */
.widget-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #0F172A !important;
}

/* Lightbox image treatment */
.blog_dtl_content a[data-lightbox] img {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.blog_dtl_content a[data-lightbox]:hover img {
  transform: scale(1.01) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
}

/* Lightbox figure wrapper */
.article-lightbox-figure {
  margin: 24px 0 !important;
  text-align: center;
}

.article-lightbox-figure em {
  display: block;
  text-align: center;
  color: #64748B !important;
  font-size: 0.9rem !important;
  margin-top: 8px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
