/* Self-hosted Sora Font (Variable 400-800) */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #ffffff;
  --ink-soft: #f4f0fa;
  --muted: #ffffff;
  --quiet: #d5cfdf;
  --rule: rgba(255, 255, 255, 0.12);
  --rule-strong: rgba(255, 255, 255, 0.22);
  --paper: #11091c;
  --paper-deep: #190f2b;
  --dark-bg: #0d0617;
  --violet: #9b7ec9;
  --violet-deep: #6b72c8;
  --pink: #c96db5;
  --accent-on-dark: #d8b7f0;
  --accent-on-dark-strong: #e8d8f4;

  --brand-gradient: 135deg, #6b72c8 0%, #7b5ea7 50%, #c96db5 100%;
  --brand-gradient-reverse: 315deg, #6b72c8 0%, #7b5ea7 50%, #c96db5 100%;

  --shadow: 0 20px 50px rgba(123, 94, 167, 0.35);
  --shadow-panel: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-panel-dark: 0 28px 80px rgba(0, 0, 0, 0.65);

  --font-body: 'Sora', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 100%;
  --gutter: clamp(20px, 4.8vw, 64px);
  --radius: 14px;
  --radius-pill: 999px;
  --ease-standard: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: #ffffff;
  background: #11091c;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #ffffff;
}

p {
  margin: 0;
  color: #ffffff;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.18s var(--ease-standard);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  width: 100%;
  max-width: 100%;
  padding-top: clamp(70px, 7.5vw, 116px);
  padding-bottom: clamp(70px, 7.5vw, 116px);
  position: relative;
  overflow: hidden;
}

.section.tight {
  padding-top: clamp(48px, 5.6vw, 76px);
  padding-bottom: clamp(48px, 5.6vw, 76px);
}

.section.deep-band {
  background: var(--dark-bg);
  color: #f7f4ec;
}

.section.paper-deep {
  background: var(--paper-deep);
}

.mesh {
  position: relative;
}

.mesh::before,
.mesh::after {
  content: "";
  position: absolute;
  width: 52vw;
  height: 52vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: drift 26s ease-in-out infinite;
}

.mesh::before {
  background: radial-gradient(circle, var(--violet-deep), transparent 70%);
  top: -16%;
  left: -10%;
}

.mesh::after {
  background: radial-gradient(circle, var(--pink), transparent 70%);
  bottom: -18%;
  right: -8%;
  animation-duration: 32s;
  animation-delay: -6s;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(4%, -3%) scale(1.06);
  }
}

.mesh>* {
  position: relative;
  z-index: 1;
}

.gradient-text {
  background-image: linear-gradient(var(--brand-gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: var(--violet);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section.deep-band .eyebrow {
  color: var(--accent-on-dark);
}

.h-display {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.15;
}

.h-page {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.2;
}

.h-section {
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  color: var(--accent-on-dark-strong);
}

.section.deep-band .h-section {
  color: var(--accent-on-dark-strong);
}

.h-panel {
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  color: #ffffff;
}

.h-card {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  color: #ffffff;
}

.p-body {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  color: #ffffff;
}

.section.deep-band .p-body {
  color: #ffffff;
}

.p-lead {
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.64;
  color: #ffffff;
  width: 100%;
  max-width: 100%;
}

.section.deep-band .p-lead {
  color: #ffffff;
}

/* Header */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 32px));
  z-index: 200;
  background: #ff13f029;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-panel-dark);
  transition: height 0.22s var(--ease-standard), background 0.22s var(--ease-standard);
  height: 84px;
}

.site-header.is-scrolled {
  height: 58px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 2.4vw, 28px);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-mark {
  height: 28px;
  width: auto;
  max-width: 220px;
  aspect-ratio: 1188 / 134;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  transition: height 0.22s var(--ease-standard);
}

.site-header.is-scrolled .logo-mark {
  height: 24px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: #f4f0fa;
  position: relative;
  transition: color 0.18s var(--ease-standard);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(var(--brand-gradient));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--ease-standard);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--accent-on-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard), transform 0.18s var(--ease-standard);
  z-index: 10;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-on-dark);
  outline: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: #ffffff;
  position: relative;
  transition: transform 0.2s var(--ease-standard), opacity 0.2s, background 0.2s;
}

.nav-toggle span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(216, 183, 240, 0.22);
  border-color: var(--accent-on-dark);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
  background: #ffffff;
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
  background: #ffffff;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 32px));
  background: #190f2b;
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: var(--shadow-panel-dark);
  padding: 14px;
  z-index: 199;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 14px 12px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer a:hover,
.mobile-drawer a.is-active {
  color: var(--accent-on-dark);
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(var(--brand-gradient));
  background-size: 150% 150%;
  background-position: 0% 50%;
  color: #fff;
  transition: transform 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard), background-position 0.18s var(--ease-standard), filter 0.18s var(--ease-standard);
  box-shadow: var(--shadow);
}

.button:hover {
  background-image: linear-gradient(var(--brand-gradient-reverse));
  transform: translateY(-2px) scale(1.045);
  filter: saturate(1.15) brightness(1.03);
  box-shadow: 0 26px 60px #7b5ea746;
}

.button.secondary {
  background: transparent;
  background-image: none;
  color: var(--violet);
  box-shadow: none;
  border: 1.5px solid var(--rule-strong);
}

.button.secondary:hover {
  background: transparent;
  background-image: none;
  border-color: var(--violet);
  box-shadow: none;
  filter: none;
}

.button.on-dark {
  background: transparent;
  background-image: none;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.button.on-dark:hover {
  background: transparent;
  background-image: none;
  border-color: var(--accent-on-dark);
  box-shadow: none;
  filter: none;
}

/* Page Hero (for Subpages) */
.page-hero {
  padding-top: clamp(140px, 13vw, 190px);
  padding-bottom: clamp(50px, 6vw, 80px);
  position: relative;
}

.page-hero-inner {
  width: 100%;
  max-width: 100%;
}

.page-hero .h-page {
  margin-top: 12px;
}

.page-hero .p-lead {
  margin-top: 20px;
}

/* Home Hero */
.hero {
  padding-top: clamp(140px, 13vw, 190px);
  padding-bottom: clamp(60px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule-strong);
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-headline {
  max-width: 100%;
}

.hero-rotator {
  display: inline-block;
  position: relative;
}

.hero-rotator .rot-word {
  display: inline;
}

.hero-lead {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e7e2f0;
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-on-dark);
  flex-shrink: 0;
}

.hero-form-wrap {
  position: relative;
}

.hero-lead-form {
  position: relative;
  border-radius: 22px;
  background: rgba(25, 15, 43, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: clamp(22px, 2.8vw, 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(123, 94, 167, 0.2);
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(123, 94, 167, 0.22);
  border: 1px solid rgba(216, 183, 240, 0.3);
  color: var(--accent-on-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Core Value Pillars Grid */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-panel-dark);
  border-color: var(--accent-on-dark);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(var(--brand-gradient));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.pillar-card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.pillar-card p {
  font-size: 0.96rem;
  color: #ffffff;
  line-height: 1.7;
}

/* Capability Cards (Homepage Preview) */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.capability-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard);
}

.capability-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-on-dark);
}

.capability-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.capability-card p {
  font-size: 0.94rem;
  color: #ffffff;
  line-height: 1.65;
  margin-bottom: 20px;
}

.capability-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.capability-link:hover {
  color: var(--pink);
}

/* Services Page - Detailed Category Layout */
.service-category {
  margin-top: 64px;
}

.service-category:first-of-type {
  margin-top: 20px;
}

.service-category-header {
  margin-bottom: 28px;
}

.service-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-offering-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard);
}

.service-offering-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-panel-dark);
  border-color: var(--accent-on-dark);
}

.service-offering-card h4 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(var(--brand-gradient));
  flex-shrink: 0;
}

.service-offering-card p {
  font-size: 0.94rem;
  color: #ffffff;
  line-height: 1.65;
}

/* About Us Philosophy & Values */
.philosophy-card {
  background: linear-gradient(145deg, #17151c, #0d0d0d 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  color: #fdfcff;
  margin-top: 20px;
}

.philosophy-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 16px;
  color: var(--accent-on-dark-strong);
}

.philosophy-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ffffff;
  width: 100%;
  max-width: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 32px 26px;
  transition: transform 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard);
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-on-dark);
}

.value-card h4 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.value-card p {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.7;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: 30px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px;
}

.contact-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-info-card p {
  font-size: 0.94rem;
  color: #ffffff;
  line-height: 1.6;
}

.contact-channel-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-on-dark);
}

.contact-channel-btn:hover {
  color: var(--pink);
}

.contact-channel-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Differentiator cards (Why Choose Us) */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.diff-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard);
}

.diff-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-on-dark);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#0d0d0d, #0d0d0d) padding-box,
    linear-gradient(var(--brand-gradient)) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.18s var(--ease-standard);
}

.diff-card:hover .icon-badge {
  transform: rotate(-8deg) translateY(-2px);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-on-dark);
}

.diff-card h4 {
  color: #fdfcff;
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.6;
}

/* Product Showcase: OrmEasy / OrmEasy */
.product-showcase {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, #17151c 0%, #0d0d0d 60%, #1f142b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(28px, 4.5vw, 56px);
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  box-shadow: var(--shadow-panel-dark);
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 109, 181, 0.22), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(123, 94, 167, 0.22);
  border: 1px solid rgba(216, 183, 240, 0.3);
  color: var(--accent-on-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.product-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
}

.product-title {
  color: #fdfcff;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.22;
}

.product-desc {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-top: 16px;
  width: 100%;
  max-width: 100%;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e7e2f0;
  font-size: 0.88rem;
  font-weight: 600;
}

.product-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-on-dark);
  flex-shrink: 0;
}

.product-action {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.product-subdomain-chip {
  font-family: monospace;
  font-size: 0.86rem;
  color: #d8b7f0;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 88%;
}

.preview-chat-bubble.bot {
  background: rgba(123, 94, 167, 0.25);
  border: 1px solid rgba(216, 183, 240, 0.2);
  color: #fdfcff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.preview-chat-bubble.user {
  background: linear-gradient(var(--brand-gradient));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.preview-chat-bubble.status {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #75f5a2;
  align-self: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* Forms (Formspree) */
.lead-form {
  background: #190f2b;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: var(--shadow-panel-dark);
  text-align: left;
  color: #ffffff;
}

.lead-form h3 {
  color: #ffffff;
}

.lead-form p {
  color: #ffffff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--rule-strong);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #ffffff;
  background: #11091c;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%23d8b7f0' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field select option {
  background: #190f2b;
  color: #ffffff;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-on-dark);
  box-shadow: 0 0 0 3px rgba(216, 183, 240, 0.25);
}

.lead-form .button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  font-size: 0.82rem;
  color: #d5cfdf;
  margin-top: 12px;
  text-align: center;
}

.form-note.success {
  color: #25D366;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-note.error {
  color: #ff5e7e;
  font-weight: 600;
  font-size: 0.92rem;
}

.lead-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Final CTA Section */
.final-cta {
  text-align: center;
}

.final-cta .h-page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.final-cta .p-lead {
  margin: 20px auto 0;
  text-align: center;
  color: #ffffff;
  width: 100%;
  max-width: 100%;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: #ffffff;
  padding: clamp(60px, 7vw, 96px) 0 28px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: inline-block;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-tagline {
  width: 100%;
  max-width: 100%;
  font-size: 0.94rem;
  color: #ffffff;
}

.footer-nav-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 52px 0;
}

.footer-col h5 {
  color: #fdfcff;
  font-size: 0.92rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #d5cfdf;
  padding: 6px 0;
}

.footer-col a:hover {
  color: var(--accent-on-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #d5cfdf;
}

.footer-bottom-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-bottom-links span {
  color: #4a4652;
}

/* Floating UI */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  height: 48px;
  padding: 0 18px 0 14px;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.38);
  transition: transform 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard), filter 0.18s var(--ease-standard);
  z-index: 150;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.48);
  filter: brightness(1.05);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  flex-shrink: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(var(--brand-gradient));
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease-standard), transform 0.22s var(--ease-standard);
  z-index: 149;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

/* Reveal animation */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}

[data-animate].is-visible,
.hero [data-animate],
.page-hero [data-animate] {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width:1160px) {
  .primary-nav a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width:1100px) {
  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .pillar-grid,
  .capabilities-grid,
  .values-grid,
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-offerings-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:900px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width:820px) {
  .header-actions .button {
    display: none !important;
  }

  .site-header {
    width: calc(100% - 24px);
    height: 66px;
    top: 12px;
  }

  .site-header.is-scrolled {
    height: 56px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .mobile-drawer {
    top: 82px;
    width: calc(100% - 24px);
  }
}

@media (max-width:640px) {
  .site-header {
    height: 64px;
    top: 12px;
    width: calc(100% - 20px);
  }

  .header-inner {
    padding: 0 14px;
  }

  .logo-mark {
    height: 24px;
    max-width: 150px;
    padding: 2px 8px;
  }

  .mobile-drawer {
    top: 80px;
    width: calc(100% - 20px);
  }

  .pillar-grid,
  .capabilities-grid,
  .values-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .back-to-top {
    right: 14px;
    bottom: 70px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-float {
    right: 14px;
    left: auto;
    bottom: 14px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }

  .product-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width:480px) {
  .site-header {
    height: 60px;
    top: 10px;
    width: calc(100% - 16px);
  }

  .site-header.is-scrolled {
    height: 52px;
  }

  .header-inner {
    padding: 0 10px 0 12px;
  }

  .logo-mark {
    height: 22px;
    max-width: 130px;
    padding: 2px 6px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 10px;
  }

  .mobile-drawer {
    top: 74px;
    width: calc(100% - 16px);
    padding: 10px;
  }
}

/* ==========================================================================
   Blog & Article Component Styles
   ========================================================================== */

/* Category Badge */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #eedaff;
  background: rgba(184, 137, 240, 0.15);
  border: 1px solid rgba(216, 183, 240, 0.3);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.category-badge.teal {
  color: #7ef0df;
  background: rgba(126, 240, 223, 0.12);
  border-color: rgba(126, 240, 223, 0.3);
}

.category-badge.pink {
  color: #ff9ee2;
  background: rgba(201, 109, 181, 0.15);
  border-color: rgba(201, 109, 181, 0.3);
}

.category-badge.amber {
  color: #ffd074;
  background: rgba(255, 208, 116, 0.12);
  border-color: rgba(255, 208, 116, 0.3);
}

/* Category Filter Bar */
.category-filter-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

/* Blog Listing Spacing Optimization (Hero to Featured Post) */
.page-hero.blog-hero {
  padding-bottom: clamp(18px, 2.2vw, 32px);
}

.section.blog-listing-section {
  padding-top: clamp(24px, 3vw, 40px);
}

.category-filter-bar {
  display: inline-flex;
  gap: 10px;
  background: rgba(25, 15, 43, 0.6);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s var(--ease-standard);
  white-space: nowrap;
}

.filter-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  background: linear-gradient(var(--brand-gradient));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(184, 137, 240, 0.35);
}

/* Featured Blog Card */
.featured-post-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  background: var(--paper-deep);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 56px;
  position: relative;
  transition: transform 0.28s var(--ease-standard), border-color 0.28s var(--ease-standard), box-shadow 0.28s var(--ease-standard);
  text-decoration: none;
  color: inherit;
}

.featured-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-on-dark);
  box-shadow: 0 20px 48px rgba(184, 137, 240, 0.16);
}

.featured-post-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.featured-post-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-standard);
  display: block;
}

.featured-post-card:hover .featured-post-img-wrap img {
  transform: scale(1.04);
}

.featured-post-content {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.featured-post-content h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 14px;
  color: #ffffff;
  transition: color 0.2s;
}

.featured-post-card:hover .featured-post-content h3 {
  color: var(--accent-on-dark);
}

.featured-post-content p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Blog Grid & Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-deep);
  border: 1px solid var(--rule-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.26s var(--ease-standard), border-color 0.26s var(--ease-standard), box-shadow 0.26s var(--ease-standard);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--rule-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #11091c;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--ease-standard);
  display: block;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.blog-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #ffffff;
  transition: color 0.2s;
}

.blog-card:hover h3 {
  color: var(--accent-on-dark);
}

.blog-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: auto;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-chip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule-strong);
}

.author-chip-info {
  font-size: 0.82rem;
  line-height: 1.25;
}

.author-chip-name {
  font-weight: 600;
  color: #ffffff;
}

.author-chip-role {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.read-more-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}

.blog-card:hover .read-more-link {
  transform: translateX(3px);
}

/* Individual Article Styles */
.article-wrapper {
  padding: 130px 0 80px;
  position: relative;
}

.article-header {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.article-header .category-badge {
  margin: 0 auto 16px;
}

.article-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--rule-subtle);
  border-bottom: 1px solid var(--rule-subtle);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.article-hero-media {
  max-width: 980px;
  width: 100%;
  margin: 0 auto 48px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  justify-content: center;
}

.article-hero-media img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border: none !important;
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}


/* Article Layout Grid (Content + Sidebar) */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.article-content {
  color: #e4dff0;
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-subtle);
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}

.article-content h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 14px;
  scroll-margin-top: 100px;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px 24px;
  padding-left: 8px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.article-content strong {
  color: #ffffff;
}

.article-content a {
  color: var(--accent-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.article-content a:hover {
  color: #ffffff;
}

.article-callout {
  background: linear-gradient(135deg, rgba(184, 137, 240, 0.1) 0%, rgba(201, 109, 181, 0.08) 100%);
  border-left: 4px solid var(--accent-on-dark);
  border-radius: 0 12px 12px 0;
  padding: 22px 24px;
  margin: 32px 0;
}

.article-callout h4 {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-quote {
  border-left: 3px solid var(--pink);
  margin: 36px 0;
  padding: 16px 24px;
  background: rgba(25, 15, 43, 0.5);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #f0e6ff;
  line-height: 1.6;
}

.article-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 10px;
  font-weight: 600;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.toc-card {
  background: var(--paper-deep);
  border: 1px solid var(--rule-subtle);
  border-radius: var(--radius-card);
  padding: 22px;
}

.toc-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  padding: 4px 0 4px 10px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.toc-link:hover,
.toc-link.active {
  color: var(--accent-on-dark);
  border-left-color: var(--accent-on-dark);
  padding-left: 12px;
}

/* Author Box */
.author-box {
  background: var(--paper-deep);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-top: 56px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author-box-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rule-strong);
  flex-shrink: 0;
}

.author-box-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.author-box-role {
  font-size: 0.84rem;
  color: var(--accent-on-dark);
  margin-bottom: 10px;
}

.author-box-bio {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 12px;
}

.share-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  margin-top: 40px;
  background: rgba(25, 15, 43, 0.6);
  border: 1px solid var(--rule-subtle);
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
}

.share-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.share-bar-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.share-bar-subtitle {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 1px solid var(--rule-strong);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s var(--ease-standard);
  user-select: none;
  position: relative;
  flex-shrink: 0;
}

.share-btn i {
  font-size: 1.15rem;
  transition: transform 0.2s var(--ease-standard);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.share-btn:hover i {
  transform: scale(1.12);
}

/* Tooltip on hover */
.share-btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #11091c;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--rule-strong);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.share-btn[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Individual Brand Hover Themes */
.share-btn.share-linkedin:hover {
  border-color: #0077b5;
  color: #38a5e8;
  background: rgba(0, 119, 181, 0.16);
}

.share-btn.share-x:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.share-btn.share-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.16);
}

.share-btn.share-facebook:hover {
  border-color: #1877f2;
  color: #4c9aff;
  background: rgba(24, 119, 242, 0.16);
}

.share-btn.share-reddit:hover {
  border-color: #ff4500;
  color: #ff6633;
  background: rgba(255, 69, 0, 0.12);
}

.share-btn.share-telegram:hover {
  border-color: #229ed9;
  color: #4dc2f8;
  background: rgba(34, 158, 217, 0.12);
}

.share-btn.share-hn:hover {
  border-color: #ff6600;
  color: #ff8533;
  background: rgba(255, 102, 0, 0.12);
}

.share-btn.share-email:hover {
  border-color: var(--violet);
  color: #eedaff;
  background: rgba(184, 137, 240, 0.12);
}

.share-btn.share-copy:hover {
  border-color: var(--accent-on-dark);
  color: var(--accent-on-dark);
  background: rgba(216, 183, 240, 0.12);
}

/* Related Posts */
.related-posts-section {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--rule-subtle);
}

.related-posts-section .h-section {
  text-align: center;
  margin-bottom: 36px;
}

/* Responsive adjustments for Blog */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-post-card {
    grid-template-columns: 1fr;
  }

  .featured-post-content {
    padding: 30px;
  }

  .featured-post-img-wrap {
    min-height: 260px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article-meta-bar {
    gap: 12px;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .share-bar {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}