/* ==========================================================================
   MARQOS DIGITAL SOLUTIONS DESIGN SYSTEM & STYLESHEET
   Monochrome Precision Architecture
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f4f4f4;
  --bg-dark: #0a0a0a;
  --bg-dark-surface: #141414;
  --bg-dark-card: #171717;
  
  --text-primary: #0a0a0a;
  --text-secondary: #737373;
  --text-muted: #8a8a8a;
  --text-light: #f5f5f5;
  --text-light-muted: #a3a3a3;

  --border-hairline: #e5e5e5;
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-dark: #262626;
  --border-dark-subtle: rgba(255, 255, 255, 0.1);

  --radius-pill: 9999px;
  --radius-card: 14px;
  --radius-panel: 24px;
  --radius-sm: 8px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-syne: 'Syne', sans-serif;
  --font-outfit: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1200px;
  --container-pad: 24px;

  --transition-smooth: all 0.2s 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-subtle);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Typography Helpers */
a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   BUTTONS & PILL CONTROLS
   -------------------------------------------------------------------------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.pill-btn.full-width {
  width: 100%;
}

.primary-btn {
  background-color: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}
.primary-btn:hover {
  background-color: #262626;
  border-color: #262626;
  transform: translateY(-1px);
}

.ghost-btn {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-hairline);
}
.ghost-btn:hover {
  background-color: var(--bg-subtle);
  border-color: #0a0a0a;
}

.white-btn {
  background-color: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}
.white-btn:hover {
  background-color: #e5e5e5;
  border-color: #e5e5e5;
  transform: translateY(-1px);
}

.ghost-dark-btn {
  background-color: transparent;
  color: #ffffff;
  border-color: var(--border-dark);
}
.ghost-dark-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   1. STICKY TOP NAV
   -------------------------------------------------------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 14px;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  display: block;
  background: transparent;
  transition: opacity 0.2s ease;
}

.brand-logo-img:hover {
  opacity: 0.8;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.brand-logo-footer-img {
  height: 38px;
  width: auto;
  display: block;
  background: transparent;
  transition: opacity 0.2s ease;
}

.brand-logo-footer-img:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 30px;
  }
  .brand-logo-footer-img {
    height: 34px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-logiq {
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-ghost-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.nav-ghost-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

.mobile-drawer {
  display: none;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-hairline);
  padding: 20px var(--container-pad);
}
.mobile-drawer.active {
  display: block;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.mobile-nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: calc(100vh - 65px);
  min-height: calc(100dvh - 65px);
  padding: 40px var(--container-pad) 48px;
  text-align: center;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.hero-content {
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-scroll-indicator a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  color: var(--text-tertiary);
  background: var(--bg-primary);
  transition: var(--transition-smooth);
  animation: heroBounce 2.4s infinite ease-in-out;
}

.hero-scroll-indicator a:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.headline-bold {
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.headline-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 62px);
  color: var(--text-secondary);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.hero-subhead {
  max-width: 720px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.68;
  color: var(--text-secondary);
  margin: 0 auto 34px;
  text-align: center;
}

.hero-subhead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   3. STACK STRIP
   -------------------------------------------------------------------------- */
.stack-strip-section {
  padding: 22px var(--container-pad);
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  overflow: hidden;
}

.stack-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  white-space: nowrap;
}

.stack-scroller {
  position: relative;
  overflow: hidden;
  max-width: var(--container-max);
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.stack-track {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: max-content;
  animation: stackMarquee 35s linear infinite;
}

.stack-track:hover {
  animation-play-state: paused;
}

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

.stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.stack-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. CHI SIAMO SECTION (REPLACES OLD DASHBOARD MOCKUP)
   -------------------------------------------------------------------------- */
.chi-siamo-section {
  padding: 80px var(--container-pad) 95px;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
}

.chi-siamo-container {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
}

.chi-siamo-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.chi-siamo-header .section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.chi-siamo-card {
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-panel);
  padding: 48px 56px 40px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.chi-siamo-narrative {
  font-size: clamp(17px, 1.8vw, 20.5px);
  line-height: 1.72;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-align: left;
}

.chi-siamo-narrative strong {
  color: var(--text-primary);
  font-weight: 600;
}

.chi-siamo-divider {
  height: 1px;
  background-color: var(--border-hairline);
  margin: 36px 0 32px;
}

.chi-siamo-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.chi-siamo-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.chi-siamo-pillar-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-primary);
  margin-top: 6px;
  flex-shrink: 0;
}

.chi-siamo-pillar-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chi-siamo-pillar-info strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.chi-siamo-pillar-info span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 840px) {
  .chi-siamo-card {
    padding: 32px 24px 28px;
  }
  .chi-siamo-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   5. DARK ARCHITECTURE PANEL (CHAPTER BREAK)
   -------------------------------------------------------------------------- */
.dark-chapter-section {
  padding: 30px var(--container-pad) 80px;
  background-color: var(--bg-primary);
}

.dark-panel {
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-panel);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.dark-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.dark-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.dark-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.dark-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light-muted);
}

/* Interactive Architecture Diagram */
.interactive-architecture-diagram {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  position: relative;
}

.arch-nodes-left, .arch-nodes-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  transition: var(--transition-smooth);
  cursor: pointer;
}
.arch-chip:hover {
  background-color: #212121;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(3px);
}
.arch-nodes-left .arch-chip:hover {
  transform: translateX(-3px);
}

.chip-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light-muted);
}

.chip-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}



.chip-sub {
  font-size: 11.5px;
  color: var(--text-light-muted);
}

.arch-hub {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hub-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
}

.hub-circle::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: rotateSlow 40s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hub-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 10px;
  color: #ffffff;
}



.hub-role {
  font-size: 10px;
  color: var(--text-light-muted);
  line-height: 1.35;
  margin-top: 4px;
}

/* Step pill row */
.step-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 46px 0 24px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.step-num {
  font-weight: 700;
  color: var(--text-light-muted);
}

.step-arrow {
  color: var(--text-light-muted);
  font-size: 14px;
}

.arch-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-light-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. HOW IT WORKS (LIGHT SECTION)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-primary);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.section-headline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 54px;
  line-height: 1.15;
}

.numbered-steps-list {
  display: flex;
  flex-direction: column;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr 180px;
  align-items: baseline;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--border-hairline);
  transition: var(--transition-smooth);
}
.step-item:last-child {
  border-bottom: 1px solid var(--border-hairline);
}

.step-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.step-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.step-indicator {
  display: flex;
  justify-content: flex-end;
}

.tech-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. THREE PILLARS (DEPLOYMENT MODES)
   -------------------------------------------------------------------------- */
.pillars-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

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

.pillar-card {
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pillar-card.light-card {
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
}
.pillar-card.light-card:hover {
  transform: translateY(-3px);
  border-color: #0a0a0a;
}

.pillar-numeral {
  font-size: 64px;
  font-weight: 800;
  color: #f0f0f0;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 1px #d4d4d4;
}

.pillar-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pillar-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--text-primary);
}

.pillar-features li {
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.bullet-check {
  color: #0a0a0a;
  font-weight: 700;
}

.pillar-footer {
  margin-top: auto;
}

/* Inverted Dark Center Card */
.pillar-card.dark-card {
  background-color: var(--bg-dark);
  color: #ffffff;
  border: 1px solid var(--border-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.pillar-card.dark-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

.pillar-numeral-dark {
  font-size: 64px;
  font-weight: 800;
  color: #262626;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.pillar-tag-dark {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 12px;
}

.pillar-title-dark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.pillar-desc-dark {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light-muted);
  margin-bottom: 24px;
}

.pillar-features-dark {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #ffffff;
}



.pillar-features-dark li {
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.bullet-check-dark {
  color: #ffffff;
  font-weight: 700;
}

.pillar-footer-dark {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.badge-opensource {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light-muted);
}

/* Banner below pillars */
.pillars-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 34px 40px;
  align-items: center;
}

.banner-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.banner-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.banner-col-right p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   8. APP / SERVICE CATALOGUE (SPLIT VIEW WITH 3x3 GRID)
   -------------------------------------------------------------------------- */
.catalogue-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-primary);
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.catalogue-intro {
  position: sticky;
  top: 90px;
}

.catalogue-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.catalogue-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.catalogue-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-chip:hover {
  background-color: #f0f0f0;
  color: var(--text-primary);
}
.filter-chip.active {
  background-color: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.catalogue-cta-box {
  margin-top: 10px;
}

/* 3x3 Grid */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: var(--transition-smooth);
  position: relative;
}
.cat-card:hover {
  border-color: #0a0a0a;
  transform: translateY(-2px);
}

.cat-icon {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cat-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cat-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.cat-arrow {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  align-self: flex-end;
  transition: transform 0.2s ease;
}
.cat-card:hover .cat-arrow {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   9. DARK CAPABILITIES INDEX
   -------------------------------------------------------------------------- */
.capabilities-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.cap-group {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background-color: var(--bg-dark-surface);
  overflow: hidden;
}

.cap-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--bg-dark-card);
  border-bottom: 1px solid var(--border-dark);
}

.cap-group-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}



.cap-group-count {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
}

.cap-group-rows {
  display: flex;
  flex-direction: column;
}

.cap-row {
  display: grid;
  grid-template-columns: 140px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
  transition: var(--transition-smooth);
}
.cap-row:last-child {
  border-bottom: none;
}
.cap-row:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.cap-chip-title {
  font-weight: 600;
  color: #ffffff;
}



.cap-chip-sub {
  color: var(--text-light-muted);
  line-height: 1.4;
}

.cap-arrow {
  color: var(--text-light-muted);
  font-size: 14px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   10. CASE STUDY DEEP DIVE: LOGIQ
   -------------------------------------------------------------------------- */
.deepdive-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-primary);
}

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

.deepdive-headline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  line-height: 1.18;
}

.deepdive-paragraph {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.deepdive-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.dd-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dd-num {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
}

.dd-point strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.dd-point p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.deepdive-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-secondary);
  border-left: 2px solid var(--text-primary);
  padding-left: 18px;
  line-height: 1.5;
}

/* Interactive Console */
.deepdive-console {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--bg-dark-card);
  border-bottom: 1px solid var(--border-dark);
}

.console-lights {
  display: flex;
  gap: 6px;
}
.console-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #333333;
}

.console-label {
  font-size: 11px;
  font-family: monospace;
  color: var(--text-light-muted);
}

.console-badge {
  font-size: 10px;
  color: var(--text-light-muted);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.console-body {
  padding: 20px 22px;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #d4d4d4;
  overflow-x: auto;
}

.code-line {
  white-space: pre;
}

.c-comment { color: #6b7280; font-style: italic; }
.c-kw { color: #f43f5e; font-weight: 600; }
.c-fn { color: #38bdf8; }
.c-name { color: #e5e7eb; }
.c-type { color: #fbbf24; }
.c-num { color: #a78bfa; }
.c-str { color: #34d399; }
.output { margin-top: 10px; }
.c-out-green { color: #4ade80; font-weight: 600; }

.console-status-row {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  background-color: var(--bg-dark-surface);
  border-top: 1px solid var(--border-dark);
}

.status-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light-muted);
}

.chip-dot.ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
}

/* --------------------------------------------------------------------------
   11. COMPARISON TABLE
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.table-scroller {
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  background-color: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-hairline);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 700;
}

.col-highlight {
  background-color: #0a0a0a !important;
  color: #ffffff !important;
  width: 32%;
}

.col-feature {
  width: 28%;
}
.col-other {
  width: 20%;
}

.feature-title strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.feature-title span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.cell-highlight {
  background-color: #fafafa;
  border-left: 2px solid #0a0a0a;
  border-right: 1px solid var(--border-hairline);
}
.cell-highlight strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.cell-highlight span {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.cell-other {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   12. TRANSPARENCY & CODE SOVEREIGNTY
   -------------------------------------------------------------------------- */
.transparency-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-primary);
}

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

.transparency-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.transparency-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
}

.transparency-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.t-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
}

.transparency-card {
  background-color: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-card);
  padding: 38px 32px;
  border: 1px solid var(--border-dark);
}

.license-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 10px;
}

.license-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.license-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.l-tag {
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.l-tag-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.l-tag-desc {
  display: block;
  font-size: 11px;
  color: var(--text-light-muted);
  line-height: 1.35;
}

.license-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-light-muted);
  border-top: 1px solid var(--border-dark);
  padding-top: 18px;
}

.license-status-icon {
  font-weight: 700;
  color: #22c55e;
}

/* --------------------------------------------------------------------------
   13. FINAL CALL TO ACTION (DARK CHAPTER PANEL)
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 40px var(--container-pad) 90px;
  background-color: var(--bg-primary);
}

.final-cta-panel {
  max-width: var(--container-max);
  margin: 0 auto;
  background-color: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--radius-panel);
  padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 60px);
  text-align: center;
  border: 1px solid var(--border-dark);
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.cta-headline {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 20px;
}

.cta-subtext {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-light-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light-muted);
}
.cta-guarantee strong {
  color: #ffffff;
}



/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-hairline);
  padding: 70px var(--container-pad) 36px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-blurb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-location {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.footer-nav-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.legal-links {
  display: flex;
  gap: 20px;
}
.legal-links a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   INTERACTIVE MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px;
  position: relative;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
}
.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #0a0a0a;
  background-color: #ffffff;
}

.project-type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.radio-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-subtle);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}
.radio-chip input {
  accent-color: #0a0a0a;
}

.form-guarantee {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.modal-success-view {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.modal-success-view h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-success-view p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   NEW: DEDICATED LOGIQ STARTUP SECTION & PROJECTS SHOWCASE
   -------------------------------------------------------------------------- */
.logiq-inline-brand {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.logiq-inline-brand .azure,
.logiq-wordmark .azure {
  color: #3B82F6;
}

.logiq-startup-section {
  padding: 40px var(--container-pad) 90px;
  background-color: var(--bg-primary);
}

.logiq-showcase-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.14);
}

.logiq-header-wrap {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logiq-brand-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  background-color: #141414;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 24px;
  text-align: center;
}

.logiq-wordmark-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logiq-wordmark {
  font-family: var(--font-syne), sans-serif !important;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: currentColor;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.dark-panel .logiq-wordmark,
.dark-card .logiq-wordmark,
.logiq-brand-badge .logiq-wordmark,
.pillar-logiq-brand-badge .logiq-wordmark {
  color: #ffffff;
}



.chi-siamo-card .logiq-wordmark,
.project-card .logiq-wordmark,
.nav-links .logiq-wordmark {
  color: var(--text-primary);
}

.logiq-wordmark .azure,
.logiq-wordmark .logiq-accent {
  color: #3B82F6 !important;
}

.logiq-wordmark.inline-wordmark {
  font-size: 1.05em;
  color: inherit;
  font-weight: 700;
}
.logiq-wordmark.inline-wordmark .azure,
.logiq-wordmark.inline-wordmark .logiq-accent {
  color: #3B82F6 !important;
}

.logiq-wordmark-sm {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logiq-wordmark-md {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logiq-wordmark-lg {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.logiq-tagline-mini {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-light-muted);
  margin-top: 5px;
}

.serif-light-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-light-muted);
}

.logiq-lead-copy {
  max-width: 720px;
  font-size: 15.5px;
}
.logiq-lead-copy strong {
  color: #ffffff;
}



.logiq-interactive-stage {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 36px;
}

.logiq-pillars-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logiq-tab {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background-color: #121212;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.logiq-tab:hover {
  background-color: #191919;
  border-color: rgba(255, 255, 255, 0.22);
}

.logiq-tab.active {
  background-color: #1c1c1c;
  border-color: #3B82F6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.ltab-num {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light-muted);
  flex-shrink: 0;
  margin-top: 2px;
}
.logiq-tab.active .ltab-num {
  background-color: #3B82F6;
  color: #ffffff;
}



.ltab-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ltab-body p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-light-muted);
}

.logiq-visual-frame {
  background-color: #0f0f0f;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.logiq-frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #161616;
  border-bottom: 1px solid var(--border-dark);
}

.frame-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}



.frame-brand img {
  border-radius: 5px;
}

.frame-pills {
  display: flex;
  gap: 6px;
}
.frame-pills span {
  font-family: monospace;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light-muted);
}

.logiq-screen-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.logiq-screen {
  display: none;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.logiq-screen.active {
  display: flex;
}

.logiq-screen img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.screen-caption {
  font-size: 12.5px;
  color: var(--text-light-muted);
  padding: 10px 14px;
  background-color: #161616;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
}
.screen-caption strong {
  color: #ffffff;
}



.logiq-bridge-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background-color: #141414;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  flex-wrap: wrap;
}

.bridge-text {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bridge-text strong {
  font-size: 15px;
  color: #ffffff;
}



.bridge-text span {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.5;
}

/* Dual Buttons in Three Pillars */
.pillar-logiq-brand-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 18px;
  background-color: #141414;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  width: fit-content;
}
.pillar-logiq-brand-badge .logiq-wordmark {
  font-family: var(--font-syne), sans-serif !important;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
}
.pillar-logiq-brand-badge .logiq-wordmark .azure {
  color: #3B82F6;
}
.pillar-logiq-brand-badge .logiq-tagline-mini {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
  margin-top: 3px;
}

.pillar-footer.dual-buttons,
.pillar-footer-dark.dual-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.pillar-footer.dual-buttons .pill-btn,
.pillar-footer-dark.dual-buttons .pill-btn {
  width: 100%;
}

/* Projects Showcase Section */
.projects-showcase-section {
  padding: 90px var(--container-pad);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-hairline);
}

.projects-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.project-scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.scope-tab:hover {
  color: var(--text-primary);
  border-color: #0a0a0a;
}
.scope-tab.active {
  background-color: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

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

.project-card {
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: #0a0a0a;
}

.project-visual {
  position: relative;
  height: 245px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.project-visual.dark-visual {
  background-color: #0a0a0a;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.project-visual.dark-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.project-card:hover .project-visual.dark-visual img {
  transform: scale(1.03);
}

/* Villa Ginevra Real Hero Visual */
.project-visual.villa-ginevra-visual {
  padding: 0;
  background-color: #000000;
}
.vg-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.project-card:hover .vg-bg-img {
  transform: scale(1.04);
}
.vg-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 50%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.65) 100%);
}
.vg-hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #ffffff;
  width: 100%;
}
.vg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.vg-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #0096f7;
  box-shadow: 0 0 8px #0096f7;
}
.vg-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  margin-bottom: 6px;
}
.vg-tagline {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 280px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.vg-specs-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  white-space: nowrap;
}
.vg-loc {
  color: #0096f7;
  font-weight: 600;
}
.vg-cta-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.vg-btn-primary {
  font-size: 9.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: #0096f7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 150, 247, 0.45);
}
.vg-btn-ghost {
  font-size: 9.5px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}



.project-scope-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.94);
  color: #0a0a0a;
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(6px);
}
.project-scope-badge.badge-logiq,
.project-scope-badge.badge-dark-glass {
  background-color: rgba(10, 10, 10, 0.85);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

/* Custom Graphic Design Platforms for E-Commerce & Multi-Property */
.project-visual.platform-visual {
  padding: 10px;
  background: linear-gradient(145deg, #f3f3f3 0%, #eaeaea 100%);
}

.design-platform {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  position: relative;
}

.dp-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 9px;
}
.dp-browser-bar.dark-bar {
  background-color: #161616;
  border-bottom-color: #2a2a2a;
  color: #a3a3a3;
}
.dp-dots {
  display: flex;
  gap: 4px;
}
.dp-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d4d4d4;
}
.dark-bar .dp-dots span {
  background-color: #404040;
}
.dp-url {
  font-family: monospace;
  color: var(--text-muted);
}
.dp-bag {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.dark-bar .dp-bag {
  color: #e5e5e5;
}

/* AURA Fashion Platform */
.aura-platform {
  background-color: #faf8f5;
}
.aura-stage {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 10px;
  padding: 10px 12px 6px;
  align-items: center;
  flex: 1;
}
.aura-kicker {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8c7a6b;
  margin-bottom: 3px;
}
.aura-h {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.05;
  color: #141414;
  margin-bottom: 4px;
}
.aura-sub {
  font-size: 9.5px;
  color: #666;
  line-height: 1.3;
  margin-bottom: 7px;
}
.aura-sizes {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.aura-sizes span {
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 6px;
  border: 1px solid #d6d1c7;
  border-radius: 4px;
  color: #555;
}
.aura-sizes span.active {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}
.aura-buy-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.aura-btn-black {
  font-size: 9px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background-color: #141414;
  color: #ffffff;
  white-space: nowrap;
}
.aura-stock {
  font-size: 8.5px;
  color: #15803d;
  font-weight: 600;
}
.aura-visual-card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aura-garment-preview {
  width: 100%;
  height: 105px;
  border-radius: 8px;
  background: linear-gradient(160deg, #e6dfd5 0%, #cbbba8 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.garment-silhouette {
  width: 46px;
  height: 70px;
  border-radius: 20px 20px 4px 4px;
  background: linear-gradient(180deg, #2b2623 0%, #141210 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.garment-tag {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 7.5px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.9);
  color: #141414;
}

/* DOMUS Multi-Property Platform */
.domus-platform {
  background-color: #ffffff;
}
.domus-stage {
  padding: 8px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.domus-kicker {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #0284c7;
}
.domus-h {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.domus-search-bar {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 6px;
  align-items: center;
  padding: 5px 7px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}
.ds-cell strong {
  display: block;
  font-size: 8px;
  color: #0f172a;
}
.ds-cell span {
  font-size: 8px;
  color: #64748b;
}
.ds-btn {
  font-size: 8.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  background-color: #0f172a;
  color: #ffffff;
  white-space: nowrap;
}
.domus-suites-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.domus-mini-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: #ffffff;
}
.dmc-thumb {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  flex-shrink: 0;
}
.thumb-sea {
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
}
.thumb-garden {
  background: linear-gradient(135deg, #34d399 0%, #047857 100%);
}
.dmc-info strong {
  display: block;
  font-size: 8.5px;
  color: #0f172a;
  white-space: nowrap;
}
.dmc-info span {
  display: block;
  font-size: 7.5px;
  color: #16a34a;
}

/* TERRA & VIGNA Wine/Gourmet Platform */
.terra-platform {
  background-color: #121311;
  color: #ffffff;
}



.terra-stage {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 8px;
  padding: 10px 12px 6px;
  align-items: center;
  flex: 1;
}
.terra-kicker {
  display: block;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #d4af37;
  margin-bottom: 3px;
}
.terra-h {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 6px;
}
.terra-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.terra-pills span {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.16);
  color: #a3a3a3;
}
.terra-pills span.active {
  background-color: #d4af37;
  color: #121311;
  border-color: #d4af37;
  font-weight: 700;
}
.terra-cta-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.terra-btn-gold {
  font-size: 8.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  color: #121311;
  white-space: nowrap;
}
.terra-ship {
  font-size: 7.5px;
  color: #a3a3a3;
  white-space: nowrap;
}
.wine-card-sim {
  background-color: #1b1d1a;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.wine-bottle-icon {
  width: 18px;
  height: 46px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #7f1d1d 0%, #2a0808 100%);
  border: 1px solid rgba(255,255,255,0.2);
}
.wine-meta strong {
  display: block;
  font-size: 8.5px;
  color: #ffffff;
}



.wine-meta span {
  font-size: 7.5px;
  color: #d4af37;
}

/* Shared Floating AI Bar inside Design Platforms */
.dp-ai-floating {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background-color: #0a0a0a;
  color: #ffffff;
  font-size: 9px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.dp-ai-badge {
  font-size: 7.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background-color: #3B82F6;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}
.dp-ai-text {
  color: #e5e5e5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.project-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.project-tags span {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

.project-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.project-actions .pill-btn {
  flex: 1 1 calc(50% - 4px);
  min-width: 135px;
  font-size: 12px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.visit-btn {
  background-color: var(--bg-dark);
  color: #ffffff;
  border: 1px solid var(--bg-dark);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.visit-btn:hover {
  background-color: #262626;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.visit-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.visit-btn:hover svg {
  transform: translate(1px, -1px);
}

.visit-btn.pending-link {
  background-color: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.visit-btn.pending-link:hover {
  background-color: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.sample-toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.sample-toast-notice.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }

  .stacked-card { display: none; }

  .logiq-interactive-stage {
    grid-template-columns: 1fr;
  }

  .interactive-architecture-diagram {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .arch-hub { order: -1; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-banner { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .catalogue-layout {
    grid-template-columns: 1fr;
  }
  .catalogue-intro { position: static; }
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }

  .capabilities-matrix { grid-template-columns: 1fr; }
  .deepdive-layout { grid-template-columns: 1fr; }
  .transparency-layout { grid-template-columns: 1fr; }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: 1fr; }
  .kpi-banner { grid-template-columns: 1fr; }
  .step-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-row { grid-template-columns: 1fr; }
  .project-type-selector { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

