/* ============================================================
   SentriaCloud — Public Website
   Design: Modern Enterprise Tech — refined, confident, premium
   v3: Plus Jakarta Sans headings, richer hero, elevated cards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap');

/* --- Tech grid pattern (reusable) --- */
/* Apply to any dark section: position:relative + overflow:hidden required */
@property --tg-line { syntax: '<color>'; inherits: false; initial-value: rgba(147,197,253,0.07); }

/* --- Variables --- */
:root {
  --primary:    #1E90D0;
  --primary-dk: #1570a8;
  --primary-lt: #3aaee8;
  --accent:     #0FBFA0;
  --accent-lt:  #3dd4bc;
  --bg:         #ffffff;
  --surface:    #f4f9fc;
  --surface-2:  #eaf4fb;
  --text:       #0a1628;
  --text-2:     #1e3050;
  --muted:      #435880;
  --border:     #c8dff0;
  --border-lt:  #e4f1fa;
  --white:      #ffffff;

  --shadow-sm:  0 1px 2px rgba(16,42,67,0.06);
  --shadow:     0 2px 8px rgba(16,42,67,0.07), 0 1px 2px rgba(16,42,67,0.05);
  --shadow-md:  0 8px 24px rgba(16,42,67,0.09), 0 2px 6px rgba(16,42,67,0.05);
  --shadow-lg:  0 20px 50px rgba(16,42,67,0.13), 0 4px 12px rgba(16,42,67,0.06);

  --font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 100px;

  --container: 1160px;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit; border: none; background: none; outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid rgba(10,22,40,0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 64px;
  padding-left: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
  margin-right: auto;
}

.logo-image {
  width: 190px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--primary-dk) 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius);
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0,57,122,0.3);
}

.logo-text { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.is-active { color: var(--primary); font-weight: 600; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  background: none;
  padding: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-burger:hover span { background: var(--primary); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 41, 0.5);
  z-index: 299;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.is-open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,57,122,0.15);
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.mobile-menu-close:hover { background: var(--surface); color: var(--text); }

.mobile-nav-links {
  flex: 1;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}

.mobile-nav-link:hover { background: var(--surface); color: var(--primary); }
.mobile-nav-link.is-active { background: var(--surface-2); color: var(--primary); font-weight: 600; }

.mobile-menu-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.15s, background 0.18s, border-color 0.18s;
}

/* Press micro-interaction */
.btn:active { transform: scale(0.97); transition-duration: 0.06s; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(10,22,40,0.12);
}
.btn-primary:hover {
  background: var(--primary-dk);
  box-shadow: 0 4px 14px rgba(30,144,208,0.35);
}

.btn-teal {
  background: #0aa88d;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(10,22,40,0.12);
}
.btn-teal:hover {
  background: #0FBFA0;
  box-shadow: 0 4px 14px rgba(15,191,160,0.35);
}

.btn-purple {
  background: #8257e6;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(10,22,40,0.12);
}
.btn-purple:hover {
  background: #9B6DFF;
  box-shadow: 0 4px 14px rgba(155,109,255,0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: 0 1px 3px rgba(0,57,122,0.06);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--primary-lt);
  box-shadow: 0 4px 12px rgba(0,57,122,0.12);
  color: var(--primary-lt);
}

.btn-lg { padding: 0.9rem 2.4rem; font-size: 0.9375rem; letter-spacing: 0.015em; }
.btn-full { width: 100%; }

/* nav login button */
.btn-login {
  margin-left: var(--space-xs);
  padding: 0.48rem 1.3rem;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(10,22,40,0.12);
  flex-shrink: 0;
  transition: box-shadow 0.18s, background 0.18s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-login:hover {
  background: var(--primary-dk);
  box-shadow: 0 4px 14px rgba(30,144,208,0.35);
}
.btn-login:active { transform: scale(0.97); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(145deg, #010e20 0%, #001534 45%, #002060 100%);
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 1rem);
  overflow: hidden;
}

/* Dark mist between canvas and content */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(1,10,22,0.65) 0%, rgba(1,10,22,0.35) 55%, rgba(1,10,22,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

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

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  padding: 0.32rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-wrap: balance;
}

.hero-title span { color: #6db9ec; }

.hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--space-lg);
}

/* --- Hero AI chat mockup --- */
.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: linear-gradient(180deg, rgba(13,34,68,0.85) 0%, rgba(8,22,46,0.92) 100%);
  border: 1px solid rgba(147,197,253,0.18);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 30px 80px rgba(0,8,30,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: mockupFloat 6s ease-in-out infinite;
}

.hero-brand-visual {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  animation: mockupFloat 6s ease-in-out infinite;
}

.hero-brand-visual::before {
  content: '';
  position: absolute;
  inset: 12% 8% 6%;
  background: radial-gradient(circle at 66% 34%, rgba(0,174,239,0.34), transparent 34%),
              radial-gradient(circle at 34% 66%, rgba(59,130,246,0.24), transparent 42%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
}

.hero-brand-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(0,8,30,0.5));
}

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

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}
.mockup-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-left: 0.3rem;
  font-family: var(--font-heading);
}

.mockup-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #34d399;
  font-weight: 600;
}
.mockup-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.chat-bubble {
  display: block;
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  animation: bubbleIn 0.5s ease-out backwards;
}

.chat-bubble-user {
  margin-left: auto;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  animation-delay: 0.2s;
}

.chat-bubble-agent {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
  animation-delay: 0.6s;
}

.chat-bubble-agent strong { color: #ffffff; font-weight: 600; }

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

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.7rem 0.95rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  animation: bubbleIn 0.5s ease-out 1s backwards;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  animation: typing 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--primary-dk);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-item {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: var(--space-md);
}
.stat-item:last-child { border-right: none; }

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: var(--space-2xl) 0; }
.section-surface { background: var(--surface); }
.section-dark {
  background: linear-gradient(145deg, #010e20 0%, #001534 50%, #001e4a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Dark mist between canvas and content */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 10, 22, 0.52);
  z-index: 1;
  pointer-events: none;
}
.section-dark > * { position: relative; z-index: 2; }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }

.section-header {
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-lt), var(--accent-lt));
  opacity: 0;
  transition: opacity 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary-lt);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,71,160,0.1) 0%, rgba(0,82,165,0.06) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(0,57,122,0.08);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s, color 0.15s;
}
.card-link:hover { color: var(--primary-dk); gap: 0.6rem; }

/* ============================================================
   FEATURE SPLIT (dark section)
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.72;
}

.feature-list {
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.82);
}

.feature-list svg {
  color: #34d399;
  flex-shrink: 0;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-card-demo {
  background: #0a1626;
  border: 1px solid rgba(147,197,253,0.18);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 30px 80px rgba(0,8,30,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  font-family: ui-monospace, 'SF Mono', 'Fira Code', Consolas, monospace;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.demo-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.demo-header .demo-dot:nth-of-type(1) { background: #ff5f57; }
.demo-header .demo-dot:nth-of-type(2) { background: #febc2e; }
.demo-header .demo-dot:nth-of-type(3) { background: #28c840; }

.demo-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-left: 0.4rem;
  letter-spacing: 0.02em;
}

.demo-body {
  padding: 1.1rem 1.25rem 1.4rem;
  font-size: 0.82rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.demo-prompt { color: #60a5fa; user-select: none; margin-right: 0.5rem; }
.demo-cmd    { color: #ffffff; }
.demo-out    { color: #94a3b8; padding-left: 1.25rem; display: block; }
.demo-ok     { color: #34d399; }
.demo-warn   { color: #fbbf24; }

.demo-cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: #34d399;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* ============================================================
   CTA SECTION (dark, high contrast)
   ============================================================ */
.cta-section {
  position: relative;
  background: #010e20;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 10, 22, 0.52);
  z-index: 1;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.cta-text {
  color: #e2e8f0;
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
  line-height: 1.72;
}

.cta-section .btn-primary {
  background: #ffffff;
  color: #001433;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.cta-section .btn-primary:hover {
  background: #f1f5f9;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(145deg, #010e20 0%, #001534 45%, #002060 100%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

/* Dark mist between canvas and content */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 10, 22, 0.52);
  z-index: 1;
  pointer-events: none;
}

.page-hero-inner { max-width: 640px; position: relative; z-index: 2; }

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.page-hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.72;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

/* ============================================================
   PILLARS (services)
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pillar:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.pillar-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,71,160,0.1) 0%, rgba(0,82,165,0.06) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(0,57,122,0.08);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   FEATURES GRID (services)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: var(--white);
  transition: background 0.15s;
}

.feature-item:hover { background: var(--surface); }
.feature-item:nth-child(even) { border-right: none; }
.feature-item:nth-last-child(-n+2) { border-bottom: none; }

.feature-item-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,71,160,0.1) 0%, rgba(0,82,165,0.06) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid rgba(0,57,122,0.08);
}

.feature-item-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.feature-item-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.pricing-card-featured {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-lt) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
  color: var(--white);
  transform: scale(1.02);
}

.pricing-card-featured:hover { box-shadow: var(--shadow-lg); transform: scale(1.02) translateY(-2px); }

.pricing-card-featured h3 { color: var(--white); }
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,0.72); }
.pricing-card-featured .price-period { color: rgba(255,255,255,0.6); }
.pricing-card-featured .price-note { color: rgba(255,255,255,0.55); }
.pricing-card-featured .price-amount { color: var(--white); }

.pricing-badge {
  display: inline-block;
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #34d399, #059669);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(52,211,153,0.35);
}

.pricing-header { margin-bottom: var(--space-md); }
.pricing-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.price-period { font-size: 1rem; color: var(--muted); }
.price-note { font-size: 0.8125rem; color: var(--muted); margin-bottom: var(--space-md); }

.pricing-card-featured .btn-outline {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.pricing-card-featured .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.pricing-card-featured .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,71,160,0.1) 0%, rgba(0,82,165,0.06) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(0,57,122,0.08);
}

.contact-detail-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

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

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}

.form-label span { color: var(--muted); font-weight: 400; }

.form-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  line-height: 1.5;
  min-height: 51px;
  transition: border-color 0.15s, background 0.15s;
}

.form-input::placeholder { color: var(--muted); }
.form-input:focus { border-color: var(--accent); background: var(--white); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.form-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-lg);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.meta-sep { color: var(--border); }

.blog-card-title { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.6rem; }
.blog-card-title a { color: var(--text); transition: color 0.15s; }
.blog-card-title a:hover { color: var(--accent); }

.blog-card-summary {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.empty-state {
  text-align: center;
  padding: var(--space-2xl) 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* Post detail */
.post-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-xl) 0;
}

.post-header-inner { max-width: 720px; }

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: var(--space-sm) 0;
}

.post-summary { font-size: 1.0625rem; color: var(--muted); line-height: 1.72; }

.post-body {
  max-width: 720px;
  padding: var(--space-xl) 0 var(--space-lg);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.post-body h2 { font-family: var(--font-heading); font-size: 1.5rem; margin: var(--space-lg) 0 var(--space-sm); }
.post-body h3 { font-family: var(--font-heading); font-size: 1.2rem; margin: var(--space-md) 0 var(--space-xs); }
.post-body p  { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote {
  border-left: 3px solid var(--primary);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}
.post-body code {
  background: var(--surface);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: ui-monospace, 'Fira Code', monospace;
  color: var(--primary);
}
.post-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}
.post-body pre code { background: none; padding: 0; color: var(--text); }

.post-footer {
  max-width: 720px;
  padding-bottom: var(--space-2xl);
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 90px;
}

.privacy-toc-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.privacy-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.privacy-toc-list a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  border-left: 2px solid transparent;
}

.privacy-toc-list a:hover {
  color: var(--primary);
  background: var(--surface);
  border-left-color: var(--primary);
}

.privacy-body {
  max-width: 700px;
}

.privacy-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-lt);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.privacy-section p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.privacy-section p:last-child { margin-bottom: 0; }

.privacy-section ul {
  margin: 0.75rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.privacy-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.6;
}

.privacy-section ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.privacy-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

.privacy-contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
}

.privacy-contact-box p {
  margin-bottom: 0.5rem !important;
}

.privacy-contact-box a {
  color: var(--accent);
  font-weight: 500;
}

.privacy-contact-box a:hover { color: var(--primary); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #010e20;
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

/* Dark mist over canvas so footer text is always legible */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 10, 22, 0.55);
  z-index: 1;
  pointer-events: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.footer-brand .nav-logo { color: var(--white); }

.footer-tagline {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0FBFA0;
  text-align: center;
  letter-spacing: -0.01em;
}

.footer-nav {
  display: flex;
  gap: var(--space-xl);
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0FBFA0;
  margin-bottom: 0.35rem;
}

.footer-nav-group a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  transition: color 0.15s;
}
.footer-nav-group a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.32);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-mockup { display: none; }
  .hero-brand-visual { width: min(100%, 420px); margin-inline: 0 auto; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-2px); }
  .feature-split { grid-template-columns: 1fr; }
  .feature-visual { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; }
  .feature-item:last-child { border-bottom: none; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-toc { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-login { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; padding-right: 0; }
  .footer-inner { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: var(--space-md); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: 2.5rem; }
  .logo-image { width: 200px; height: 50px; }
  .hero-brand-visual { display: none; }
}

/* ============================================================
   STEPS (Así funciona)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step-connector {
  width: 60px;
  height: 2px;
  border-top: 2px dashed var(--border);
  margin-top: 2.6rem;
  align-self: flex-start;
}

.step-item {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--primary) 100%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--space-sm);
  box-shadow: 0 2px 10px rgba(0,57,122,0.3);
  flex-shrink: 0;
}

.step-number-2 { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); box-shadow: 0 2px 10px rgba(109,40,217,0.35); }
.step-number-3 { background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%); box-shadow: 0 2px 10px rgba(8,145,178,0.35); }

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 0 auto var(--space-md);
}

.step-icon-blue   { background: linear-gradient(135deg, rgba(0,71,160,0.1) 0%, rgba(0,82,165,0.06) 100%); color: var(--primary); }
.step-icon-violet { background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(91,33,182,0.07) 100%); color: #7c3aed; border-color: rgba(124,58,237,0.15); }
.step-icon-teal   { background: linear-gradient(135deg, rgba(8,145,178,0.12) 0%, rgba(14,116,144,0.07) 100%); color: #0891b2; border-color: rgba(8,145,178,0.15); }

.step-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 240px;
  margin-inline: auto;
}

/* ============================================================
   INDUSTRY CARDS
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  z-index: 1;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(147,197,253,0.3);
}

.industry-img-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.industry-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.industry-card:hover .industry-img-wrap img {
  transform: scale(1.04);
}

.industry-card-body {
  padding: 1.25rem;
}

.industry-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.industry-card-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 0.875rem;
}

.industry-card-ideal {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}

.industry-card .card-link {
  color: #93c5fd;
  font-size: 0.8125rem;
}

.industry-card .card-link:hover {
  color: #ffffff;
  gap: 0.6rem;
}

@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .step-connector { display: none; }
}

@media (max-width: 600px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG POST LAYOUT (with sidebar)
   ============================================================ */
.post-header {
  background: #010e20;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Dark mist + content z-index */
.post-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 10, 22, 0.52);
  z-index: 1;
  pointer-events: none;
}

.post-header-inner { position: relative; z-index: 2; }

.post-header-inner { max-width: 720px; position: relative; z-index: 1; }

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: var(--space-sm) 0;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.post-summary {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.72;
}

.post-header .blog-card-meta { color: rgba(255,255,255,0.65); }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  align-items: start;
  padding: var(--space-xl) 0 var(--space-lg);
}

.post-sidebar {
  position: sticky;
  top: 90px;
}

.post-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.post-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.post-sidebar-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.post-footer {
  padding-bottom: var(--space-2xl);
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

/* ============================================================
   SERVICE ROWS (services page)
   ============================================================ */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-xl) 0;
}

.service-row-flip { direction: rtl; }
.service-row-flip > * { direction: ltr; }

.service-row-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-row-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin: var(--space-md) 0 var(--space-lg);
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}

.service-feature-list li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-lt), var(--accent));
  flex-shrink: 0;
}

.service-divider {
  height: 1px;
  background: var(--border-lt);
}

/* Service visual card */
.service-row-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-visual-card {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-visual-dark {
  background: #0a1626;
  border: 1px solid rgba(147,197,253,0.15);
}

.service-visual-light {
  background: var(--white);
  border: 1px solid var(--border);
}

/* --- Chat mockup (SentriaAgents) --- */
.svc-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.svc-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.svc-dot.red    { background: #ff5f57; }
.svc-dot.yellow { background: #febc2e; }
.svc-dot.green  { background: #28c840; }

.svc-mockup-label {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-left: 0.35rem;
  flex: 1;
}

.svc-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #34d399;
}

.svc-mockup-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.svc-msg {
  max-width: 88%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  border-radius: var(--radius-lg);
}

.svc-msg-user {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.svc-msg-agent {
  background: rgba(0,71,160,0.4);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(147,197,253,0.2);
  border-bottom-left-radius: 4px;
}

/* --- 404 --- */
.not-found-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.not-found-inner {
  text-align: center;
  padding: var(--space-xxl) 0;
}
.not-found-robot {
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
}
.not-found-robot svg {
  width: 96px;
  height: 96px;
}
.not-found-code {
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #1E90D0, #9B6DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}
.not-found-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-family: var(--font-heading);
  color: var(--text);
  margin-bottom: var(--space-sm);
}
.not-found-desc {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.not-found-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}
.not-found-btn-primary {
  background: #1E90D0;
  color: #fff;
  border-color: #1E90D0;
}
.not-found-btn-primary:hover {
  background: #1a7fb8;
  border-color: #1a7fb8;
}
.not-found-btn-outline {
  background: transparent;
  color: #1E90D0;
  border: 1.5px solid #1E90D0;
}
.not-found-btn-outline:hover {
  background: rgba(30,144,208,0.08);
}

/* --- Chat animation helpers --- */
.svc-mockup-body {
  overflow-y: auto;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.svc-agent-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.svc-agent-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-informe-card {
  background: rgba(0,71,160,0.35);
  border: 1px solid rgba(147,197,253,0.25);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  min-width: 190px;
}
.svc-informe-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  color: #93c5fd;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(147,197,253,0.15);
}
.svc-informe-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  flex-shrink: 0;
}
.svc-informe-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.svc-informe-row strong { color: #fff; font-weight: 600; }
.svc-green { color: #34d399 !important; }
.svc-informe-bar {
  margin-top: 0.6rem;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}
.svc-informe-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #1E90D0, #0FBFA0);
  border-radius: 99px;
  animation: svcBarGrow 1s ease-out both;
}
@keyframes svcBarGrow {
  from { width: 0; }
  to   { width: 72%; }
}

.svc-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.7rem 0.95rem;
  background: rgba(0,71,160,0.4);
  border: 1px solid rgba(147,197,253,0.2);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.svc-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  animation: svcTyping 1.2s ease-in-out infinite;
}
.svc-typing span:nth-child(2) { animation-delay: 0.15s; }
.svc-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes svcTyping {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}

.svc-msg-in {
  animation: svcMsgIn 0.35s ease-out both;
}

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

/* --- Browser mockup (Web dev) --- */
.svc-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.svc-url-bar {
  flex: 1;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
  margin-left: 0.35rem;
}

.svc-browser-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.svc-page-hero-mock {
  height: 80px;
  background: linear-gradient(135deg, var(--primary-dk), var(--primary-lt));
  border-radius: var(--radius);
  margin-bottom: 0.25rem;
}

.svc-page-line {
  height: 10px;
  background: var(--border);
  border-radius: 100px;
}
.svc-page-line.w80 { width: 80%; }
.svc-page-line.w60 { width: 60%; }

.svc-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.svc-page-card {
  height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* --- Integration nodes diagram --- */
.integration-nodes {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.int-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(147,197,253,0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}

.int-node-center {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  border-color: rgba(147,197,253,0.4);
  box-shadow: 0 0 30px rgba(0,71,160,0.5);
  z-index: 2;
}

.int-node-1 { top: 20px;  left: 50%; transform: translateX(-50%); }
.int-node-2 { top: 50%;   right: 20px; transform: translateY(-50%); }
.int-node-3 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.int-node-4 { top: 50%;   left: 20px; transform: translateY(-50%); }

.int-line {
  position: absolute;
  background: rgba(147,197,253,0.18);
  z-index: 1;
}

.int-line-1, .int-line-3 { width: 2px; left: 50%; transform: translateX(-50%); }
.int-line-2, .int-line-4 { height: 2px; top: 50%; transform: translateY(-50%); }
.int-line-1 { top: 56px; height: calc(50% - 56px); }
.int-line-3 { bottom: 56px; height: calc(50% - 56px); }
.int-line-2 { right: 76px; width: calc(50% - 76px); }
.int-line-4 { left: 76px; width: calc(50% - 76px); }

/* --- Cloud stats --- */
.cloud-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: var(--space-xl) var(--space-md);
  gap: 1rem;
}

.cloud-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cloud-stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
}

.cloud-stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   CONTACT TRUST BOX
   ============================================================ */
.contact-trust {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-xs);
}

.contact-trust-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.contact-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-2);
}

.contact-trust-list svg {
  color: #059669;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .service-row { grid-template-columns: 1fr; gap: var(--space-xl); }
  .service-row-flip { direction: ltr; }
  .service-row-visual { display: none; }
}

@media (max-width: 768px) {
  .cloud-stats { flex-direction: row; flex-wrap: wrap; }
  .cloud-stat-value { font-size: 2rem; }
}

/* ============================================================
   HERO CHAT CARD
   ============================================================ */
.hero-chat-card {
  background: var(--surface-2, #0d1f3c);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  max-width: 420px;
  width: 100%;
}

.hero-chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.hero-chat-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero-chat-dot.red    { background: #ff5f57; }
.hero-chat-dot.yellow { background: #febc2e; }
.hero-chat-dot.green  { background: #28c840; }

.hero-chat-label {
  margin-left: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.hero-chat-status {
  font-size: 0.7rem;
  color: #28c840;
  font-weight: 600;
}

.hero-chat-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-chat-msg {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 85%;
}

.hero-chat-user {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.hero-chat-agent {
  background: var(--primary-dk, #003e8a);
  color: rgba(255,255,255,0.9);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.hero-chat-ok { color: #28c840; margin-right: 4px; }

/* ============================================================
   CLIENTS BAR — infinite carousel
   ============================================================ */
.clients-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1.75rem;
}

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

.clients-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: clientsScroll 28s linear infinite;
}

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

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

.client-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.client-logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) opacity(0.5);
  transition: filter 0.2s;
}

.clients-track:hover .client-logo-img { filter: brightness(0) opacity(0.75); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 14px);
  padding: 2rem 1.5rem;
  background: var(--surface);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 12px 40px rgba(0,62,138,0.15);
}

.pricing-card-enterprise {
  background: var(--surface-2, #f8fafc);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
}

.pricing-plan {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-price-enterprise {
  font-size: 1.6rem;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-2);
}

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

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-2);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.btn-full { width: 100%; text-align: center; }

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

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-chat-card { display: none; }
}

/* ============================================================
   BLOG CONTENT BODY
   ============================================================ */
.blog-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: var(--space-lg);
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.9rem;
}

.blog-table th, .blog-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.blog-table thead th {
  background: var(--surface);
  font-weight: 700;
  color: var(--text);
}

.blog-table tbody tr:nth-child(even) { background: var(--surface); }

.blog-content .btn { color: #fff !important; margin-top: var(--space-md); display: inline-block; }

/* ── Agent Integration Logo Grid ─────────────────────────────────────────── */
.integrations-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .integrations-logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .integrations-logo-grid { grid-template-columns: repeat(3, 1fr); }
}

.int-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform .15s, box-shadow .15s;
}
.int-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.int-logo-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.int-logo-card span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.int-logo-more {
  background: linear-gradient(135deg, var(--primary-light, rgba(30,144,208,.08)), transparent);
  border-color: var(--primary);
  border-style: dashed;
}
.int-logo-more-count {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
}

/* ── Pricing card button overrides ──────────────────────────────────────── */
/* btn-ghost is designed for dark backgrounds; override for light pricing cards */
.pricing-card:not(.pricing-card-featured) .btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.pricing-card:not(.pricing-card-featured) .btn-ghost:hover {
  background: var(--bg);
  border-color: var(--primary-lt, #4a90e2);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,57,122,0.10);
}

/* ============================================================
   MK — Home makeover v2 (light page, dark photo hero)
   ============================================================ */
.mk { background: #fff; overflow: clip; }

/* Hero — dark, human photo background, brand scrim */
.mk-hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(3,11,24,0.96) 0%, rgba(4,15,32,0.86) 38%, rgba(5,18,38,0.38) 68%, rgba(6,22,44,0.12) 100%),
    url('/static/img/accounter.webp') center 22% / cover no-repeat #04101f;
  padding: calc(var(--space-2xl) + 1rem) 0 calc(var(--space-2xl) + 1.5rem);
  overflow: hidden;
}
.mk-hero::before { display: none; }
.mk-hero .hero-title { text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.mk-hero .hero-subtitle { color: rgba(255,255,255,0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.45); }

/* Sections */
.mk-section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.mk-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.mk-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
  text-wrap: balance;
}
.mk-sub { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 58ch; }

/* Clients strip — visible, on white */
.mk-clients { padding: 3rem 0 2.5rem; background: #fff; border-bottom: 1px solid var(--border-lt); }
.mk-clients-label {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1.6rem;
}
.mk .client-logo-img { opacity: 0.85; transition: opacity 0.2s; height: 44px; width: auto; }
.mk .client-logo-link:hover .client-logo-img { opacity: 1; }

/* Editorial steps — light */
.mk-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.mk-step { border-top: 2px solid var(--border-lt); padding-top: 1.5rem; }
.mk-step-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--primary);
  margin-bottom: 1.1rem;
}
.mk-step h3 { color: var(--text); font-size: 1.25rem; margin-bottom: 0.6rem; }
.mk-step p { color: var(--muted); font-size: 0.975rem; line-height: 1.65; }

/* Photo bento (works on white) */
.mk-bento { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.mk-tile {
  position: relative;
  grid-column: span 2;
  min-height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
}
.mk-tile-wide { grid-column: span 3; }
.mk-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--tile-img);
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.mk-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,12,26,0) 30%, rgba(4,12,26,0.5) 60%, rgba(4,12,26,0.9) 100%);
  z-index: -1;
}
.mk-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.mk-tile-body { padding: 1.6rem 1.7rem; }
.mk-tile-body h3 { color: #fff; font-size: 1.375rem; margin-bottom: 0.45rem; }
.mk-tile-body p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.55; max-width: 46ch; margin-bottom: 0.8rem; }
.mk-tile-cta { color: #9ed4f8; font-weight: 600; font-size: 0.925rem; }
.mk-tile:hover .mk-tile-cta { text-decoration: underline; text-underline-offset: 4px; }

/* Services — light cards, dark featured tile for contrast */
.mk-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 1.1rem;
}
.mk-svc {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--border-lt);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.mk-svc:hover { border-color: var(--border); box-shadow: var(--shadow-md); }
.mk-svc h3 { color: var(--text); font-size: 1.25rem; margin-bottom: 0.6rem; }
.mk-svc p { color: var(--muted); font-size: 0.975rem; line-height: 1.6; margin-bottom: 1rem; }
.mk-svc-link { margin-top: auto; color: var(--primary); font-weight: 600; font-size: 0.925rem; }
.mk-svc-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mk-svc-wide { grid-column: span 2; }

.mk-svc-featured {
  grid-row: span 2;
  justify-content: flex-end;
  background:
    radial-gradient(340px 340px at 100% 0%, rgba(30,144,208,0.35), transparent 70%),
    linear-gradient(160deg, #0a1e3c 0%, #071227 100%);
  border-color: transparent;
}
.mk-svc-featured h3 { color: #fff; font-size: 1.6rem; }
.mk-svc-featured p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 40ch; }
.mk-svc-featured .mk-svc-link { color: #9ed4f8; }
.mk-svc-orb {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.55), rgba(191,230,255,0.25) 25%, rgba(30,144,208,0.5) 55%, rgba(155,109,255,0.25) 80%, transparent 100%);
  filter: blur(6px);
  opacity: 0.8;
}

/* Spotlight — dark navy panel on the white page */
.mk-spot {
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(30,144,208,0.22), transparent 65%),
    linear-gradient(160deg, #0a1e3c 0%, #060f22 100%);
  padding: clamp(2.5rem, 5vw, 4.5rem);
}
.mk-spot .mk-title { color: #fff; }
.mk-spot .mk-sub { color: rgba(255,255,255,0.78); }

/* Pricing footnote — visible */
.mk-plan-note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 1.0625rem;
  color: var(--text-2);
}
.mk-plan-note a { color: var(--primary); font-weight: 700; }
.mk-plan-note a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* CTA — deep navy panel, white contrast */
.mk-cta-wrap { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.mk-cta {
  position: relative;
  border-radius: calc(var(--radius-xl) + 6px);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(30,144,208,0.28), transparent 70%),
    linear-gradient(170deg, #0a1e3c 0%, #060f22 100%);
  overflow: hidden;
}
.mk-cta h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
  text-wrap: balance;
}
.mk-cta p { color: rgba(255,255,255,0.82); font-size: 1.0625rem; max-width: 52ch; margin: 0 auto 1.8rem; }
.btn-cta-light { background: #fff; color: #0a1628; border-color: transparent; }
.btn-cta-light:hover { background: #eaf4fb; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

/* Reveal on scroll (JS adds .mk-pre first, so no-JS users see everything) */
.mk-reveal { transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.mk-pre { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) {
  .mk-reveal { transition: none; }
  .mk-pre { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .mk-bento { grid-template-columns: 1fr 1fr; }
  .mk-tile, .mk-tile-wide { grid-column: span 1; min-height: 300px; }
  .mk-services { grid-template-columns: 1fr 1fr; }
  .mk-svc-featured { grid-row: auto; grid-column: span 2; min-height: 260px; }
}
@media (max-width: 640px) {
  .mk-steps { grid-template-columns: 1fr; }
  .mk-bento, .mk-services { grid-template-columns: 1fr; }
  .mk-svc-featured, .mk-svc-wide { grid-column: span 1; }
  .mk-tile, .mk-tile-wide { min-height: 260px; }
  .mk .client-logo-img { height: 34px; }
}

/* Featured pricing card is light (azul ring) — restore solid primary button */
.pricing-card-featured .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(10,22,40,0.12); }
.pricing-card-featured .btn-primary:hover { background: var(--primary-dk); }
.pricing-card-featured h3 { color: var(--text); }
.pricing-card-featured .pricing-desc { color: var(--muted); }

/* ============================================================
   App demo — macOS window showcase (homepage, under hero)
   ============================================================ */
.mk-appdemo {
  padding: 1rem 0 4.5rem;
  overflow: hidden;
}
.mk-appdemo-label {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.mk-appdemo-label strong { color: var(--text); font-weight: 600; }

.appdemo-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.appdemo-glow {
  position: absolute;
  inset: -60px -40px;
  background:
    radial-gradient(420px 260px at 18% 20%, rgba(30,144,208,0.14), transparent 70%),
    radial-gradient(380px 240px at 82% 30%, rgba(155,109,255,0.12), transparent 70%),
    radial-gradient(360px 220px at 55% 95%, rgba(15,191,160,0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Window chrome --- */
.appdemo-window {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.appdemo-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-lt);
  position: relative;
}
.appdemo-titlebar-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.appdemo-frame {
  display: flex;
  min-height: 480px;
}

/* --- Sidebar --- */
.appdemo-sidebar {
  width: 208px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border-lt);
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0.6rem;
}
.appdemo-ws {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.25rem 0.5rem 0.9rem;
}
.appdemo-ws-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), #9B6DFF);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.appdemo-ws-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.appdemo-nav { display: flex; flex-direction: column; gap: 2px; }
.appdemo-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0.45rem 0.6rem;
  border: 0;
  background: transparent;
  border-radius: 7px;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
}
.appdemo-nav-item svg { opacity: 0.6; flex-shrink: 0; }
.appdemo-nav-item:hover { background: var(--surface-2); }
.appdemo-nav-item.is-active {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}
.appdemo-nav-item.is-active svg { opacity: 1; color: var(--primary); }
.appdemo-sidebar-foot { margin-top: auto; padding: 0.5rem 0.4rem 0.1rem; }
.appdemo-agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-lt);
  background: var(--bg);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
}
.appdemo-agent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(15,191,160,0.18);
  animation: appdemoPulse 2.2s ease-in-out infinite;
}
@keyframes appdemoPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(15,191,160,0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(15,191,160,0.08); }
}

/* --- Main area --- */
.appdemo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.appdemo-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--border-lt);
}
.appdemo-view-title { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.appdemo-view-count {
  font-size: 0.74rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius-pill);
  padding: 0.05rem 0.5rem;
}
.appdemo-toolbar-spacer { flex: 1; }
.appdemo-toolbar-btn {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.3rem 0.65rem;
  border-radius: 7px;
  border: 1px solid transparent;
}
.appdemo-toolbar-new {
  color: var(--text);
  font-weight: 500;
  border-color: var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

/* --- Table --- */
.appdemo-tablewrap { flex: 1; overflow-x: auto; }
.appdemo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  min-width: 640px;
}
.appdemo-table th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--border-lt);
  white-space: nowrap;
}
.appdemo-table td {
  padding: 0.5rem 0.9rem;
  border-bottom: 1px solid var(--border-lt);
  color: var(--text-2);
  white-space: nowrap;
}
.appdemo-table tbody tr { transition: background 0.1s ease; }
.appdemo-table tbody tr:hover { background: var(--surface); }
.appdemo-table tbody tr:last-child td { border-bottom: 0; }
.ad-th-check { width: 34px; padding-right: 0 !important; }
.ad-check {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  vertical-align: middle;
}
.ad-row-in { animation: adRowIn 0.32s ease both; }
@keyframes adRowIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}
.ad-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 0.58rem;
  font-weight: 700;
  vertical-align: middle;
  color: hsl(var(--ad-hue), 55%, 32%);
  background: hsl(var(--ad-hue), 65%, 90%);
}
.ad-name { font-weight: 500; color: var(--text); vertical-align: middle; }
.ad-chip {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-lt);
  font-size: 0.76rem;
  color: var(--text-2);
}
.ad-money { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.ad-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 500;
}
.ad-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ad-pill-ok   { background: rgba(15,191,160,0.12); color: #077a66; }
.ad-pill-warn { background: rgba(254,188,46,0.16); color: #8a6100; }
.ad-pill-info { background: rgba(30,144,208,0.12); color: var(--primary-dk); }
.ad-pill-off  { background: var(--surface-2); color: var(--muted); }

/* --- Floating AI chat window --- */
.appdemo-chat {
  position: absolute;
  right: 0;
  bottom: -34px;
  z-index: 2;
  width: 330px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.appdemo-chat-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-lt);
}
.appdemo-chat-tab {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-lt);
  border-radius: 7px;
  padding: 0.15rem 0.6rem;
}
.appdemo-chat-body { padding: 0.9rem 1rem 0.5rem; min-height: 108px; }
.appdemo-chat-prompt {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
  margin: 0 0 0.5rem;
  min-height: 2.4em;
}
.appdemo-chat-reply {
  font-size: 0.78rem;
  color: #077a66;
  line-height: 1.45;
  margin: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.appdemo-chat-reply.is-visible { opacity: 1; transform: none; }
.appdemo-chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.9rem 0.75rem;
}
.appdemo-chat-ws {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: 7px;
  padding: 0.2rem 0.55rem;
}
.appdemo-chat-send {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .appdemo-sidebar { display: none; }
  .appdemo-chat { position: static; width: auto; margin: 1rem 1.25rem 0; }
  .appdemo-frame { min-height: 0; }
}
@media (max-width: 640px) {
  .mk-appdemo { padding-bottom: 3rem; }
  .appdemo-stage { padding: 0 1rem; }
  .appdemo-titlebar-name { display: none; }
}
