/* ==========================================================================
   KMS Web Technologies — Design System v2.0
   Vercel-Inspired Minimal | achromatic palette, shadow-as-border, 3 weights
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-page: #FAFAFA;
  --bg-elevated: #FFFFFF;
  --bg-recessed: #F2F2F2;
  --bg-hover: #EBEBEB;

  /* Text */
  --text-primary: #171717;
  --text-secondary: #4D4D4D;
  --text-muted: #8F8F8F;

  /* Interactive accent — blue ONLY */
  --accent: #0072F5;
  --accent-dark: #005FCC;

  /* Shadow scale (shadow-as-border — never use CSS border on containers) */
  --shadow-border: 0 0 0 1px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.04), 0 8px 8px -8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 20px -4px rgba(0, 0, 0, 0.08);
  --shadow-menu: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.02), 0 4px 8px -4px rgba(0, 0, 0, 0.04), 0 16px 24px -8px rgba(0, 0, 0, 0.06);

  /* Focus ring (double-ring pattern) */
  --focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #0072F5;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Spacing base: 4px */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  /* Layout */
  --page-width: 1200px;
  --page-margin: 24px;
  --header-h: 64px;

  /* Motion */
  --ease: cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --fast: 0.15s;
  --normal: 0.2s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-page);
  padding-top: var(--header-h);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img,
video {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2.28px;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.28px;
  color: var(--text-primary);
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

h5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

code,
pre {
  font-family: ui-monospace, "SF Mono", "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.title-accent-purple {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--page-margin);
}

.section {
  padding: var(--space-10) 0;
}

.section-sm {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: 120px 0;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.section-anchor {
  position: absolute;
  top: -80px;
  display: block;
  visibility: hidden;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(250, 250, 250, 0.98);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-8);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.logo-slashes {
  display: flex;
  gap: 4px;
  align-items: center;
}

.logo-slash {
  width: 3px;
  border-radius: 2px;
  background: var(--text-primary);
  transform: skewX(-15deg);
}

.logo-slash:nth-child(1) {
  height: 14px;
}

.logo-slash:nth-child(2) {
  height: 20px;
}

.logo-slash:nth-child(3) {
  height: 14px;
}

.logo-text {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.logo-bold {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-regular {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Desktop nav */
.nav-desktop {
  display: flex;
}

.nav-menu {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-menu li {
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color var(--fast), color var(--fast);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-menu);
  padding: var(--space-2);
  min-width: 180px;
  z-index: 200;
}

.nav-item-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color var(--fast), color var(--fast);
}

.dropdown-link:hover {
  background: var(--bg-recessed);
  color: var(--text-primary);
}

.chevron-icon {
  transition: transform var(--normal);
}

.nav-item-dropdown.open .chevron-icon {
  transform: rotate(180deg);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.search-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background-color var(--fast), color var(--fast);
}

.search-circle-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-nav-cta {
  padding: 8px 16px;
  background: var(--text-primary);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background-color var(--fast);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: #000;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  display: block;
  transition: transform var(--normal), opacity var(--fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1099;
}

.mobile-drawer-backdrop.open {
  display: block;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transition: right 0.3s var(--ease);
  padding: var(--space-6);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.drawer-close:hover {
  color: var(--text-primary);
  background: var(--bg-recessed);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.drawer-nav-link {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  transition: background-color var(--fast);
}

.drawer-nav-link:hover {
  background: var(--bg-recessed);
}

.drawer-nav-link.active {
  background: var(--bg-recessed);
  font-weight: 500;
}

.drawer-actions {
  margin-top: var(--space-8);
}

/* Search modal */
.search-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.search-modal-overlay.open {
  display: flex;
}

.search-modal-backdrop {
  position: absolute;
  inset: 0;
}

.search-modal-window {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5, 20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-modal-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.search-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 2px 4px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-4) 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-input-icon {
  flex-shrink: 0;
  color: var(--text-muted);
}

.search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
}

.search-quick-tags {
  padding: var(--space-4) 20px;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}

.quick-tag-label {
  font-size: 12px;
  color: var(--text-muted);
}

.quick-tag {
  padding: 4px 12px;
  background: var(--bg-recessed);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: background-color var(--fast), color var(--fast);
}

.quick-tag:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast);
  line-height: 1.25;
  white-space: nowrap;
}

.btn .btn-arrow {
  transition: transform var(--fast);
  display: inline-block;
  font-size: 15px;
  line-height: 1;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: #171717;
  color: #FFFFFF;
  border-color: #171717;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: #FFFFFF;
  color: #171717;
  border-color: #171717;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #171717;
  color: #FFFFFF;
  border-color: #171717;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--fast);
}

.btn-explore:hover {
  background: var(--accent-dark);
}

.btn-pill-solid {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: var(--text-primary);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--fast);
}

.btn-pill-solid:hover {
  background: #000;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--fast);
}

.btn-learn-more:hover {
  color: var(--accent);
}

.btn-learn-more .arrow-up-right,
.btn-learn-more svg {
  width: 16px;
  height: 16px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-border);
  transition: background-color var(--fast);
}

.btn-view-all:hover {
  background: var(--bg-recessed);
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color var(--fast);
}

.btn-submit:hover {
  background: var(--accent-dark);
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--fast);
}

.btn-cta-primary:hover {
  background: var(--accent-dark);
}

/* Legacy compat */
.cta-accent-line {
  display: none;
}

.btn-3d-build {
  padding: 12px 24px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  margin-top: var(--space-5, 20px);
  border: none;
  transition: background-color var(--fast);
}

.btn-3d-build:hover {
  background: var(--accent-dark);
}

.btn-3d-glow {
  display: none;
}

.btn-3d-text {
  font-size: 14px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION
   -------------------------------------------------------------------------- */

/* ── Hero section wrapper ── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-page);
  padding: calc(var(--header-h, 68px) + 72px) 0 56px;
}

/* Background dot-grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
}
.hero-grid-svg { width: 100%; height: 100%; }

/* Ambient glow blobs */
.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
}
.hero-glow--right {
  top: -120px;
  right: 10%;
  width: 480px;
  height: 480px;
  background: rgba(0, 114, 245, 0.07);
}
.hero-glow--left {
  top: 40%;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(0, 114, 245, 0.05);
}

/* ── Grid layout ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ── Left column ── */
.hero-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  width: fit-content;
}
.hero-eyebrow-dot {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}
.hero-eyebrow-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(34,197,94,0.6);
  animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.hero-eyebrow-dot::after {
  content: '';
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* Headline */
.hero-title {
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -2px;
}
.hero-title-line {
  display: block;
}
.hero-title-dark {
  font-size: clamp(27px, 3.5vw, 42px);
  color: var(--text-primary);
}
.hero-title-blue {
  font-size: clamp(27px, 3.5vw, 42px);
  color: var(--accent);
  margin-top: 4px;
}

/* Description */
.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 500px;
}

/* CTA row */
.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,114,245,0.28);
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.btn-hero-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(0,114,245,0.36);
  transform: translateY(-1px);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, box-shadow 0.18s;
}
.btn-hero-ghost:hover {
  background: var(--bg-recessed);
  box-shadow: var(--shadow-md);
}

/* Trust strip */
.hero-trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero-trust-sep {
  font-weight: 700;
  color: rgba(0,0,0,0.2);
}

/* ── Right column: bento visual ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  z-index: 2;
}

/* Base browser card */
.hero-browser-card {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s;
}
.hero-browser-card:hover { transform: translateY(-2px); }

/* Browser chrome bar */
.hero-browser-bar {
  height: 40px;
  background: var(--bg-recessed);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.hero-browser-dots { display: flex; align-items: center; gap: 5px; }
.hb-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hb-dot--red    { background: #E5484D; }
.hb-dot--yellow { background: #FF990A; }
.hb-dot--green  { background: #45A557; }
.hero-browser-url {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  border-radius: 5px;
  padding: 3px 12px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #8F8F8F;
  white-space: nowrap;
  overflow: hidden;
  max-width: 220px;
  text-overflow: ellipsis;
}
.hero-browser-spacer { width: 24px; }

/* Browser body */
.hero-browser-body {
  padding: 16px;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mini app top-bar */
.hb-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hb-app-brand { display: flex; align-items: center; gap: 7px; }
.hb-app-logo {
  width: 20px; height: 20px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hb-app-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.hb-app-tabs { display: flex; gap: 4px; }
.hb-tab {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}
.hb-tab--active {
  background: rgba(0,114,245,0.1);
  color: var(--accent);
  font-weight: 600;
}

/* 3-metric grid */
.hb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}
.hb-metric {
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hb-metric-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hb-metric-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.hb-metric-value--blue { color: var(--accent); }
.hb-metric-sub {
  font-size: 9px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}
.hb-metric-sub--green { color: #22c55e; }

/* Dark feature banner */
.hb-dark-banner {
  border-radius: var(--radius-md);
  background: #0b1120;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hb-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
}
.hb-banner-title {
  font-size: 11px;
  font-weight: 600;
  color: #e8eaf6;
  margin: 0 0 3px;
}
.hb-banner-desc {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.hb-banner-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

/* ── Floating cards ── */
.hero-float-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), var(--shadow-border);
}

/* Code card — top right */
.hero-float-card--code {
  top: -28px;
  right: -20px;
  width: 220px;
  background: #0b1120;
  padding: 12px;
  z-index: 10;
  transition: transform 0.3s;
}
.hero-float-card--code:hover { transform: translateY(-2px); }

.hfc-code-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.hfc-dot { width: 8px; height: 8px; border-radius: 50%; }
.hfc-dot--red    { background: #E5484D; }
.hfc-dot--yellow { background: #FF990A; }
.hfc-dot--green  { background: #45A557; }
.hfc-filename {
  margin-left: auto;
  font-family: ui-monospace,monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}
.hfc-code-body {
  font-family: ui-monospace,monospace;
  font-size: 10px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}
.hfc-code-body p { margin: 0; }
.code-indent1 { padding-left: 10px; }
.code-indent2 { padding-left: 20px; }
.code-kw  { color: #b3c5ff; }
.code-fn  { color: #86efac; }
.code-tag { color: #93c5fd; }
.code-str { color: #86efac; }
.hfc-code-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hfc-tech { font-family: ui-monospace,monospace; font-size: 9px; color: rgba(255,255,255,0.3); }
.hfc-built {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 600; color: #86efac;
}
.hfc-built-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 1.6s ease-in-out infinite;
}
@keyframes pulse-green {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* Mobile card — bottom left */
.hero-float-card--mobile {
  bottom: -24px;
  left: -16px;
  width: 180px;
  background: var(--bg-elevated);
  padding: 8px;
  z-index: 10;
  transition: transform 0.3s;
}
.hero-float-card--mobile:hover { transform: translateY(-3px); }

.hfc-mobile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 4px;
}
.hfc-mobile-time { font-size: 9px; font-weight: 700; color: var(--text-primary); }
.hfc-mobile-icons {
  display: flex; gap: 3px;
  color: var(--text-primary);
}
.hfc-mobile-body {
  background: var(--bg-recessed);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hfc-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hfc-portal-title { font-size: 10px; font-weight: 700; color: var(--text-primary); }
.hfc-portal-logo {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hfc-mobile-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 7px;
  box-shadow: var(--shadow-sm);
}
.hfc-mc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.hfc-mc-label { font-size: 8px; color: var(--text-muted); }
.hfc-mc-badge { font-size: 8px; font-weight: 700; color: #22c55e; }
.hfc-mc-num { font-size: 14px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.5px; }
.hfc-progress-bar {
  height: 4px;
  background: var(--bg-hover);
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.hfc-progress-fill {
  height: 100%;
  width: 75%;
  background: var(--accent);
  border-radius: 2px;
}
.hfc-inquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 5px 7px;
  box-shadow: var(--shadow-sm);
}
.hfc-inquiry-label { font-size: 8px; font-weight: 600; color: var(--text-primary); }
.hfc-inquiry-live {
  font-size: 7px; font-weight: 700;
  background: #22c55e;
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
}

/* Analytics card — bottom right */
.hero-float-card--analytics {
  bottom: -32px;
  right: 12px;
  width: 200px;
  background: var(--bg-elevated);
  padding: 12px;
  z-index: 10;
  transition: transform 0.2s;
}
.hero-float-card--analytics:hover { transform: scale(1.03); }

.hfa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.hfa-title-group { display: flex; align-items: center; gap: 5px; }
.hfa-title { font-size: 11px; font-weight: 700; color: var(--text-primary); }
.hfa-badge {
  font-size: 9px; font-weight: 700;
  background: rgba(34,197,94,0.12);
  color: #15803d;
  padding: 2px 6px;
  border-radius: 4px;
}
.hfa-chart { width: 100%; margin-bottom: 6px; }
.hfa-chart-svg { width: 100%; height: auto; display: block; }
.hfa-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
}
.hfa-footer-val { font-weight: 600; color: var(--text-primary); }

/* ── Service strip (bottom) ── */
.hero-service-strip {
  margin-top: 72px;
}
.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.hss-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.hss-item:last-child { border-right: none; }
.hss-icon {
  width: 24px; height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   TECHNOLOGY STACK SECTION (techstack.php)
   -------------------------------------------------------------------------- */
.techstack-section {
  padding: var(--space-16) 0;
  background: #fdf8ed; /* warm cream matching the reference */
}

.techstack-header {
  text-align: center;
  margin-bottom: 48px;
}

.techstack-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 16px;
}

.techstack-title {
  font-size: clamp(18px, 2.45vw, 27px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin: 0 0 12px;
  line-height: 1.15;
}

.techstack-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

/* Grid: 8 per row on desktop, responsive */
.techstack-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

/* Individual tech card */
.ts-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 10px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: default;
}

.ts-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
}

.ts-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ts-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.ts-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .techstack-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .techstack-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .techstack-section {
    padding: var(--space-10) 0;
  }
}

@media (max-width: 480px) {
  .techstack-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .ts-card {
    padding: 14px 8px 12px;
  }
  .ts-icon-wrap { width: 40px; height: 40px; }
  .ts-icon { width: 36px; height: 36px; }
}

/* Tech marquee */
.tech-marquee-section {
  padding: var(--space-10) 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tech-marquee-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-6);
}

.tech-marquee-track {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.tech-marquee-track::-webkit-scrollbar {
  display: none;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 14px;
  background: var(--bg-recessed);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: var(--space-16) 0;
  background: #fdf6ee; /* warm cream matching reference */
}

/* 2-column layout */
.about-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* ── Left image column ── */
.about-image-col {
  display: flex;
  align-items: stretch;
}

.about-img-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f5e6d3;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.about-workspace-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* ── Right content column ── */
.about-content-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Eyebrow */
.about-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Headline */
.about-headline {
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.12;
  color: var(--text-primary);
  margin: 0 0 24px;
}

/* Body paragraphs */
.about-body-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 14px;
}

.about-body-text:last-of-type {
  margin-bottom: 32px;
}

/* 2×2 feature pill grid */
.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.about-feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.16s, box-shadow 0.16s;
}

.about-feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09), 0 0 0 1px rgba(0,0,0,0.06);
}

.afp-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 114, 245, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.afp-icon svg {
  width: 18px;
  height: 18px;
}

.afp-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* CTA button */
.btn-about-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--text-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  width: fit-content;
  transition: background 0.18s, transform 0.14s;
}

.btn-about-more:hover {
  background: #333;
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-main-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .about-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-image-col {
    display: none;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Old helper classes kept for compatibility ── */
.about-card-container { display: contents; }
.trusted-strip { display: none; }
.about-tag { display: none; }
.about-info-card { display: contents; }
.about-card-desc { display: none; }
.about-card-bottom { display: none; }
.about-profile-col { display: none; }
.about-metrics-col { display: none; }


/* --------------------------------------------------------------------------
   8b. ABOUT HERO SPOTLIGHT CARD (About Page Layer 1)
   -------------------------------------------------------------------------- */
.about-hero-section {
  padding: 0;
  background: var(--bg-page);
  width: 100%;
  overflow: hidden;
}

.about-spotlight-card {
  position: relative;
  background: #ffffff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  min-height: 480px;
  box-sizing: border-box;
  box-shadow: none;
  width: 100%;
}

.about-spotlight-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-spotlight-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.about-spotlight-container {
  position: relative;
  z-index: 2;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.about-spotlight-content {
  padding: 48px 0;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-spotlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.about-spotlight-eyebrow .eyebrow-line {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.about-spotlight-title {
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.05;
  color: #171717;
  margin: 0 0 12px;
}

.about-spotlight-tagline {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
  line-height: 1.35;
}

.about-spotlight-tagline .tagline-highlight {
  color: var(--accent);
}

.about-spotlight-desc {
  font-size: 14.5px;
  color: var(--text-secondary, #52525B);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 24px;
}

.about-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-btn-know-more {
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 114, 245, 0.28);
  transition: background-color var(--fast), transform var(--fast), box-shadow var(--fast);
}

.about-btn-know-more:hover {
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 114, 245, 0.4);
}

@media (max-width: 992px) {
  .about-spotlight-card {
    min-height: 420px;
  }

  .about-spotlight-container {
    min-height: 420px;
  }

  .about-spotlight-content {
    max-width: 480px;
    padding: 36px 0;
  }
}

@media (max-width: 768px) {
  .about-spotlight-card {
    min-height: auto;
  }

  .about-spotlight-container {
    min-height: auto;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 70%, rgba(255, 255, 255, 0.7) 100%);
  }

  .about-spotlight-content {
    max-width: 100%;
    padding: 36px 0;
  }
}

/* --------------------------------------------------------------------------
   8c. MISSION & VISION SHOWCASE (About Page Layer 2)
   -------------------------------------------------------------------------- */
.about-mv-section {
  padding: var(--space-10) 0;
  background: var(--bg-page);
}

.about-mv-wrapper {
  background: #ffffff;
  border: 1.5px solid #171717;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 520px;
}

/* Corner Floating Decorative Squares */
.mv-dec-square {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.mv-dec-tr-yellow {
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: var(--accent, #0072F5);
  border-radius: 6px;
}

.mv-dec-tr-navy {
  top: 32px;
  right: 32px;
  width: 34px;
  height: 34px;
  background: #0B1B3D;
  border-radius: 10px;
}

.mv-dec-bl-yellow {
  bottom: 0;
  left: 0;
  width: 44px;
  height: 44px;
  background: var(--accent, #0072F5);
  border-radius: 0 16px 0 0;
}

.mv-dec-bl-navy {
  bottom: 18px;
  left: 48px;
  width: 28px;
  height: 28px;
  background: #0B1B3D;
  border-radius: 8px;
}

.mv-dec-mid-yellow {
  bottom: 38px;
  left: 330px;
  width: 48px;
  height: 48px;
  background: var(--accent, #0072F5);
  border-radius: 14px;
}

.mv-dec-mid-navy {
  bottom: 20px;
  left: 295px;
  width: 30px;
  height: 30px;
  background: #0B1B3D;
  border-radius: 9px;
}

/* Main Grid */
.about-mv-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 520px;
  position: relative;
  z-index: 2;
}

/* Left Column: Navy Card */
.mv-left-column {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.mv-navy-card {
  background: #0B1B3D;
  padding: 44px 34px 36px;
  border-radius: 0 0 32px 0;
  box-shadow: 4px 6px 18px rgba(11, 27, 61, 0.15);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mv-pillar-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}

.mv-title-white {
  color: #ffffff;
}

.mv-title-blue,
.mv-title-gold {
  color: var(--accent, #0072F5);
}

.mv-title-dash {
  width: 36px;
  height: 3.5px;
  background: var(--accent, #0072F5);
  border-radius: 2px;
  margin: 10px 0 16px;
}

.mv-pillar-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 24px;
}

.mv-laptop-illustration {
  width: 100%;
  max-width: 260px;
  margin-top: auto;
}

.mv-brand-strip {
  padding: 22px 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mv-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-brand-meta {
  display: flex;
  flex-direction: column;
}

.mv-brand-heading {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0B1B3D;
  line-height: 1.2;
}

.mv-brand-subheading {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.08em;
}

/* Right Column: S-Curve Track */
.mv-right-column {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px 48px;
}

.mv-track-container {
  position: absolute;
  top: 40px;
  left: 0;
  right: 20px;
  bottom: 40px;
  pointer-events: none;
  z-index: 1;
}

.mv-track-svg {
  width: 100%;
  height: 100%;
}

.mv-cards-flow {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 10px 0 10px 30px;
}

.mv-flow-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 520px;
}

.mv-flow-vision {
  margin-left: 20px;
}

.mv-flow-mission {
  margin-left: 60px;
}

.mv-flow-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-flow-text {
  flex: 1;
}

.mv-flow-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  line-height: 1.2;
}

.title-navy {
  color: #0B1B3D;
}

.title-blue {
  color: #0072F5;
}

.title-gold {
  color: var(--accent, #0072F5);
}

.mv-flow-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-mv-grid {
    grid-template-columns: 320px 1fr;
  }

  .mv-right-column {
    padding: 30px 24px;
  }

  .mv-flow-vision {
    margin-left: 10px;
  }

  .mv-flow-mission {
    margin-left: 30px;
  }
}

@media (max-width: 860px) {
  .about-mv-wrapper {
    min-height: auto;
    border-radius: 20px;
  }

  .about-mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-navy-card {
    border-radius: 0;
    padding: 36px 28px 30px;
  }

  .mv-pillar-title {
    font-size: 28px;
  }

  .mv-laptop-illustration {
    max-width: 220px;
    margin: 20px auto 0;
  }

  .mv-brand-strip {
    padding: 16px 24px;
  }

  .mv-dec-square {
    display: none;
  }

  .mv-track-container {
    display: none;
  }

  .mv-right-column {
    padding: 28px 20px 32px;
  }

  .mv-cards-flow {
    padding: 0;
    gap: 20px;
  }

  .mv-flow-vision,
  .mv-flow-mission {
    margin-left: 0;
    background: #F8FAFC;
    padding: 20px 18px;
    border-radius: 16px;
    border: 1.5px solid rgba(11, 27, 61, 0.1);
  }
}

@media (max-width: 480px) {
  .about-mv-wrapper {
    border-radius: 16px;
  }

  .mv-navy-card {
    padding: 26px 18px 22px;
  }

  .mv-pillar-title {
    font-size: 24px;
  }

  .mv-pillar-desc {
    font-size: 13.5px;
  }

  .mv-brand-strip {
    padding: 14px 18px;
  }

  .mv-right-column {
    padding: 20px 14px 26px;
  }

  .mv-flow-card {
    gap: 12px;
  }

  .mv-flow-vision,
  .mv-flow-mission {
    padding: 16px 14px;
  }

  .mv-flow-icon {
    width: 36px;
    height: 36px;
  }

  .mv-flow-icon svg {
    width: 36px;
    height: 36px;
  }

  .mv-flow-title {
    font-size: 19px;
  }

  .mv-flow-desc {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   8d. OUR STRENGTHS SHOWCASE (About Page Layer 3)
   -------------------------------------------------------------------------- */
.about-strengths-section {
  padding: 0 0 var(--space-10);
  background: var(--bg-page);
}

.about-strengths-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #171717;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 330px;
  box-sizing: border-box;
}

.about-strengths-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-strengths-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Left Content Column */
.strengths-content-col {
  position: relative;
  z-index: 2;
  padding: 36px 28px 36px 44px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
}

.strengths-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.strengths-dash {
  width: 28px;
  height: 3.5px;
  background: var(--accent, #0072F5);
  border-radius: 2px;
  display: inline-block;
}

.strengths-eyebrow-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.2px;
}

.strengths-headline {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 0 0 10px;
}

.strengths-black,
.strengths-navy {
  color: #171717;
}

.strengths-blue,
.strengths-gold {
  color: var(--accent, #0072F5);
}

.strengths-desc {
  font-size: 14px;
  font-weight: 500;
  color: #52525B;
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 340px;
}

/* Features 2x3 Grid */
.strengths-features-grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 13px 18px;
  max-width: 360px;
}

.strength-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strength-check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent, #0072F5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 114, 245, 0.3);
}

.strength-feature-label {
  font-size: 14px;
  font-weight: 700;
  color: #171717;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .about-strengths-card {
    min-height: auto;
    border-radius: 20px;
  }

  .strengths-content-col {
    padding: 32px 24px;
    max-width: 100%;
    min-height: auto;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 75%, rgba(255, 255, 255, 0.8) 100%);
  }

  .strengths-features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 380px;
    gap: 12px 16px;
  }
}

@media (max-width: 580px) {
  .about-strengths-card {
    border-radius: 16px;
  }

  .strengths-content-col {
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.96);
  }

  .strengths-headline {
    font-size: 26px;
    letter-spacing: -0.8px;
  }

  .strengths-desc {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .strengths-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .strength-feature-label {
    font-size: 13.5px;
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   9. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-hero-section {
  padding: var(--space-8) 0;
  background: var(--bg-page);
}

.service-spotlight-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #171717;
  border-radius: 28px;
  overflow: hidden;
  min-height: 640px;
  box-sizing: border-box;
}

.service-spotlight-art {
  position: absolute;
  right: 0;
  bottom: 0;
  /* width: 66%; */
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.service-spotlight-bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

.service-spotlight-content {
  position: relative;
  z-index: 2;
  padding: 48px 52px;
}

.service-hero-left {
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.service-hero-headline {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  color: #171717;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 0 0 16px;
}

.service-hero-subtext {
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  line-height: 1.5;
  max-width: 440px;
  margin: 0 0 24px;
}

.service-pill-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  max-width: 380px;
}

.service-feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1.5px solid #171717;
  border-radius: 9999px;
  padding: 8px 18px 8px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.pill-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #171717;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.pill-title {
  font-size: 15px;
  font-weight: 700;
  color: #171717;
}

.pill-desc {
  font-size: 13px;
  font-weight: 500;
  color: #555555;
}

.service-plan-tagline {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.plan-tagline-text {
  font-size: 16px;
  font-weight: 700;
  color: #171717;
}

.hand-drawn-line {
  width: 150px;
  height: 10px;
  margin-top: 2px;
}

.service-cta-wrap {
  margin-top: 4px;
}

.service-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #171717;
  color: #ffffff;
  border-radius: 9999px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--fast), transform var(--fast);
}

.service-start-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.service-start-btn .start-btn-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform var(--fast);
  display: inline-block;
}

.service-start-btn:hover .start-btn-arrow {
  transform: translateX(4px);
}

/* Floating Elements */
.service-floating-top-right {
  position: absolute;
  top: 48px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.service-callout-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.callout-text {
  font-size: 15px;
  font-weight: 700;
  color: #171717;
  line-height: 1.25;
}

.curved-callout-line {
  width: 110px;
  height: 8px;
  margin-top: 3px;
}

.service-badge-square {
  width: 44px;
  height: 44px;
  background: #171717;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.service-floating-mid-right {
  position: absolute;
  top: 50%;
  right: 88px;
  transform: translateY(-50%);
  z-index: 3;
}

.service-floating-bottom-right {
  position: absolute;
  bottom: 48px;
  right: 56px;
  z-index: 3;
  text-align: left;
}

.build-better-heading {
  font-size: 26px;
  font-weight: 800;
  color: #171717;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.build-better-sub {
  font-size: 13px;
  font-weight: 600;
  color: #444444;
  margin: 0;
}

@media (max-width: 1024px) {
  .service-spotlight-art {
    width: 58%;
  }

  .service-floating-top-right {
    top: 32px;
    right: 36px;
  }

  .service-floating-mid-right {
    right: 48px;
  }

  .service-floating-bottom-right {
    bottom: 32px;
    right: 36px;
  }
}

@media (max-width: 900px) {
  .service-spotlight-card {
    min-height: auto;
    padding: 36px 24px 28px;
  }

  .service-spotlight-content {
    padding: 0;
  }

  .service-hero-left {
    max-width: 100%;
  }

  .service-spotlight-art {
    position: relative;
    width: 100%;
    height: 360px;
    margin: 28px 0 20px;
  }

  .service-spotlight-bg-img {
    object-position: center bottom;
  }

  .service-floating-top-right,
  .service-floating-mid-right,
  .service-floating-bottom-right {
    position: static;
    transform: none;
    margin-top: 16px;
  }

  .service-floating-top-right {
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   HOME SERVICES GRID (svc-card / svc-grid — homepage services section)
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid rgba(0,0,0,0.07);
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.svc-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin: 0 0 14px;
  line-height: 1.25;
  order: 1;
}

.svc-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-recessed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  order: 2;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.svc-card:hover .svc-icon-box {
  background: var(--accent);
  color: #fff;
}

.svc-icon-box svg {
  width: 22px;
  height: 22px;
}

.svc-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 20px;
  order: 3;
  flex: 1;
}

.svc-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  order: 4;
  margin-top: auto;
  transition: color 0.15s, gap 0.15s;
}

.svc-explore-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.svc-explore-btn:hover {
  color: var(--accent-dark);
  gap: 10px;
}

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

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

/* -------------------------------------------------------------------------- */

.services-section {
  padding: var(--space-10) 0;
}

/* Hide old ambient/3D decorations */
.services-ambient-layer,
.services-orbit-ring,
.services-orbit-ring-outer {
  display: none !important;
}

.services-header-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-16);
}

.services-main-title {
  font-size: clamp(20px, 2.8vw, 25px);
  margin: 0 0 var(--space-4);
}

.services-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.services-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
}

@media (max-width: 1024px) {
  .services-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .services-grid-3x2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Service Card (Compact Boxed Cards for Services Page) */
.service-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.service-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-recessed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: background-color var(--fast), color var(--fast);
}

.service-card:hover .service-icon-wrap {
  background: var(--accent);
  color: #ffffff;
}

.service-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.service-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.service-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 12px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.service-list li {
  font-size: 12px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 14px;
  line-height: 1.35;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
}

.service-card .service-read-more-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color var(--fast), gap var(--fast);
}

.service-card .service-read-more-btn:hover {
  color: var(--accent-dark);
  gap: 8px;
}

/* --------------------------------------------------------------------------
   TECH STACK SHOWCASE CARD (Services Page)
   -------------------------------------------------------------------------- */
.tech-showcase-card {
  background: var(--bg-elevated);
  border: 1.5px solid #171717;
  border-radius: 28px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.tech-stack-row {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}

/* Category Pill */
.tech-cat-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #171717;
  border-radius: 16px;
  padding: 12px 18px;
  width: 250px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.tech-cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.grad-purple {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.grad-blue {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.grad-cyan {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.grad-indigo {
  background: linear-gradient(135deg, #6d28d9, #9333ea);
}

.grad-magenta {
  background: linear-gradient(135deg, #7e22ce, #a855f7);
}

.tech-cat-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.tech-cat-title {
  font-size: 16px;
  font-weight: 700;
  color: #171717;
}

.tech-cat-sub {
  font-size: 12.5px;
  font-weight: 500;
  color: #4b5563;
  margin-top: 2px;
}

/* Tech Items Track */
.tech-items-track {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
}

.tech-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 66px;
}

.tech-icon-box {
  width: 66px;
  height: 66px;
  border: 1.5px solid #171717;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: transform var(--fast), box-shadow var(--fast);
}

.tech-item-card:hover .tech-icon-box {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.tech-name {
  font-size: 12px;
  font-weight: 600;
  color: #171717;
  text-align: center;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .tech-stack-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tech-cat-badge {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 680px) {
  .tech-showcase-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .tech-items-track {
    gap: 14px;
  }

  .tech-item-card {
    width: 58px;
  }

  .tech-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .tech-name {
    font-size: 11px;
  }
}

.card-3d-wrapper {
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8);
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
  cursor: default;
}

.card-3d-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.15);
}

.card-3d-surface {
  height: 100%;
}

/* Kill ALL old 3D effects */
.card-3d-glare,
.card-3d-glow {
  display: none !important;
}

.card-3d-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}

.service-icon-badge {
  width: 40px;
  height: 40px;
  background: var(--bg-recessed);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
}

.service-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.service-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.service-card-action {
  margin-top: auto;
}

.service-read-more-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-family: inherit;
  transition: color var(--fast);
}

.service-read-more-btn:hover {
  color: var(--accent-dark);
}

.service-arrow-icon {
  width: 14px;
  height: 14px;
}

/* Service detail modal */
.service-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.service-modal-overlay.open {
  display: flex;
}

.service-modal-window {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.service-modal-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.5px;
}

.service-modal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   10. PROCESS SECTION (How We Work Sequence Cards)
   -------------------------------------------------------------------------- */
.process-section {
  padding: var(--space-10) 0;
  background: var(--bg-page);
}

.process-header-block {
  text-align: center;
  margin-bottom: 36px;
}

.process-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border: 1.5px solid #171717;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #171717;
  margin-bottom: 12px;
}

.process-tag-pill .tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.process-section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  margin: 0 0 10px;
}

.process-section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Sequence Grid */
.process-sequence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card-step {
  background: var(--bg-elevated);
  border: 1.5px solid #171717;
  border-radius: 20px;
  padding: 24px 22px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}

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

.step-number-watermark {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 52px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -2px;
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #171717;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #171717;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast);
}

.process-card-step:hover .step-icon-circle {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.step-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #171717;
  margin: 0 0 3px;
  letter-spacing: -0.3px;
}

.step-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.step-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.step-footer {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step-chip {
  font-size: 11px;
  font-weight: 600;
  color: #171717;
  background: var(--bg-recessed);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Timeline Footer Banner */
.process-timeline-footer {
  margin-top: 24px;
  background: var(--bg-elevated);
  border: 1.5px solid #171717;
  border-radius: 18px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.timeline-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
}

.timeline-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.timeline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #171717;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--fast), transform var(--fast);
}

.timeline-cta-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.timeline-cta-btn .btn-arrow {
  transition: transform var(--fast);
}

.timeline-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Pricing CTA Card */
.pricing-cta-section {
  padding: var(--space-10) 0;
  background: var(--bg-page);
}

.pricing-cta-card {
  background: var(--bg-elevated);
  border: 1.5px solid #171717;
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.pricing-cta-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #171717;
  margin: 0 0 6px;
}

.pricing-cta-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0;
  line-height: 1.55;
}

.pricing-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .process-sequence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .process-sequence-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Legacy process grid compat */
.process-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

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

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.process-step-number {
  font-size: 48px;
  font-weight: 600;
  color: var(--bg-hover);
  letter-spacing: -2px;
  line-height: 1;
}

.process-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.process-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-section {
  padding: var(--space-10) 0;
}

/* Remove old ambient layers */
.projects-ambient-layer,
.projects-orbit-ring,
.projects-orbit-ring-outer,
.projects-showcase-frame-wrapper {
  display: none !important;
}

.projects-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: flex-start;
  margin-bottom: var(--space-12);
}

.projects-header-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.projects-main-title {
  font-size: clamp(20px, 2.8vw, 25px);
  margin: 0;
}

.projects-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.projects-header-action {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

/* Filter tabs */
.project-filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-tab-btn {
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg-recessed);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  transition: background-color var(--fast), color var(--fast);
}

.filter-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.filter-tab-btn.active {
  background: var(--text-primary);
  color: #FFFFFF;
}

/* Project cards grid */
.project-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--fast);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
}

.project-card.hidden {
  display: none;
}

.project-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
}

.project-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.project-tag {
  padding: 3px 10px;
  background: var(--bg-recessed);
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.project-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
  line-height: 1.5;
}

.project-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-link:hover {
  color: var(--accent-dark);
}

/* Legacy compat for projects */
.projects-pill-badge,
.showcase-frame-badge {
  display: none;
}

/* --------------------------------------------------------------------------
   12. PRICING SECTION
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: var(--space-10) 0;
  background: var(--bg-page);
}

/* Kill all old ambient/3D */
.pricing-ambient-layer,
.pricing-orbit-ring,
.pricing-orbit-ring-outer,
.pricing-radial-glow {
  display: none !important;
}

.pricing-header-block {
  text-align: center;
  margin-bottom: var(--space-16);
}

.pricing-main-title {
  margin: 0 0 var(--space-4);
}

.pricing-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-grid-1x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.pricing-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  position: relative;
  transition: box-shadow var(--fast);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-md);
}

.card-glow-accent {
  display: none;
}

.plan-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.plan-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.delivery-time {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-recessed);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-3) 0 var(--space-2);
}

.plan-description {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 var(--space-5, 20px);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-6);
}

.currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.price-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 0 0 var(--space-6);
}

.features-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-3);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-check {
  width: 18px;
  height: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-check svg {
  width: 10px;
  height: 10px;
  color: #FFFFFF;
}

.plan-cta-btn {
  width: 100%;
  margin-top: var(--space-6);
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background-color var(--fast);
}

.plan-cta-btn.primary {
  background: var(--text-primary);
  color: #FFFFFF;
}

.plan-cta-btn.primary:hover {
  background: #000;
}

.plan-cta-btn.secondary {
  background: transparent;
  color: var(--text-primary);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.plan-cta-btn.secondary:hover {
  background: var(--bg-recessed);
}

/* --------------------------------------------------------------------------
   13. TEAM SECTION
   -------------------------------------------------------------------------- */
.team-section {
  padding: var(--space-10) 0;
}

/* Kill old decorations */
.team-ambient-layer,
.team-orbit-ring,
.team-orbit-ring-outer,
.card-3d-glare,
.card-3d-glow {
  display: none !important;
}

.team-header-block {
  text-align: center;
  margin-bottom: var(--space-10);
}

.team-main-title {
  font-size: clamp(20px, 2.8vw, 25px);
  margin: 0;
}

/* Spotlight Card - single card, static, no hover motion/tilt */
.team-spotlight-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1.5px solid #171717;
  border-radius: 24px;
  padding: 40px 48px 28px;
  box-sizing: border-box;
}

.team-spotlight-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.team-spotlight-content {
  flex: 1;
  min-width: 0;
}

/* Founder & Owner Pill */
.team-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1.5px solid #171717;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #171717;
  margin-bottom: 16px;
  line-height: 1;
}

.team-role-dot {
  width: 6px;
  height: 6px;
  background-color: #171717;
  border-radius: 50%;
  display: inline-block;
}

/* Member Name & Title */
.team-member-name {
  font-size: 38px;
  font-weight: 700;
  color: #171717;
  margin: 0 0 6px;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.team-member-designation {
  font-size: 17px;
  font-weight: 600;
  color: #171717;
  margin: 0 0 18px;
  line-height: 1.4;
}

/* Bio */
.team-member-bio {
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 24px;
  max-width: 720px;
}

/* Tags / Skills */
.team-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1.5px solid #171717;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #171717;
  background: transparent;
  line-height: 1;
}

/* Avatar on the right */
.team-spotlight-avatar {
  flex-shrink: 0;
}

.team-avatar-frame {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid #171717;
  overflow: hidden;
  background: #f0f0f0;
}

.team-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: 50%;
}

/* Card Footer */
.team-spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin-top: 24px;
  padding-top: 18px;
}

.team-social-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Only buttons have effects */
.team-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #171717;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  text-decoration: none;
  background: transparent;
  transition: background-color var(--fast), color var(--fast), border-color var(--fast);
}

.team-icon-btn .icon-in-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.team-icon-btn:hover {
  background: #171717;
  color: #ffffff;
}

.team-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #171717;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--fast);
}

.team-connect-btn .connect-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform var(--fast);
  display: inline-block;
}

.team-connect-btn:hover {
  color: var(--accent);
}

.team-connect-btn:hover .connect-arrow {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .team-spotlight-card {
    padding: 28px 20px 22px;
    border-radius: 18px;
  }

  .team-spotlight-main {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .team-spotlight-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .team-role-pill {
    margin-bottom: 12px;
  }

  .team-member-name {
    font-size: 28px;
    margin-bottom: 4px;
  }

  .team-member-designation {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .team-member-bio {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
  }

  .team-tags-row {
    justify-content: center;
    gap: 8px;
  }

  .team-tag-pill {
    font-size: 12px;
    padding: 6px 12px;
  }

  .team-avatar-frame {
    width: 150px;
    height: 150px;
  }

  .team-spotlight-footer {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
  }

  .team-connect-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .team-spotlight-card {
    padding: 22px 16px 18px;
    border-radius: 16px;
  }

  .team-member-name {
    font-size: 24px;
  }

  .team-avatar-frame {
    width: 130px;
    height: 130px;
  }
}

/* Legacy grid fallback */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonial-section {
  padding: var(--space-10) 0;
  background: var(--bg-elevated);
}

.testimonial-header-block {
  text-align: center;
  margin-bottom: var(--space-16);
}

.testimonial-main-title {
  margin: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.testimonial-author {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.testimonial-company {
  font-size: 12px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. BLOG SECTION
   -------------------------------------------------------------------------- */
.blog-section {
  padding: var(--space-10) 0;
}

/* Kill old ambient/3D */
.blog-ambient-layer,
.blog-orbit-ring,
.blog-orbit-ring-outer {
  display: none !important;
}

/* Make marquee wrapper transparent */
.blog-slider-container,
.blog-marquee-wrapper {
  overflow: visible;
}

.blog-header-block {
  text-align: center;
  margin-bottom: var(--space-16);
}

.blog-main-title {
  margin: 0;
}

.blog-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--fast);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-meta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-3);
}

.blog-card-category {
  padding: 3px 10px;
  background: var(--bg-recessed);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

.blog-card-read-time {
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 var(--space-4);
}

.blog-card-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--fast);
}

.blog-card-link:hover {
  color: var(--accent-dark);
}

/* Legacy blog card compat */
.badge-cat {
  font-size: 11px;
  color: var(--text-muted);
}

.badge-dot-sep,
.badge-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   16. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: var(--space-10) 0;
  background: var(--bg-page);
}

.faq-header-block {
  text-align: center;
  margin-bottom: var(--space-16);
}

.faq-main-title {
  font-size: clamp(20px, 2.8vw, 25px);
  margin: 0;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-border);
  margin-bottom: var(--space-2);
  background: var(--bg-elevated);
}

.faq-question {
  width: 100%;
  padding: 18px var(--space-6);
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: inherit;
  transition: background-color var(--fast);
}

.faq-question:hover {
  background: var(--bg-page);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--normal);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  padding: 0 var(--space-6);
}

.faq-answer.open {
  max-height: 600px;
  padding-bottom: var(--space-5, 20px);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   17. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 40px 0;
  background: var(--text-primary);
}

.cta-banner-section .btn-primary {
  background: #FFFFFF;
  color: #171717;
  border-color: #FFFFFF;
}

.cta-banner-section .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.cta-banner-section .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-banner-section .btn-secondary:hover {
  background: #FFFFFF;
  color: #171717;
  border-color: #FFFFFF;
}

.cta-banner-inner {
  text-align: center;
}

.cta-banner-title {
  font-size: clamp(20px, 2.8vw, 25px);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -1.28px;
  margin: 0 0 var(--space-4);
}

.cta-banner-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 var(--space-8);
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-elevated);
  padding-top: var(--space-16);
  box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.08);
}

/* Kill all old footer decorations */
.footer-horizon-glow,
.footer-ambient-depth,
.footer-glow-radial,
.footer-grid-mesh,
.footer-divider-vert {
  display: none !important;
}

.footer-container {
  padding-bottom: 0;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 var(--space-5, 20px);
}

.footer-brand-link {
  text-decoration: none;
  display: inline-block;
}

.footer-brand-logo {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.footer-logo-bars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.footer-logo-bars .bar {
  width: 3px;
  border-radius: 2px;
  background: var(--text-primary);
  transform: skewX(-15deg);
}

.footer-logo-bars .bar-1 {
  height: 14px;
}

.footer-logo-bars .bar-2 {
  height: 20px;
}

.footer-logo-bars .bar-3 {
  height: 14px;
}

.footer-logo-text {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.footer-logo-text .logo-bold {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-logo-text .logo-light {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: var(--space-3) 0 var(--space-6);
}

.footer-social-cluster {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.footer-social-sphere {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-recessed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color var(--fast), color var(--fast);
}

.footer-social-sphere:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sphere-glare {
  display: none !important;
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-sub-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-block;
  padding: 3px 0;
  transition: color var(--fast);
}

.footer-sub-link:hover {
  color: var(--text-primary);
}

.footer-address-lines {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 var(--space-3);
}

.footer-address-gst {
  font-size: 12px;
  color: var(--text-muted);
}

.gst-label {
  font-weight: 500;
}

.footer-contact-link {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-3);
  transition: color var(--fast);
}

.footer-contact-link:hover {
  color: var(--text-primary);
}

.contact-icon-sphere {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-recessed);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-svg {
  width: 16px;
  height: 16px;
}

.contact-val {
  font-weight: 500;
}

.contact-text-group {}

.footer-mobile-contact-group {
  margin-top: var(--space-4);
}

/* Footer recent blog */
.footer-recent-blog-card {
  display: flex;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--fast);
}

.footer-recent-blog-card:hover {
  opacity: 0.8;
}

.blog-card-3d-frame {
  flex-shrink: 0;
}

.blog-thumb-glare {
  display: none !important;
}

.footer-blog-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.footer-blog-details {
  flex: 1;
}

.footer-blog-badge {
  display: flex;
  gap: var(--space-2);
  font-size: 11px;
  color: var(--text-muted);
  align-items: center;
}

.footer-blog-heading {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 4px 0 var(--space-2);
  line-height: 1.4;
}

.footer-blog-read-link {
  font-size: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.read-icon {
  width: 12px;
  height: 12px;
}

/* Footer subnav */
.footer-subnav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6) 0;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-subnav-left {
  display: flex;
  gap: var(--space-6);
  align-items: center;
  flex-wrap: wrap;
}

.footer-horizontal-nav {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.desktop-only-subnav {}

.footer-bottom-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5, 20px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.legal-link-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color var(--fast);
}

.legal-link-btn:hover {
  color: var(--text-secondary);
}

.legal-dot {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   19. MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.modal-overlay.open {
  display: flex;
}

.modal-window {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-10);
  width: 100%;
  max-width: 520px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.5px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 var(--space-6);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  background: transparent;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  border: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: box-shadow var(--fast);
}

.form-input:focus {
  box-shadow: 0 0 0 1px var(--accent-dark);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  height: 110px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

select.form-input {
  cursor: pointer;
}

.inquiry-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-response {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form-response.is-success {
  background: #ECFDF5;
  color: #065F46;
  box-shadow: 0 0 0 1px #A7F3D0;
}

.form-response.is-error {
  background: #FEF2F2;
  color: #991B1B;
  box-shadow: 0 0 0 1px #FECACA;
}

.field-error {
  color: #991B1B;
  font-size: 13px;
  margin-top: 8px;
}

.form-input[aria-invalid="true"] {
  box-shadow: 0 0 0 2px #991B1B;
}

.btn-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.selected-plan {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.inquiry-result {
  max-width: 720px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.inquiry-result p,
.inquiry-result ul {
  margin: 24px 0;
}

.inquiry-result a {
  display: inline-block;
  margin: 8px 16px 8px 0;
}

.search-results {
  padding: 0 20px 16px;
  max-height: 45vh;
  overflow-y: auto;
  font-size: 14px;
}

.search-results:empty {
  display: none;
}

.search-results a {
  display: block;
  padding: 10px 8px;
  border-radius: 6px;
}

.search-results a:hover {
  background: var(--bg-hover);
}

.service-modal-content ul,
#legalModalContent ul,
.inquiry-result ul {
  list-style: disc;
  padding-left: 20px;
}

.service-modal-content li {
  margin-bottom: 8px;
}

.mobile-nav-drawer:not(.open) {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   21. FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.floating-quick-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

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

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    display: none;
  }

  .hero-service-strip {
    margin-top: 40px;
  }
  .hero-strip-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .hss-item:nth-child(3) { border-right: none; }
  .hss-item:nth-child(4),
  .hss-item:nth-child(5),
  .hss-item:nth-child(6) {
    border-top: 1px solid rgba(0,0,0,0.06);
  }

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

@media (max-width: 768px) {
  body {
    padding-top: var(--header-h);
  }

  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-nav-cta {
    display: none;
  }

  .hero-section {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 40px;
  }

  .hero-title-dark,
  .hero-title-blue {
    font-size: 25px;
    letter-spacing: -1px;
  }

  .hero-service-strip {
    margin-top: 32px;
  }
  .hero-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hss-item:nth-child(even) { border-right: none; }
  .hss-item:not(:nth-child(1)):not(:nth-child(2)) {
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  /* about-section responsive handled inline above */

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

  .projects-header-grid {
    grid-template-columns: 1fr;
  }

  .project-grid-wrapper {
    grid-template-columns: 1fr;
  }

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

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid-3col {
    grid-template-columns: 1fr;
  }

  .grid-2col {
    grid-template-columns: 1fr;
  }

  .grid-3col {
    grid-template-columns: 1fr;
  }

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

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-subnav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .desktop-only-subnav .footer-subnav-left {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-sm {
    padding: var(--space-8) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --page-margin: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .pricing-grid-1x4 {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .hero-cta-wrapper {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-wrapper .btn-primary,
  .hero-cta-wrapper .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats-dock .stats-card {
    display: flex;
    flex-direction: column;
  }

  .grid-4col {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section {
    padding: var(--space-10) 0;
  }
}