/* ===========================
   VARIABLES & RESET
   =========================== */
:root {
  /* Brand colors */
  --gold: #C5A55A;
  --gold-light: #D4BA78;
  --gold-dark: #A8883E;
  --gold-dim: rgba(197, 165, 90, 0.12);
  --gold-glow: rgba(197, 165, 90, 0.22);

  /* Dark palette — deeper, more premium */
  --dark: #0C0C1A;
  --dark-mid: #131326;
  --dark-surface: #1A1A32;
  --dark-elevated: #222240;

  /* Text */
  --text: #374151;
  --text-light: #6B7280;
  --text-on-dark: rgba(255, 255, 255, 0.88);
  --text-muted-dark: rgba(255, 255, 255, 0.45);

  /* Backgrounds */
  --bg: #FFFFFF;
  --bg-warm: #F7F5F0;
  --border: #E5E7EB;
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(197, 165, 90, 0.25);

  /* Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  /* Transition */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3 {
  font-family: var(--font-display);
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-warm {
  background: var(--bg-warm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 16px;
}

.section-timeline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 56px;
}

.section > .container > .section-title,
.section > .container > .section-subtitle,
.section > .container > .section-timeline {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.text-gold-gradient {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* Shimmer on primary button */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: btn-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0% { left: -100%; }
  40%, 100% { left: 160%; }
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 165, 90, 0.35);
}

/* Ghost button — for use on dark backgrounds */
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Outline button — for use on light backgrounds */
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Nav links — white on dark hero, dark when scrolled */
.navbar:not(.scrolled) .nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.82);
}

.navbar.scrolled .nav-links a:not(.btn) {
  color: var(--text);
}

.nav-links a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

/* Gold underline slide-in on hover */
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--gold);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-cta.btn {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .hamburger span {
  background: var(--dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(90, 50, 160, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(197, 165, 90, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 85%, rgba(30, 100, 110, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 30%, rgba(60, 30, 100, 0.12) 0%, transparent 40%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  background: rgba(197, 165, 90, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 580px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   HERO VISUAL / WORKFLOW CARD
   =========================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.workflow-card {
  background: var(--dark-surface);
  border: 1px solid rgba(197, 165, 90, 0.3);
  border-radius: 18px;
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(197, 165, 90, 0.08);
  animation: float 5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.workflow-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(197, 165, 90, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

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

.workflow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wf-triggered {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.workflow-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.workflow-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(197, 165, 90, 0.12);
  border: 1px solid rgba(197, 165, 90, 0.35);
  border-radius: 100px;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wf-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wf-done-icon {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.wf-active-icon {
  background: rgba(197, 165, 90, 0.18);
  color: var(--gold);
  border: 1px solid rgba(197, 165, 90, 0.45);
  box-shadow: 0 0 12px rgba(197, 165, 90, 0.2);
}

.wf-pending-icon {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.wf-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.wf-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.wf-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

.wf-status {
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

.wf-done {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.wf-active {
  color: var(--gold);
  background: rgba(197, 165, 90, 0.1);
  animation: pulse-badge 2s ease-in-out infinite;
}

.wf-pending {
  color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.workflow-connector {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0 6px 17px;
}

/* ===========================
   LOGO CAROUSEL
   =========================== */
.logos-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 32px;
}

.logos-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}


.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  height: 28px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.2s;
}

.logo-item:hover img {
  filter: none;
}

.logo-item span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

/* ===========================
   STATS STRIP
   =========================== */
.stats-section {
  padding: 80px 0;
  background: var(--dark-mid);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 165, 90, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(197, 165, 90, 0.05) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}


.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ===========================
   GRID LAYOUTS
   =========================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

/* ===========================
   WHY AI SECTION (dark)
   =========================== */
.why-section {
  background: var(--dark);
}

.why-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-header .section-title {
  color: #fff;
}

.why-statement {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Cards on dark background */
.why-section .card {
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.why-section .card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.why-section .card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 165, 90, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.why-section .card:hover::before {
  transform: scaleY(1);
}

.why-section .card-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.why-section .card-icon svg {
  width: 100%;
  height: 100%;
}

.why-section .card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 12px;
}

.why-section .card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ===========================
   CARDS (light sections)
   =========================== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===========================
   SERVICES — FEATURED LAYOUT
   =========================== */
.services-featured-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Featured service card — larger, more prominent */
.service-card-featured {
  padding: 52px 48px;
  background: linear-gradient(160deg, var(--bg) 0%, #FAFAF8 100%);
}

.service-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 28px;
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card-featured h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===========================
   AI INTEGRATION BLOCK
   =========================== */
.integration-block {
  background: var(--dark);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  border: 1px solid var(--border-gold);
}

.integration-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.integration-text p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.8;
}

.integration-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.integration-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 165, 90, 0.25);
  border-radius: 10px;
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  transition: all var(--transition);
}

.integration-list li:hover {
  background: rgba(197, 165, 90, 0.08);
  border-color: rgba(197, 165, 90, 0.45);
}

/* ===========================
   BEFORE / AFTER
   =========================== */
.ba-section {
  background: var(--dark);
}

.ba-section .section-title {
  color: #fff;
}

.ba-header {
  text-align: center;
  margin-bottom: 64px;
}

.ba-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-col {
  padding: 48px 40px;
}

.ba-before {
  background: var(--dark-surface);
}

.ba-after {
  background: linear-gradient(160deg, #131328 0%, #0F1F25 100%);
}

.ba-divider {
  width: 1px;
  background: var(--border-dark);
}

.ba-col-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.ba-before .ba-col-label {
  color: rgba(255, 255, 255, 0.35);
}

.ba-after .ba-col-label {
  color: var(--gold);
}

.ba-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.ba-before .ba-list li {
  color: rgba(255, 255, 255, 0.45);
}

.ba-before .ba-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.2);
}

.ba-after .ba-list li {
  color: rgba(255, 255, 255, 0.82);
}

.ba-after .ba-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===========================
   PROCESS STEPS
   =========================== */
.process-steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 0;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 90px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-light), var(--border));
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(197, 165, 90, 0.3);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  margin-top: 4px;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===========================
   ABOUT
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.about-text p {
  color: var(--text);
  font-size: 1.0625rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-logo-wrap {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  position: relative;
  box-shadow: 0 0 0 8px rgba(197, 165, 90, 0.08), 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-logo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.about-founder-credit {
  text-align: center;
  margin-top: 20px;
}

.about-founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  font-size: 1.125rem;
  margin: 0;
}

.about-founder-title {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 4px;
  margin-bottom: 0;
}

/* ===========================
   BELIEFS / MANIFESTO
   =========================== */
.beliefs-section {
  background: var(--dark);
}

.beliefs-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.beliefs-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.beliefs-section .section-title {
  color: #fff;
  margin-bottom: 20px;
}

.mission-statement {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.manifesto {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.manifesto-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--transition);
}

.manifesto-item:last-child {
  border-bottom: none;
}

.manifesto-item:hover .manifesto-text {
  color: rgba(255, 255, 255, 0.88);
}

.manifesto-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  padding-top: 6px;
  opacity: 0.7;
}

.manifesto-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  transition: color var(--transition);
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(197, 165, 90, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(197, 165, 90, 0.08) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  text-align: center;
}

.cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(197, 165, 90, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-top-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* ===========================
   SCROLL REVEAL ANIMATION
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-placeholder {
  text-align: center;
  padding: 48px 0;
}

.coming-soon {
  font-size: 1.0625rem;
  color: var(--text-light);
  font-style: italic;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .hero-text {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about-text .section-title {
    text-align: center;
  }

  .founder-quote {
    text-align: left;
  }

  .about-logo-wrap {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }

  .services-featured-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    padding: 40px 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .ba-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }

  .ba-divider {
    width: 100%;
    height: 1px;
  }

  .ba-col {
    padding: 36px 28px;
  }

  .integration-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }

  .integration-list {
    grid-template-columns: 1fr 1fr;
  }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    border-left: 1px solid var(--border-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 28px;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  }

  .nav-links.open {
    right: 0;
  }

  /* On mobile menu open, links are on dark bg */
  .navbar .nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.125rem;
  }

  .hamburger {
    display: flex;
  }

  /* Grids */
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  /* Process */
  .process-step {
    gap: 20px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .process-step:not(:last-child)::after {
    left: 21px;
    top: 76px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Manifesto */
  .manifesto-item {
    gap: 20px;
    padding: 28px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .card, .service-card {
    padding: 28px 24px;
  }

  .service-card-featured {
    padding: 32px 24px;
  }

  .cta-banner {
    padding: 72px 0;
  }

  .ba-col {
    padding: 28px 20px;
  }
}

/* Mobile menu overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===========================
   HERO — SERVICE MINI-CARDS
   =========================== */
.hero-service-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: float 5s ease-in-out infinite;
}

.hero-service-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--dark-surface);
  border: 1px solid rgba(197, 165, 90, 0.18);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.hero-service-card:hover {
  border-color: rgba(197, 165, 90, 0.38);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-service-card:hover::before {
  transform: scaleY(1);
}

.hsc-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(197, 165, 90, 0.12);
  border: 1px solid rgba(197, 165, 90, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.hsc-icon--link {
  background: rgba(100, 160, 220, 0.1);
  border-color: rgba(100, 160, 220, 0.22);
  color: #7ab8e8;
}

.hsc-icon--code {
  background: rgba(130, 100, 210, 0.1);
  border-color: rgba(130, 100, 210, 0.22);
  color: #a78bfa;
}

.hsc-icon svg {
  width: 20px;
  height: 20px;
}

.hsc-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hsc-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}

.hsc-line {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

/* ===========================
   AUTOMATION SHOWCASE SECTION
   =========================== */
.automation-showcase {
  background: var(--dark-mid);
  position: relative;
  overflow: visible;
}

.automation-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(197, 165, 90, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(90, 50, 160, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

.as-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.as-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.automation-showcase .section-title {
  color: #fff;
  margin-bottom: 20px;
}

.as-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.as-cta {
  display: inline-flex;
}

.as-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===========================
   MACBOOK GRAPHIC — SVG VERSION
   =========================== */

/* Scene: 3D perspective container */
.mb-scene {
  --mb-rotate: 65deg;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 40px;
  padding-bottom: 20px;
  width: 100%;
  position: relative;
}

/* Ambient glow on the "desk" beneath the laptop */
.mb-scene::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100px;
  background: radial-gradient(ellipse at center 80%,
    rgba(197, 165, 90, 0.09) 0%,
    rgba(90, 50, 160, 0.05) 45%,
    transparent 70%
  );
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

/* Laptop: the rotating element */
.mb-laptop {
  width: 100%;
  max-width: 480px;
  transform: rotateX(var(--mb-rotate));
  transform-origin: center bottom;
  animation: mb-float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
  /* CSS drop-shadow follows the SVG silhouette precisely */
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,0.55))
    drop-shadow(0 18px 38px rgba(0,0,0,0.5))
    drop-shadow(0 55px 75px rgba(0,0,0,0.32));
}

.mb-laptop.mb-animating {
  animation-play-state: paused;
}

@keyframes mb-float {
  0%, 100% { transform: rotateX(var(--mb-rotate)) translateY(0px); }
  50%       { transform: rotateX(var(--mb-rotate)) translateY(-10px); }
}

/* Frame: positions SVG + screen overlay together */
.mb-frame {
  position: relative;
  width: 100%;
}

/* SVG scales to fill the frame maintaining viewBox aspect ratio */
.mb-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Screen overlay: covers the SVG screen rect (x=14 y=13 w=532 h=330 in 560×486 viewBox) */
.mb-screen-overlay {
  position: absolute;
  left: 2.5%;      /* 14 / 560 */
  top: 2.67%;      /* 13 / 486 */
  width: 95%;      /* 532 / 560 */
  height: 67.9%;   /* 330 / 486 */
  overflow: hidden;
  border-radius: 4px;
  background: var(--dark);
}

/* Screen wallpaper glow */
.mb-screen-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 82%, rgba(90, 50, 160, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 84% 14%, rgba(197, 165, 90, 0.17) 0%, transparent 48%);
  pointer-events: none;
  z-index: 0;
}

/* Scales the workflow card to fit the screen area */
.mb-screen-content {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.62);
  transform-origin: center center;
}

/* Suppress individual float — laptop floats as one unit */
.mb-workflow-card {
  animation: none !important;
  max-width: 400px;
  width: 400px;
  flex-shrink: 0;
}

.mb-mobile-card { display: none; }

/* ===========================
   TERMINAL WINDOW CARDS
   =========================== */
.terminal-window {
  background: #0E0E1C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.terminal-window:hover {
  border-color: rgba(197, 165, 90, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(197, 165, 90, 0.06);
  transform: translateY(-3px);
}

.terminal-window--featured {
  border-color: rgba(197, 165, 90, 0.22);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(197, 165, 90, 0.08);
}

.terminal-window--featured:hover {
  border-color: rgba(197, 165, 90, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(197, 165, 90, 0.12);
}

.terminal-header {
  height: 38px;
  min-height: 38px;
  background: #171728;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  flex-shrink: 0;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.terminal-dot--red    { background: #FF5F56; }
.terminal-dot--yellow { background: #FFBD2E; }
.terminal-dot--green  { background: #27C93F; }

.terminal-title {
  font-family: 'Courier New', 'SF Mono', 'Fira Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.02em;
  margin-left: auto;
  margin-right: auto;
  padding-right: 42px;
}

.terminal-body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.terminal-window--featured .terminal-body {
  padding: 36px 40px 40px;
}

.terminal-prompt-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', 'SF Mono', 'Fira Mono', monospace;
  font-size: 0.8125rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.terminal-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.terminal-icon svg {
  width: 100%;
  height: 100%;
}

.terminal-icon--sm {
  width: 22px;
  height: 22px;
}

.terminal-prompt-symbol {
  color: var(--gold);
  font-family: 'Courier New', 'SF Mono', 'Fira Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.terminal-prompt-text {
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Courier New', 'SF Mono', 'Fira Mono', monospace;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-string {
  color: rgba(197, 165, 90, 0.9);
}

.terminal-output {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terminal-output-line {
  font-family: 'Courier New', 'SF Mono', 'Fira Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.5;
}

.terminal-output-line--label {
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.01em;
}

.terminal-service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 4px;
}

.terminal-window--featured .terminal-service-title {
  font-size: 1.6rem;
}

.terminal-output-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.75;
  font-family: var(--font);
}


.terminal-subservice-title {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 14px 0 3px;
  font-family: var(--font-mono, monospace);
}

.terminal-window .service-tag {
  color: var(--gold);
  background: rgba(197, 165, 90, 0.1);
  border-color: rgba(197, 165, 90, 0.3);
  margin-bottom: 16px;
  align-self: flex-start;
}

/* ===========================
   INTEGRATION TERMINAL
   =========================== */
.terminal-window--integration {
  margin-top: 0;
}

.terminal-body--integration {
  padding: 32px 36px 36px;
}

.integration-terminal-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.terminal-service-title--integration {
  color: var(--gold);
  font-size: 1.5rem;
}

.integration-log-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.integration-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.integration-log-entry {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Courier New', 'SF Mono', 'Fira Mono', monospace;
  font-size: 0.78125rem;
  line-height: 1.6;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition), border-color var(--transition);
}

.integration-log-entry:hover {
  background: rgba(197, 165, 90, 0.06);
  border-color: rgba(197, 165, 90, 0.2);
}

.log-status {
  font-weight: 700;
  flex-shrink: 0;
}

.log-status--connected {
  color: #27C93F;
}

.log-timestamp {
  color: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.log-label {
  color: rgba(255, 255, 255, 0.72);
}

/* ===========================
   TYPICAL RESULTS — METRICS
   =========================== */
.metrics-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.metrics-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(197, 165, 90, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(197, 165, 90, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(90, 50, 160, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.metrics-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.metrics-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.metrics-title {
  color: #fff;
}

.metrics-disclaimer {
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 18px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 24px 36px;
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.metric-item:hover {
  border-color: rgba(197, 165, 90, 0.22);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(197, 165, 90, 0.08);
  transform: translateY(-4px);
}

.metric-chart-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.metric-svg {
  width: 140px;
  height: 140px;
  display: block;
}

.metric-track {
  stroke: rgba(255, 255, 255, 0.06);
}

.metric-ring {
  stroke: var(--gold);
  stroke-dashoffset: 326.73; /* start fully hidden — JS animates to data-final */
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(197, 165, 90, 0.45));
}

.metric-center-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
  max-width: 160px;
  margin: 0 auto;
}

/* ===========================
   RESPONSIVE — NEW SECTIONS
   =========================== */
@media (max-width: 1024px) {
  .as-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .as-card-wrap {
    order: -1;
  }

  .mb-laptop { max-width: 340px; }

  .as-card-wrap .workflow-card {
    max-width: 360px;
  }

  .as-desc {
    max-width: 100%;
  }

  .terminal-window--featured .terminal-body {
    padding: 32px 30px 36px;
  }

  .terminal-window--featured .terminal-service-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .mb-scene       { display: none; }
  .mb-img-wrap    { display: none; }
  .mb-mobile-card { display: flex; justify-content: center; }

  .hero-service-card {
    padding: 16px 18px;
    gap: 14px;
  }

  .hsc-icon {
    width: 36px;
    height: 36px;
  }

  .hsc-icon svg {
    width: 17px;
    height: 17px;
  }

  .as-card-wrap .workflow-card {
    max-width: 100%;
  }

  .terminal-body {
    padding: 22px 20px 26px;
  }

  .terminal-window--featured .terminal-body {
    padding: 24px 20px 28px;
  }

  .terminal-service-title {
    font-size: 1.1rem;
  }

  .terminal-window--featured .terminal-service-title {
    font-size: 1.2rem;
  }

  .integration-terminal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .terminal-body--integration {
    padding: 24px 20px 28px;
  }

  .terminal-prompt-text {
    display: none;
  }

  .terminal-prompt-line::after {
    content: '...';
    font-family: 'Courier New', 'SF Mono', monospace;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .terminal-header {
    height: 34px;
    min-height: 34px;
  }

  .terminal-dot {
    width: 10px;
    height: 10px;
  }

  .terminal-body {
    padding: 18px 16px 22px;
  }

  .terminal-window--featured .terminal-body {
    padding: 20px 16px 24px;
  }

  .integration-log-entry {
    font-size: 0.71875rem;
    gap: 7px;
    padding: 7px 10px;
  }

  .log-timestamp {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 20px;
  }

  .metric-item {
    padding: 32px 20px 28px;
  }

  .metrics-header {
    margin-bottom: 48px;
  }
}

/* ===================================================
   AUTOMATION SHOWCASE — full-width centered diagram
   =================================================== */

.as-header {
  text-align: center;
  margin-bottom: 40px;
}

.as-diagram-wrap {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* Full-width screen panel (no MacBook frame needed) */
.nd-screen--full {
  border-radius: 12px;
}

/* Extra padding for the standalone large diagram */
.nd-diagram-wrap--full {
  padding: 28px 32px 36px;
}

/* ===================================================
   NODE DIAGRAM — MacBook PNG + overlay (kept for reference)
   =================================================== */

/* Wrapper: crops the full presentation PNG down to just the MacBook.
   The source image is a 1440×810 slide; the laptop occupies the right ~585px
   starting at roughly x=855. */
.mb-img-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 585 / 565;
  overflow: hidden;
}

/* Stretch image and shift so only the laptop portion is visible */
.mb-img {
  position: absolute;
  width: 247%;
  max-width: none;
  left: -145%;
  top: -30%;
}

/* Overlay targets the laptop screen glass area (inside the dark bezel).
   top ~9% = below the dark bezel, height ~75% = above the keyboard hinge. */
.mb-img-overlay {
  position: absolute;
  top: 9%;
  left: 7%;
  width: 90%;
  height: 75%;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* ---- Node diagram screen panel ---- */
.nd-screen {
  width: 100%;
  background: #0a0a12; /* fully opaque — hides original chart underneath */
  border: 1px solid rgba(197, 165, 90, 0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nd-screen--mobile {
  border-radius: 10px;
  padding: 0;
}

/* ---- Top bar ---- */
.nd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.nd-topbar-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Pulsing green dot */
.nd-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: nd-pulse 2s ease-in-out infinite;
}

@keyframes nd-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.nd-flow-name {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nd-exec-count {
  font-family: 'Courier New', monospace;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

/* ---- Diagram area ---- */
.nd-diagram-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  min-height: 0;
}

.nd-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Animated dashed connector to final node */
.nd-live-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: nd-dash 1.8s ease forwards 0.6s;
}

@keyframes nd-dash {
  to { stroke-dashoffset: 0; }
}

/* ---- Mobile card (shown below 768px instead of MacBook PNG) ---- */
.nd-screen--mobile .nd-topbar {
  padding: 10px 16px;
}

.nd-screen--mobile .nd-flow-name {
  font-size: 0.75rem;
}

.nd-screen--mobile .nd-exec-count {
  font-size: 0.7rem;
}

.nd-screen--mobile .nd-diagram-wrap {
  padding: 12px 16px;
}
