
/* Desktop: Hide Mobile Tabs */
.hero-mobile-tabs {
  display: none !important;
}

/* ==========================================================================
   TREVQO Design System — Architectural Light & Royal Cobalt
   Fond: #F8FAFC | Surface: #FFFFFF | Texte: #0F172A | Accent: #2563EB
   ========================================================================== */

:root {
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-elevated: #F1F5F9;
  --bg-white: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #334155;
  --text-dim: #64748B;
  --cyan: #2563EB;
  --cyan-hover: #1D4ED8;
  --cyan-light: rgba(37, 99, 235, 0.08);
  --cyan-border: rgba(37, 99, 235, 0.22);
  --cyan-glow: rgba(37, 99, 235, 0.15);
  --electric: #2563EB;
  --electric-hover: #1D4ED8;
  --electric-light: rgba(37, 99, 235, 0.08);
  --electric-border: rgba(37, 99, 235, 0.22);
  --border-light: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-glow: rgba(37, 99, 235, 0.25);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 16px 36px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(37, 99, 235, 0.06);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
}

html { max-width: 100vw; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 50%, rgba(15, 23, 42, 0.02) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

@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;
  }
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 10000;
  padding: 0.75rem 1.5rem; background: var(--cyan); color: var(--bg-main);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

*:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ── Layout ── */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.section { padding-top: 5rem; padding-bottom: 5rem; position: relative; scroll-margin-top: 90px; }
@media (min-width: 1024px) { .section { padding-top: 6.5rem; padding-bottom: 6.5rem; } }

.section-white, .section-surface, .section-highlight {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-dark { background-color: var(--bg-main); }

.section-header { margin-bottom: 3.5rem; max-width: 800px; }
.section-header.text-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .badge { margin-bottom: 1.25rem; }
.section-header p { margin-top: 0.75rem; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; color: var(--text-main); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.5vw + 0.4rem, 4rem); word-break: break-word; overflow-wrap: break-word; }
h2 { font-size: clamp(1.85rem, 3vw + 0.5rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem); }
h4 { font-size: 1.15rem; }

.lead { font-size: clamp(1.05rem, 1vw + 0.5rem, 1.25rem); color: var(--text-muted); line-height: 1.65; }
.text-gradient {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--radius-full); width: fit-content;
}
.badge-blue, .badge-cyan, .badge-electric {
  background: var(--cyan-light); color: var(--cyan); border: 1px solid var(--cyan-border);
}
.badge-internal { background: rgba(53,232,245,0.1); color: var(--cyan); border: 1px solid var(--cyan-border); }
.badge-commercial { background: rgba(245,158,11,0.12); color: #FBBF24; border: 1px solid rgba(245,158,11,0.3); }
.badge-client { background: rgba(16,185,129,0.12); color: #34D399; border: 1px solid rgba(16,185,129,0.3); }

.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background-color: #10B981; box-shadow: 0 0 6px #10B981;
  animation: pulseLive 2s infinite ease-in-out;
}
@keyframes pulseLive { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.6rem; font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: #0F172A; color: #FFFFFF; border: 1px solid #0F172A; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12); }
.btn-primary:hover { background: #1E293B; border-color: #1E293B; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2); }

.btn-secondary { background: #FFFFFF; color: var(--text-main); border: 1px solid var(--border-light); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.btn-secondary:hover { background: #F8FAFC; border-color: var(--border-hover); color: var(--cyan); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

.btn-whatsapp { background: #25D366; color: #FFFFFF; box-shadow: 0 4px 15px rgba(37,211,102,0.25); }
.btn-whatsapp:hover { background: #1EBE5D; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.35); }

.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-lg { min-height: 56px; padding: 0.9rem 2rem; font-size: 1.05rem; }

/* ── Header & Navigation ── */
.header {
  position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.scroll-progress-bar {
  position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-hover));
  z-index: 1001; transition: width 0.1s linear;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 38px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  color: var(--text-muted); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; transition: var(--transition); position: relative; padding: 0.5rem 0;
}



.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switcher {
  display: inline-flex; align-items: center;
  background: #F1F5F9; border: 1px solid var(--border-light);
  border-radius: var(--radius-full); padding: 3px;
}
.lang-btn {
  padding: 0.3rem 0.65rem; font-size: 0.75rem; font-weight: 700;
  color: var(--text-dim); background: transparent; border: none;
  border-radius: var(--radius-full); cursor: pointer; text-decoration: none;
  transition: var(--transition);
}
.lang-btn:hover { color: var(--text-main); }
.lang-btn.active { background: #FFFFFF; color: var(--text-main); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 8px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--text-main); border-radius: 2px; transition: var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-drawer {
  display: none; position: fixed; top: 76px; left: 0; width: 100%;
  height: calc(100vh - 76px); height: calc(100dvh - 76px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 2rem 1.5rem 3rem; flex-direction: column; gap: 0.35rem;
  z-index: 9998; overflow-y: auto; -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border-light);
}
.mobile-drawer.open { display: flex; animation: drawerFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes drawerFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-link {
  color: var(--text-main); font-size: 1.15rem; font-weight: 600;
  text-decoration: none; padding: 0.9rem 0.6rem;
  border-bottom: 1px solid #F1F5F9;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--cyan);
  padding-left: 0.85rem;
  background: rgba(37, 99, 235, 0.05);
}

@media (max-width: 1023px) {
  .header { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; z-index: 9999 !important; }
  body { padding-top: 76px !important; }
  .header-cta { display: none !important; }
  .nav-actions { gap: 0.5rem !important; }
  .menu-toggle { display: flex !important; margin-left: 0.25rem; flex-shrink: 0; }
}

/* ── Hero Section ── */
.hero-section {
  padding-top: 4.5rem; padding-bottom: 5.5rem;
  background: var(--bg-main); position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) {
  .hero-section { padding-top: 6rem; padding-bottom: 7.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; }
}
.hero-content { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; max-width: 100%; position: relative; z-index: 2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }
.hero-location { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.95rem; }

/* Subtle depth light */
.ambient-glow-1, .ambient-glow-2 { display: none !important; }
.ambient-glow-1 {
  width: 550px; height: 550px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(53,232,245,0.07) 0%, transparent 70%);
  animation: auraFloat1 14s ease-in-out infinite alternate;
}
.ambient-glow-2 {
  width: 450px; height: 450px; bottom: -100px; left: 5%;
  background: radial-gradient(circle, rgba(53,232,245,0.04) 0%, transparent 70%);
  animation: auraFloat2 16s ease-in-out infinite alternate;
}
@keyframes auraFloat1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-30px, 40px) scale(1.08); } }
@keyframes auraFloat2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(40px, -30px) scale(1.12); } }

.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 100%; }


}

.hero-sculpture-card {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
  z-index: 3;
}
.sculpture-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan-light);
  border: 1px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.9rem;
}
.sculpture-card-title { font-size: 0.88rem; font-weight: 700; color: var(--text-main); }
.sculpture-card-sub { font-size: 0.75rem; color: var(--text-muted); }

/* Browser Mockup */
.browser-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.browser-mockup:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.browser-header {
  height: 42px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}
.browser-dots { display: flex; align-items: center; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }
.browser-address-bar {
  flex-grow: 1; max-width: 380px; height: 26px;
  background: #FFFFFF; border: 1px solid var(--border-light);
  border-radius: var(--radius-xs); display: flex; align-items: center;
  padding: 0 0.65rem; gap: 0.5rem;
  font-family: monospace; font-size: 0.75rem; color: #475569;
}
.browser-address-bar span.lock { color: #10B981; font-size: 0.75rem; }
.browser-viewport { position: relative; background: var(--bg-surface); overflow: hidden; aspect-ratio: 16 / 10; }
.browser-viewport img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.browser-mockup:hover .browser-viewport img { transform: scale(1.025); }

/* ── Showroom Section ── */
.showroom-section { background: var(--bg-main); }
.showroom-tabs-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; justify-content: center; }
.showroom-tab-pill {
  padding: 0.65rem 1.25rem; border-radius: var(--radius-full);
  background: #FFFFFF; border: 1px solid var(--border-light);
  color: var(--text-muted); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.showroom-tab-pill:hover { background: #F8FAFC; border-color: var(--border-hover); color: var(--text-main); }
.showroom-tab-pill.active { background: #0F172A; color: #FFFFFF; border-color: #0F172A; box-shadow: 0 2px 8px rgba(15,23,42,0.15); }

.showroom-showcase-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md);
}
@media (min-width: 1024px) { .showroom-showcase-grid { grid-template-columns: 1fr 1.2fr; padding: 3.5rem; gap: 3.5rem; } }

.showroom-meta { display: flex; flex-direction: column; gap: 1.25rem; }
.showroom-tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.showroom-tech-tag { font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: var(--radius-full); background: #F1F5F9; border: 1px solid var(--border-light); color: #475569; }

/* ── Cards & Bento ── */
.card, .glass-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-sm);
  transition: var(--transition); display: flex; flex-direction: column; position: relative;
}
.card:hover, .glass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-hover); }

.card-accent-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover .card-accent-bar, .glass-card:hover .card-accent-bar { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); background: var(--cyan-light);
  border: 1px solid var(--cyan-border); color: var(--cyan);
  font-size: 1.5rem; margin-bottom: 1.5rem;
}

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* Spotlight effect */
.glass-card::before, .team-card-compact::before, .project-card-item::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(450px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(53,232,245,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.glass-card:hover::before, .team-card-compact:hover::before, .project-card-item:hover::before { opacity: 1; }

/* ── Team Section (Photos 100% Preserved) ── */
.team-grid-compact { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 768px) { .team-grid-compact { grid-template-columns: repeat(3, 1fr); } }

.team-card-compact {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition); position: relative;
}
.team-card-compact:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--border-hover); }

.team-photo-compact {
  width: 130px; height: 130px; border-radius: 50%; overflow: hidden;
  margin-bottom: 1.25rem; border: 3px solid #FFFFFF;
  outline: 2px solid var(--cyan); box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  position: relative; background: #F8FAFC;
}
.team-photo-compact img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.4s ease; }
.team-card-compact:hover .team-photo-compact img { transform: scale(1.08); }

.team-body-compact { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; width: 100%; }
.team-body-compact h3 { font-size: 1.3rem; color: var(--text-main); }
.team-role-pill { font-size: 0.75rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.04em; background: var(--cyan-light); padding: 0.25rem 0.65rem; border-radius: var(--radius-full); border: 1px solid var(--cyan-border); }
.team-bio-compact { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-top: 0.25rem; }
.team-skills-compact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin-top: 0.75rem; }
.team-skill-pill { font-size: 0.7rem; padding: 0.2rem 0.55rem; border-radius: var(--radius-full); background: #F1F5F9; border: 1px solid var(--border-light); color: #475569; }
.team-linkedin-link {
  display: inline-flex; align-items: center; gap: 0.4rem; color: var(--cyan);
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--border-light);
  width: 100%; justify-content: center; transition: var(--transition);
}
.team-linkedin-link:hover { color: var(--cyan-hover); gap: 0.6rem; }

/* ── Filters (Projects Page) ── */
.filter-pills-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 3.5rem; }
.filter-pill {
  padding: 0.65rem 1.3rem; border-radius: var(--radius-full);
  background: #FFFFFF; border: 1px solid var(--border-light);
  color: var(--text-muted); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: var(--transition); box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.filter-pill:hover { background: #F8FAFC; border-color: var(--border-hover); color: var(--text-main); }
.filter-pill.active { background: #0F172A; color: #FFFFFF; border-color: #0F172A; box-shadow: 0 2px 8px rgba(15,23,42,0.15); }
.filter-count { font-size: 0.75rem; opacity: 0.9; padding: 0.1rem 0.45rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.2); }
.filter-pill:not(.active) .filter-count { background: #F1F5F9; color: var(--text-dim); }

/* ── AI Demo / Simulator ── */
.ai-demo-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; max-width: 960px; margin: 0 auto; }
.ai-step-indicator { display: flex; overflow-x: auto; gap: 0.5rem; padding-bottom: 1rem; margin-bottom: 2rem; scrollbar-width: none; }
.ai-step-indicator::-webkit-scrollbar { display: none; }
.ai-step-pill {
  flex-shrink: 0; display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light); color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
}
.ai-step-pill:hover { color: var(--text-main); background: rgba(255,255,255,0.08); }
.ai-step-pill.active { background: var(--cyan); color: var(--bg-main); border-color: var(--cyan); box-shadow: 0 4px 15px rgba(53,232,245,0.3); }
.ai-step-content { background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.75rem; margin-bottom: 2rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] { border-color: var(--cyan-border); }
.faq-question { padding: 1.25rem 1.5rem; font-weight: 700; font-size: 1.05rem; color: var(--text-main); cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon-chevron { font-size: 1.25rem; color: var(--text-dim); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item[open] .faq-icon-chevron { transform: rotate(45deg); color: var(--cyan); }
.faq-answer { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-muted); line-height: 1.7; }

/* ── Contact Form ── */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-grid.two-cols { grid-template-columns: repeat(2, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.form-input, .form-select, .form-textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem;
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  background: #FFFFFF; color: var(--text-main);
  font-family: inherit; font-size: 0.95rem; transition: var(--transition);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus,
input:focus, textarea:focus, select:focus { outline: none !important; border-color: var(--cyan) !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important; }
.form-input::placeholder, .form-textarea::placeholder { color: #94A3B8; }

.contact-split-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-split-layout { grid-template-columns: 1fr 1.15fr; } }

/* ── Footer ── */
.footer { background: #F1F5F9; color: #475569; padding-top: 5rem; padding-bottom: 3rem; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-col h4 { color: var(--text-main); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-link:hover { color: var(--cyan); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; font-size: 0.85rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-system-status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-full); }
.status-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 4px #10B981; animation: pulseLive 2s infinite; }
.status-live-text { font-size: 0.78rem; font-weight: 600; color: #065F46; }

/* ── Overflow & Visibility ── */
body, main, .section, .container { max-width: 100vw; overflow-x: clip; }
.hidden { display: none !important; }
@media (min-width: 640px) { .sm\:inline { display: inline !important; } }

/* ── Scroll Reveal ── */
.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }
.stagger-item { opacity: 0; transform: translateY(24px); transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-item.is-revealed { opacity: 1; transform: translateY(0); }

/* ── 3D Tilt ── */
.tilt-card { transform-style: preserve-3d; perspective: 1000px; transition: transform 0.25s ease; }
.tilt-card .specular-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,0.06), transparent 60%); z-index: 10; }
.tilt-card:hover .specular-glare { opacity: 1; }

/* ── Timeline (Method Section) ── */
.method-timeline-wrapper { position: relative; padding-left: 2.5rem; }
.timeline-track-beam { position: absolute; top: 0; left: 22px; bottom: 0; width: 2px; background: var(--border-light); }
.timeline-progress-fill { width: 100%; height: 0; background: linear-gradient(180deg, var(--cyan) 0%, rgba(53,232,245,0.2) 100%); border-radius: 2px; transition: height 0.3s ease; }
.method-steps-grid { display: flex; flex-direction: column; gap: 2.5rem; }
.method-step-card { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-node-halo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--border-light); display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; transition: var(--transition); }
.method-step-card.is-revealed .step-node-halo { border-color: var(--cyan); box-shadow: 0 0 15px rgba(53,232,245,0.2); }
.step-node-dot { display: none; }
.step-node-num { font-size: 0.85rem; font-weight: 800; color: var(--text-dim); }
.method-step-card.is-revealed .step-node-num { color: var(--cyan); }
.step-card-content { flex: 1; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.5rem; transition: var(--transition); }
.method-step-card:hover .step-card-content { border-color: var(--border-hover); }
.step-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.step-phase-tag span { font-size: 0.72rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Simulator Console ── */
.simulator-wrapper { max-width: 1100px; margin: 0 auto; }
.simulator-scenarios-strip { display: flex; overflow-x: auto; gap: 0.5rem; padding-bottom: 1rem; margin-bottom: 2rem; scrollbar-width: none; }
.simulator-scenarios-strip::-webkit-scrollbar { display: none; }
.scenario-pill { flex-shrink: 0; padding: 0.55rem 1.15rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.04); border: 1px solid var(--border-light); font-size: 0.85rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.scenario-pill:hover { background: rgba(255,255,255,0.08); color: var(--text-main); }
.scenario-pill.active { background: var(--cyan); color: var(--bg-main); border-color: var(--cyan); box-shadow: 0 3px 12px rgba(53,232,245,0.25); }
.simulator-console-frame { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.sim-console-header { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border-light); }
.sim-header-dots { display: flex; gap: 6px; }
.sim-dot { width: 10px; height: 10px; border-radius: 50%; }
.sim-console-body { padding: 1.5rem; }
.sim-section-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.85rem; margin-top: 1.5rem; }
.sim-section-title:first-child { margin-top: 0; }
.sim-message-bubble { background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.25rem; margin-bottom: 1rem; }
.sim-sender-name { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.sim-sender-meta { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.25rem; }
.sim-msg-text { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); font-style: italic; }
.sim-analysis-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (min-width: 640px) { .sim-analysis-grid { grid-template-columns: repeat(2, 1fr); } }
.sim-analysis-row { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.5rem 0.75rem; background: rgba(255,255,255,0.03); border-radius: var(--radius-xs); border: 1px solid var(--border-light); }
.sim-analysis-key { font-size: 0.78rem; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.sim-analysis-val { font-size: 0.85rem; color: var(--text-main); font-weight: 600; }
.sim-confidence-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(53,232,245,0.06); border: 1px solid var(--cyan-border); border-radius: var(--radius-sm); margin: 0.75rem 0; }
.sim-confidence-score { font-size: 1.35rem; font-weight: 900; color: var(--cyan); white-space: nowrap; }
.sim-confidence-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.sim-confidence-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--cyan-hover)); border-radius: 3px; }
.sim-actions-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.sim-action-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); padding: 0.5rem 0.75rem; background: rgba(255,255,255,0.02); border-radius: var(--radius-xs); border: 1px solid var(--border-light); }
.sim-action-check { color: #10B981; font-weight: 700; font-size: 1rem; }
.sim-draft-email-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.25rem; }
.sim-draft-header { font-size: 0.75rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.65rem; }
.sim-draft-email-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; font-style: italic; }
.sim-result-summary { margin-top: 1.25rem; padding: 1rem 1.25rem; background: rgba(53,232,245,0.05); border: 1px solid var(--cyan-border); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--cyan); font-weight: 600; line-height: 1.6; }

/* ── Stats Counters ── */
.stats-counter-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .stats-counter-row { grid-template-columns: repeat(4, 1fr); } }
.stat-counter-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; transition: var(--transition); }
.stat-counter-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.stat-icon-badge { font-size: 1.5rem; margin-bottom: 0.25rem; }
.counter-value { font-size: 2.5rem; font-weight: 900; color: var(--cyan); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-counter-label { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }
.stat-counter-sub { font-size: 0.78rem; color: var(--text-dim); }

/* ── Final CTA ── */
.cta-conversion-box { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 3.5rem 2.5rem; position: relative; overflow: hidden; }
.cta-conversion-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

/* ── Subpage Hero Banner ── */
.page-hero-banner { padding: 4rem 0 3rem; background: var(--bg-main); position: relative; }
@media (min-width: 1024px) { .page-hero-banner { padding: 5rem 0 4rem; } }

/* ── Project Cards & Showcase ── */
.project-card-item { position: relative; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.project-card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--border-hover); }
.project-card-image-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-surface); }
.project-card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card-item:hover .project-card-image-wrap img { transform: scale(1.05); }
.project-card-image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,13,18,0.8) 100%); opacity: 0; transition: opacity 0.3s ease; display: flex; align-items: flex-end; padding: 1.25rem; }
.project-card-item:hover .project-card-image-overlay { opacity: 1; }
.project-card-overlay-cta { color: var(--bg-main); font-weight: 700; font-size: 0.85rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; background: var(--cyan); padding: 0.4rem 1rem; border-radius: var(--radius-full); }
.project-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.project-card-body h3 { font-size: 1.15rem; }
.project-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.project-card-tag { font-size: 0.7rem; padding: 0.2rem 0.55rem; border-radius: var(--radius-full); background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); color: var(--text-dim); }
.project-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-top: 1px solid var(--border-light); }

/* Case Study */
.case-hero-split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .case-hero-split { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; } }
.case-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.case-stat-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 1rem; text-align: center; }
.case-stat-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.case-stat-value { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin-top: 0.25rem; }

.services-architecture-showcase .glass-card { background: var(--bg-card); border-color: var(--border-light); }

/* ── Dividers & Legacy Cleanups ── */
.section-divider { display: none !important; }
.glow-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan-border), transparent); margin: 0; }
.cyber-orbs-container, .cyber-orb, .orb-container, .orb, #cursor-glow, .tech-cursor-dot, .tech-cursor-ring { display: none !important; }
.btn-magnetic { transition: transform 0.15s ease; }
.typing-cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--cyan); margin-left: 3px; vertical-align: text-bottom; animation: cursorBlink 1s step-end infinite; }
@keyframes cursorBlink { 50% { opacity: 0; } }
.section-illustration { position: absolute; top: 0; right: -10%; width: 40%; height: 100%; opacity: 0.04; pointer-events: none; z-index: 0; object-fit: cover; }

/* ── Mobile Viewports ── */
@media (max-width: 640px) {
  .hero-section { padding-top: 2rem; padding-bottom: 3.5rem; }
  h1 { font-size: clamp(1.85rem, 7vw, 2.75rem); }
  .hero-ctas { flex-direction: column; width: 100%; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; text-align: center; max-width: 100%; word-break: break-word; }
  .btn-lg { min-height: 50px; padding: 0.8rem 1.4rem; font-size: 0.98rem; }
  .stats-counter-row { gap: 1rem; }
  .stat-counter-card { padding: 1.5rem 1rem; }
  .counter-value { font-size: 2rem; }
  .method-timeline-wrapper { padding-left: 1.5rem; }
  .timeline-track-beam { left: 16px; }
  .step-node-halo { width: 36px; height: 36px; }
  .step-card-content { padding: 1.15rem; }
  .hero-sculpture-wrap { max-width: 320px; }
  .hero-sculpture-card { font-size: 0.8rem; padding: 0.65rem 1rem; }
  .showroom-showcase-grid { padding: 1.5rem 1.15rem; gap: 1.75rem; }
  .card, .glass-card { padding: 1.5rem 1.15rem; }
}


/* Contact Channels */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-split-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3.5rem;
  }
}
.contact-channels-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  transition: var(--transition);
}
.contact-channel-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-2px);
}
.channel-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cyan-light);
  border: 1px solid var(--cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.channel-content {
  flex: 1;
}
.channel-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}
.channel-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
}
.channel-link:hover {
  color: var(--cyan-hover);
  gap: 0.55rem;
}
.channel-link.whatsapp-green {
  color: #25D366;
}
.section-illustration {
  display: none !important;
}

/* ==========================================================================
   Booking & Appointment System with CEO Jean Steve Pare
   ========================================================================== */

/* Mode Switcher (Tabs) */
.contact-tab-switcher-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.contact-tab-switcher {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.35rem;
  box-shadow: var(--shadow-sm);
  gap: 0.35rem;
  max-width: 100%;
  overflow-x: auto;
}
.contact-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.contact-tab-pill:hover {
  color: var(--text-main);
  background: rgba(37, 99, 235, 0.04);
}
.contact-tab-pill.active {
  background: var(--cyan);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.tab-pill-icon {
  font-size: 1.05rem;
}

/* Tab Panels */
.contact-tab-panel {
  display: none;
}
.contact-tab-panel.active {
  display: block;
  animation: fadeInPanel 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Booking Split Grid */
.booking-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .booking-split-grid {
    grid-template-columns: 410px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* Executive CEO Card */
.booking-ceo-card {
  padding: 2.25rem;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.ceo-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ceo-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.ceo-avatar-section {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.ceo-avatar-frame {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan), #60A5FA, #93C5FD);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}
.ceo-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #E2E8F0;
}
.ceo-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--cyan);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.ceo-titles {
  flex: 1;
}
.ceo-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.ceo-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}
.ceo-location {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.ceo-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.badge-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
}
.ceo-bio-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ceo-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}
.benefit-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.benefit-item strong {
  color: var(--text-main);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.1rem;
}
.benefit-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.ceo-direct-box {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}
.ceo-direct-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}
.ceo-direct-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ceo-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.ceo-link-pill.whatsapp-pill {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #059669;
}
.ceo-link-pill.whatsapp-pill:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25D366;
}
.ceo-link-pill.email-pill {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--cyan-border);
  color: var(--cyan);
}
.ceo-link-pill.email-pill:hover {
  background: rgba(37, 99, 235, 0.12);
}

/* Right: Calendar & Booking Widget Card */
.booking-calendar-card {
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}
.booking-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.cal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}
.cal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cal-tz-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Month Navigation */
.cal-month-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
}
.cal-nav-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.cal-nav-arrow:hover {
  background: var(--cyan);
  color: #FFFFFF;
  border-color: var(--cyan);
}
.cal-month-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Weekdays */
.cal-weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.cal-weekdays-grid span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
}

/* Days Grid */
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.cal-day-cell:hover:not(.disabled) {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--cyan-border);
  color: var(--cyan);
  transform: scale(1.05);
}
.cal-day-cell.selected {
  background: var(--cyan) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  border-color: var(--cyan) !important;
}
.cal-day-cell.is-today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}
.cal-day-cell.selected.is-today::after {
  background: #FFFFFF;
}
.cal-day-cell.disabled {
  color: #CBD5E1;
  cursor: not-allowed;
  opacity: 0.45;
}
.cal-day-cell.empty-cell {
  cursor: default;
  pointer-events: none;
}

/* Selected Date Banner */
.cal-date-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  animation: fadeInPanel 0.25s ease;
}
.banner-icon {
  font-size: 1.3rem;
}
.banner-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}
.banner-date {
  font-size: 1rem;
  color: var(--cyan);
}

/* Slots Section */
.cal-slots-section {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  animation: fadeInPanel 0.25s ease;
}
.slots-subheading {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.slots-row-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .slots-row-group {
    flex-direction: row;
    align-items: center;
  }
}
.slots-group-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  min-width: 90px;
}
.slots-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
}
.slot-time-pill {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.slot-time-pill:hover {
  border-color: var(--cyan-border);
  color: var(--cyan);
  background: rgba(37, 99, 235, 0.04);
}
.slot-time-pill.selected {
  background: var(--cyan);
  color: #FFFFFF;
  border-color: var(--cyan);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
  font-weight: 700;
}

/* Step 3 Form */
.booking-fields-form {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  animation: fadeInPanel 0.3s ease;
}
.form-slot-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.indicator-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}
.indicator-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}
.indicator-chip {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--cyan-border);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Success View */
.booking-success-view {
  padding: 2.5rem 1.5rem;
  text-align: center;
  animation: fadeInPanel 0.4s ease;
}
.success-celebrate-badge {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  animation: bounceCelebrate 1s ease infinite alternate;
}
@keyframes bounceCelebrate {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}
.success-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.success-subheading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.success-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.75rem auto;
  line-height: 1.55;
}
.success-recap-card {
  max-width: 520px;
  margin: 0 auto 2rem auto;
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.recap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-bottom: 0.5rem;
}
.recap-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.recap-label {
  color: var(--text-dim);
  font-weight: 500;
}
.recap-data {
  color: var(--text-main);
  font-weight: 600;
}
.success-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .success-buttons-stack {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}



/* ==========================================================================
   HERO — Interactive Floating Cards Stack
   ========================================================================== */
.hero-interactive-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 420px;
  perspective: 1200px;
  margin: 0 auto;
}
.hero-particle-canvas {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.hero-float-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0,0,0,0.03);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.3s ease;
  will-change: transform;
  z-index: 2;
}
.hero-float-card:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-color: var(--border-hover);
}

/* Card positions — 3D perspective stack */
.hero-card-ai {
  width: min(340px, 90%);
  top: 0;
  right: 0;
  z-index: 4;
  transform: rotateY(-4deg) rotateX(2deg);
  animation: hcFloat1 7s ease-in-out infinite alternate;
}
.hero-card-dash {
  width: min(310px, 85%);
  top: 140px;
  left: 0;
  z-index: 3;
  transform: rotateY(4deg) rotateX(-1deg) translateZ(-20px);
  animation: hcFloat2 8s ease-in-out 0.5s infinite alternate;
}
.hero-card-code {
  width: min(290px, 80%);
  bottom: 10px;
  right: 10px;
  z-index: 2;
  transform: rotateY(-3deg) rotateX(1deg) translateZ(-40px);
  animation: hcFloat3 9s ease-in-out 1s infinite alternate;
}
@keyframes hcFloat1 {
  0% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
  100% { transform: rotateY(-2deg) rotateX(1deg) translateY(-8px); }
}
@keyframes hcFloat2 {
  0% { transform: rotateY(4deg) rotateX(-1deg) translateZ(-20px) translateY(0); }
  100% { transform: rotateY(3deg) rotateX(0deg) translateZ(-20px) translateY(-6px); }
}
@keyframes hcFloat3 {
  0% { transform: rotateY(-3deg) rotateX(1deg) translateZ(-40px) translateY(0); }
  100% { transform: rotateY(-1deg) rotateX(0deg) translateZ(-40px) translateY(-10px); }
}

/* Card internal structure */
.hfc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #F1F5F9;
}
.hfc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hfc-dot-green { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.hfc-dot-cyan { background: var(--cyan); box-shadow: 0 0 8px rgba(53,232,245,0.4); }
.hfc-dot-yellow { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,0.4); }
.hfc-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
}
.hfc-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  color: #1D4ED8;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}
.hfc-body { min-height: 60px; }
.hfc-footer {
  padding-top: 0.6rem;
  margin-top: 0.65rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hfc-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hfc-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulseLive 2s infinite;
}

/* AI Card — typing line */
.hfc-ai-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
}
.hfc-ai-prompt {
  color: var(--cyan);
  font-weight: 600;
}
.hfc-ai-response {
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--cyan);
  animation: heroTyping 4s steps(44) 1s forwards, heroCursorBlink 0.8s step-end infinite;
  max-width: 0;
}
@keyframes heroTyping {
  to { max-width: 100%; }
}
@keyframes heroCursorBlink {
  50% { border-color: transparent; }
}

/* Dashboard Card — metric bars */
.hfc-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hfc-metric-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hfc-metric-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}
.hfc-metric-label span:last-child {
  color: var(--text-main);
  font-weight: 800;
}
.hfc-metric-track {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.hfc-metric-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  animation: metricGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0.5s);
}
.hfc-metric-fill.fill-cyan { background: linear-gradient(90deg, var(--cyan), var(--cyan-hover)); }
.hfc-metric-fill.fill-green { background: linear-gradient(90deg, #10B981, #34D399); }
.hfc-metric-fill.fill-amber { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
@keyframes metricGrow {
  to { width: var(--target, 80%); }
}

/* Code Card — syntax lines */
.hfc-code-lines {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.hfc-code-lines .ck { color: #7C3AED; }
.hfc-code-lines .cf { color: #2563EB; }
.hfc-code-lines .cs { color: #059669; }
.hfc-code-lines .cn { color: #D97706; }
.hfc-code-lines .co { color: #94A3B8; }
.hfc-line-num {
  color: var(--text-dim);
  opacity: 0.4;
  user-select: none;
  margin-right: 0.75rem;
  font-size: 0.65rem;
}

/* Bottom badge (kept from before) */
.hero-stack-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  white-space: nowrap;
  z-index: 5;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}
.hero-stack-badge .hsb-icon {
  color: var(--cyan);
  font-size: 1rem;
}
.hero-stack-badge .hsb-sep {
  width: 1px;
  height: 16px;
  background: var(--border-light);
}
.hero-stack-badge .hsb-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero-interactive-stack {
    max-width: 100%;
    min-height: 380px;
  }
  .hero-card-ai { width: 88%; right: 5%; top: 0; }
  .hero-card-dash { width: 85%; left: 2%; top: 130px; }
  .hero-card-code { width: 80%; right: 5%; bottom: 5px; }
  .hero-stack-badge { font-size: 0.72rem; padding: 0.45rem 0.9rem; bottom: -14px; }
}




/* ==========================================================================
   REFINED ARCHITECTURE & ECOSYSTEM SHOWCASE
   ========================================================================== */
.services-architecture-showcase {
  margin-top: 4.5rem;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}
.arch-diagram {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.arch-layer {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  position: relative;
  z-index: 2;
}
.arch-layer:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.arch-layer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
}
.arch-layer-num {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.85rem;
  font-weight: 800;
  color: #1D4ED8;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.arch-layer-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-main);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.arch-layer:hover .arch-layer-icon {
  transform: scale(1.05);
  border-color: var(--border-hover);
}
.arch-layer-meta {
  flex: 1;
  min-width: 0;
}
.arch-layer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.arch-layer-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.arch-layer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}
.arch-layer-nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}
.arch-node-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  border: 1px solid var(--border-light);
  color: #475569;
  transition: all 0.25s ease;
}
.arch-layer:hover .arch-node-tag {
  border-color: #CBD5E1;
  color: var(--text-main);
}
.arch-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1D4ED8;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.arch-status-badge .arch-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: pulseLive 2s infinite;
}

/* Interconnecting Conduit with data pulse & label */
.arch-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 52px;
  position: relative;
  z-index: 1;
  margin: -2px 0;
}
.arch-connector-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
  overflow: hidden;
}
.arch-connector-pulse {
  position: absolute;
  top: -10px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
  animation: archPulse 2.4s ease-in-out infinite;
}
.arch-connector-pill {
  position: relative;
  z-index: 3;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.22rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1D4ED8;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.arch-connector-pill svg, .arch-connector-pill span.icon {
  font-size: 0.75rem;
}

@keyframes archPulse {
  0% { top: -10px; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { top: calc(100% + 5px); opacity: 0; }
}

@media (max-width: 820px) {
  .arch-layer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.4rem;
    gap: 1rem;
  }
  .arch-layer-right {
    align-items: flex-start;
    width: 100%;
  }
  .arch-layer-nodes {
    justify-content: flex-start;
  }
  .arch-connector {
    height: 44px;
  }
  .arch-connector-pill {
    font-size: 0.62rem;
    padding: 0.18rem 0.65rem;
  }
}

/* ==========================================================================
   VELVET SCROLL REVEAL SYSTEM — Peaceful, smooth and progressive
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(5px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-35px) translateY(0);
}
.reveal-on-scroll.reveal-left.is-revealed {
  transform: translateX(0) translateY(0);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(35px) translateY(0);
}
.reveal-on-scroll.reveal-right.is-revealed {
  transform: translateX(0) translateY(0);
}

.reveal-on-scroll.reveal-scale {
  transform: scale(0.94);
}
.reveal-on-scroll.reveal-scale.is-revealed {
  transform: scale(1);
}

/* Cascading stagger items */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
  transition-delay: var(--stagger-delay, 0s);
}
.stagger-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}


/* ==========================================================================
   PROJECT CARDS & SHOWROOM FRAMING FIXES
   ========================================================================== */
#showroom {
  scroll-margin-top: 90px;
}

.showroom-section {
  scroll-margin-top: 90px;
}

.browser-viewport {
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.browser-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.browser-viewport:hover img {
  transform: scale(1.03);
}

/* Dedicated Projects Grid Cards Framing */
.project-card-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.project-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(53, 232, 245, 0.1);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 640px) {
  .project-img-wrapper {
    height: 195px;
  }
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.project-card-item:hover .project-card-img {
  transform: scale(1.04);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 18, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.project-card-item:hover .project-img-overlay {
  opacity: 1;
  pointer-events: auto;
}

.project-img-overlay .btn {
  transform: translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.project-card-item:hover .project-img-overlay .btn {
  transform: translateY(0);
}

/* Card Content Area */
.project-card-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.project-card-tagline {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

.project-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.project-card-actions {
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-top: auto;
}

@media (max-width: 640px) {
  .browser-header {
    padding: 0 0.75rem;
    gap: 0.6rem;
    height: 38px;
  }
  .browser-dots {
    display: none;
  }
  .browser-address-bar {
    max-width: 150px;
    font-size: 0.68rem;
    padding: 0 0.4rem;
  }
  .browser-address-bar span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .project-card-body {
    padding: 1.25rem 1.4rem 1.5rem;
  }
  .project-card-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .project-card-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   DYNAMIC SMOOTH NAV INDICATOR & SCROLL MARGINS
   ========================================================================== */
section[id],
#hero,
#services,
#showroom,
#approach,
#team,
#faq,
#cta-contact {
  scroll-margin-top: 90px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--cyan);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
  box-shadow: 0 0 12px rgba(53, 232, 245, 0.7);
}

.nav-link.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-link:not(.active):hover::after {
  transform: scaleX(0.45);
  opacity: 0.45;
}


/* ==============================================================================
   HERO ENHANCEMENTS: Consult, Build and Scale Trio & Stepper
   ============================================================================== */
.hero-title-trio {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.shimmer-scale {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 800;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: #334155;
  margin-top: 0.4rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.35;
}

.hero-tagline-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  flex-shrink: 0;
}

.hero-stepper {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.35rem 0 1.25rem 0;
  padding: 0.35rem 0.6rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.stepper-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
}

.stepper-pill:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
  transform: translateY(-1px);
}

.stepper-num {
  font-family: monospace, sans-serif;
  font-size: 0.75rem;
  color: #2563EB;
  font-weight: 700;
}

.stepper-arrow {
  color: #94A3B8;
  font-size: 0.8rem;
  user-select: none;
}


/* ==========================================================================
   TEAM — Architectural Studio Crest (No Photo Avatars)
   ========================================================================== */
.team-avatar-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tac-badge {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1.5px solid #DBEAFE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card-compact:hover .tac-badge {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px -6px rgba(37, 99, 235, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  border-color: #93C5FD;
}

.tac-domain-icon {
  width: 22px;
  height: 22px;
  stroke: #2563EB;
  transition: transform 0.3s ease;
}

.team-card-compact:hover .tac-domain-icon {
  transform: scale(1.1);
}

.tac-initials {
  font-family: var(--font-heading, system-ui, -apple-system, sans-serif);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #0F172A;
  background: linear-gradient(135deg, #0F172A 30%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tac-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.tac-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   HERO — Option 1: Mobile Touch Carousel & Desktop 3D Stack
   ========================================================================== */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-interactive-stack {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 440px;
  perspective: 1200px;
  margin: 0 auto;
  z-index: 5;
}

.hero-tech-backdrop {
  position: absolute;
  inset: -25px -20px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 40%, #F0F7FF 0%, #F8FAFC 75%, rgba(248, 250, 252, 0.4) 100%);
  border: 1.5px solid rgba(219, 234, 254, 0.9);
  box-shadow: 0 20px 45px -12px rgba(37, 99, 235, 0.08), 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.htb-grid-layer {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.16) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: center;
  opacity: 0.85;
}

.htb-sweep-beam {
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.03) 50%, rgba(37, 99, 235, 0.10) 90%, rgba(37, 99, 235, 0.28) 100%);
  border-bottom: 2px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2);
  animation: htbSweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes htbSweep {
  0% { transform: translateY(-50px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(620px); opacity: 0; }
}

.htb-svg-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.htb-packet-line {
  stroke-dasharray: 8 16;
  animation: htbFlow 4s linear infinite;
}

.htb-pl-reverse {
  animation: htbFlowReverse 5s linear infinite;
}

@keyframes htbFlow {
  from { stroke-dashoffset: 48; }
  to { stroke-dashoffset: 0; }
}

@keyframes htbFlowReverse {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 48; }
}

.htb-node-pulse {
  animation: htbPulse 2.5s ease-in-out infinite alternate;
}

@keyframes htbPulse {
  0% { transform-origin: center; transform: scale(0.9); opacity: 0.5; }
  100% { transform-origin: center; transform: scale(1.4); opacity: 1; filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.6)); }
}

/* Cards solid background and depth */
.hero-float-card {
  position: absolute;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  will-change: transform;
}

/* Desktop layout */
@media (min-width: 769px) {
  .hero-mobile-dots {
    display: none !important;
  }

  .hero-card-ai {
    width: min(340px, 90%);
    top: 0;
    right: 0;
    z-index: 4;
    transform: rotateY(-4deg) rotateX(2deg);
    animation: hcFloat1 7s ease-in-out infinite alternate;
  }

  .hero-card-dash {
    width: min(310px, 85%);
    top: 140px;
    left: 0;
    z-index: 3;
    transform: rotateY(4deg) rotateX(-1deg) translateZ(-20px);
    animation: hcFloat2 8s ease-in-out 0.5s infinite alternate;
  }

  .hero-card-code {
    width: min(320px, 85%);
    bottom: 20px;
    right: -10px;
    z-index: 2;
    transform: rotateY(-3deg) rotateX(1deg) translateZ(-40px);
    animation: hcFloat3 9s ease-in-out 1s infinite alternate;
  }

  .hero-card-code:hover {
    z-index: 10 !important;
    transform: translateY(-4px) scale(1.02) !important;
  }

  .hero-stack-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 0.55rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    white-space: nowrap;
    z-index: 10;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
  }
}

/* ==========================================================================
   MOBILE VIEW — Touch Swipe Carousel with 0 Overlap
   ========================================================================== */
@media (max-width: 768px) {
  .hero-visual {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
    position: relative;
  }

  .hero-tech-backdrop {
    inset: -12px -8px -15px -8px;
    border-radius: 24px;
  }

    /* Mobile Showcase Tabs & Clean Centered Stack */
  .hero-interactive-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    min-height: auto !important;
    max-width: 100% !important;
    padding: 0.4rem 0.5rem 0.8rem 0.5rem !important;
    gap: 0 !important;
    perspective: none !important;
    z-index: 5 !important;
  }

  .hero-interactive-stack::-webkit-scrollbar {
    display: none !important;
  }

  /* Sleek Apple/Stripe 3-Tab Pill Switcher */
  .hero-mobile-tabs {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #F1F5F9 !important;
    padding: 5px !important;
    border-radius: 9999px !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto 1.15rem auto !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    z-index: 10 !important;
  }

  .hero-tab-pill {
    flex: 1 1 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #64748B !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 8px 4px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .hero-tab-pill.is-active {
    background: #0052FF !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 10px rgba(0, 82, 255, 0.32) !important;
  }

  /* Cards on Mobile: 100% Width, Centered, Hidden unless active */
  .hero-float-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    transform: none !important;
    animation: none !important;
    border-radius: 20px !important;
    padding: 1.35rem 1.4rem !important;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03) !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    display: none !important;
  }

  /* Active card on mobile displays with a smooth subtle fade */
  .hero-float-card.is-mobile-active {
    display: block !important;
    animation: heroTabCardFade 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes heroTabCardFade {
    from {
      opacity: 0;
      transform: translateY(6px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Card 3 (Code Card) */
  .hero-card-code {
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
  }

  .hfc-code-lines {
    font-size: 0.78rem !important;
    line-height: 1.75 !important;
    background: #F8FAFC !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    margin-top: 0.4rem !important;
  }

  /* Bottom Badge: Clear, Centered, Beautiful 2-Line Studio Card */
  .hero-stack-badge {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0.65rem auto 0.75rem auto !important;
    width: calc(100% - 2rem) !important;
    max-width: 330px !important;
    box-sizing: border-box !important;
    padding: 0.6rem 1rem !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    text-align: center !important;
    z-index: 10 !important;
  }

  .hero-stack-badge svg {
    display: none !important;
  }

  .hero-stack-badge .hsb-sep {
    display: none !important;
  }

  .hero-stack-badge > span:first-of-type {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
  }

  .hero-stack-badge > span:first-of-type::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563EB;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
  }

  .hero-stack-badge .hsb-sub {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #2563EB !important;
  }
}

@media (max-width: 370px) {
  .hero-stack-badge {
    white-space: normal !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.74rem !important;
  }
  .hero-stack-badge .hsb-sep {
    display: none !important;
  }
}

/* Hide Netlify Badge Frame */
#nl-badge-frame, iframe[id*='nl-badge'], .netlify-badge { display: none !important; visibility: hidden !important; opacity: 0 !important; }
