/* ==========================================================
   Vara Digital Media – components.css
   All UI component styles
   ========================================================== */

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), border-color var(--transition-base), padding var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary);
}

.navbar__logo-icon {
  width: 32px;
  height: 32px;
  mix-blend-mode: lighten;
  filter: brightness(1.2);
  flex-shrink: 0;
}

.navbar__logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.navbar__nav {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.navbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-secondary);
  text-decoration: none;
  position: relative;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  display: block;
}

.navbar__nav a:hover {
  color: var(--color-primary);
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.navbar__nav a:hover::after,
.navbar__nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__nav a[aria-current="page"] {
  color: var(--color-primary);
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: var(--bg);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--color-primary);
}

.navbar__cta:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
  letter-spacing: 0.08em;
}

.lang-switch__btn {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1;
}

.lang-switch__btn:hover {
  color: var(--color-primary);
}

.lang-switch__btn.active {
  color: #ffffff;
  font-weight: 700;
}

.lang-switch__divider {
  color: var(--border-strong);
  user-select: none;
  font-size: 10px;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  color: var(--color-primary);
}

.navbar__hamburger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar__hamburger span:nth-child(1) { width: 24px; }
.navbar__hamburger span:nth-child(2) { width: 16px; }
.navbar__hamburger span:nth-child(3) { width: 20px; }

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  width: 24px;
}
.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 24px;
}


/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px var(--container-pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.mobile-menu__nav li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open .mobile-menu__nav li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu__nav li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu__nav li:nth-child(4) { transition-delay: 0.26s; }

.mobile-menu__nav a {
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  text-decoration: none;
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.1;
  transition: color 0.2s ease;
}

.mobile-menu__nav a:hover {
  color: var(--color-secondary);
}

.mobile-menu__cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.32s, transform 0.4s ease 0.32s;
}

.mobile-menu.open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--bg);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

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


/* ===== SECTION HEADINGS ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-muted);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-secondary);
  max-width: 560px;
  line-height: 1.65;
}


/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-top: 120px;
  padding-bottom: 120px;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-muted);
  margin-bottom: 36px;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__headline {
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.93;
  color: var(--color-primary);
  margin-bottom: 28px;
}

/* Word-by-word reveal – word wrapper clips content */
.hero__headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

/* word-inner starts hidden below, slides up */
.hero__headline .word-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.85s var(--ease-out-expo);
}

/* JS adds class 'revealed' to #hero-headline */
.hero__headline.revealed .word-inner {
  transform: translateY(0);
}

/* Stagger words via JS-set transition-delay */

/* Elements that fade up after headline */
.hero__tagline,
.hero__description,
.hero__actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

/* JS adds class 'revealed' to each element */
.hero__tagline.revealed,
.hero__description.revealed,
.hero__actions.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__tagline {
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero__description {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--color-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Background effects */
.hero__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Mouse-driven spotlight: JS sets --mouse-x, --mouse-y on this element */
.hero__spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px circle at var(--mouse-x, 50%) var(--mouse-y, 40%),
    rgba(255, 255, 255, 0.04),
    transparent 60%
  );
  pointer-events: none;
  z-index: 1;
  transition: background 0.1s ease;
}


/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: opacity 0.4s ease;
  z-index: 3;
  user-select: none;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--color-muted), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
}

.service-card {
  background: var(--bg-card);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--transition-base);
}

.service-card:hover {
  background: var(--bg-card-hover);
}

/* Mouse-position spotlight: JS sets --cx, --cy */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--cx, 50%) var(--cy, 50%),
    rgba(255, 255, 255, 0.05),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

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

.service-card__number {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.service-card__icon {
  margin-bottom: 20px;
  width: 36px;
  height: 36px;
  color: var(--color-secondary);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

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

.service-card__title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.service-card__description {
  font-size: 15px;
  color: var(--color-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  flex-grow: 1;
  max-width: 340px;
}

.service-card__arrow {
  position: absolute;
  bottom: clamp(24px, 3vw, 36px);
  right: clamp(24px, 3vw, 36px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: all 0.3s var(--ease-out-expo);
  z-index: 2;
}

.service-card:hover .service-card__arrow {
  transform: translate(3px, -3px);
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--bg);
}


/* ===== STATEMENT ===== */
.statement {
  position: relative;
  z-index: 2;
}

.statement__inner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(80px, 10vw, 160px);
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}

.statement__text {
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.statement__subtext {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-secondary);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Word reveal: each .reveal-word clips its .reveal-word-inner */
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.22em;
}

.reveal-word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.75s var(--ease-out-expo);
}

/* JS adds class 'revealed' to each .reveal-word when in view */
.reveal-word.revealed .reveal-word-inner {
  transform: translateY(0);
}


/* ===== PROJECTS ===== */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
}

.project-card {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.project-card__visual {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.project-card__visual-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .project-card__visual-inner {
  transform: scale(1.03);
}

.project-visual-vdm {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #080808 100%);
  width: 100%;
  height: 100%;
}

.project-visual-vdm svg {
  max-width: 100%;
  max-height: 100%;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__overlay-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out-expo) 0.05s, opacity 0.35s ease 0.05s;
}

.project-card:hover .project-card__overlay-text {
  transform: translateY(0);
  opacity: 1;
}

.project-card__body {
  padding: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--border);
}

.project-card__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.project-card__tag {
  padding: 3px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.project-card__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.project-card__description {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.65;
}


/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
  margin-top: 0;
}

.about__text-col {
  display: flex;
  flex-direction: column;
}

.about__headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.about__body {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--color-secondary);
  line-height: 1.75;
}

.about__visual-col {
  width: 100%;
}

/* Tech Diagram – vertical stack of nodes with connectors */
.tech-diagram {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}

.tech-diagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

/* Nodes stacked vertically */
.tech-diagram__nodes {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.tech-node {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.tech-node.active {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.04);
}

/* Connector line between nodes */
.tech-connector {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--border-strong), transparent);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tech-connector::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  animation: flow-down 2s ease-in-out infinite;
}


/* ===== PROCESS ===== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
}

.process-step {
  background: var(--bg-card);
  padding: clamp(28px, 4vw, 48px);
  transition: background var(--transition-base);
}

.process-step:hover {
  background: var(--bg-card-hover);
}

.process-step__num {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  margin-bottom: 32px;
  display: block;
}

.process-step__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}

.process-step__desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}


/* ===== CONTACT FORM =====
   HTML uses: .contact-form, .form-grid, .form-group, .form-label,
   .form-input, .form-select, .form-textarea, .form-checkbox,
   .form-submit, .form-error, .form-message
   ============================= */
.contact__header {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.contact__headline {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.contact__subtext {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-secondary);
  line-height: 1.6;
}

.contact-form {
  max-width: 640px;
  width: 100%;
}

/* Two-column grid for paired fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-muted);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--color-primary);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Custom select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
  color: var(--color-muted);
}

.form-select option {
  background: #1c1c1c;
  color: var(--color-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Inline field error text */
.form-error {
  font-size: 12px;
  color: #ef4444;
  display: none;
  margin-top: 2px;
}

.form-error.visible {
  display: block;
}

/* Privacy checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  cursor: pointer;
  margin-top: 4px;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  cursor: pointer;
  border-radius: 3px;
}

.form-checkbox span {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.55;
}

.form-checkbox span a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.form-checkbox span a:hover {
  color: var(--color-primary);
}

/* Submit button */
.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-primary);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.form-submit:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.08);
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Form status messages */
.form-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* JS sets class 'error-msg' (not 'error') to avoid collision with input .error */
.form-message.error-msg {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.form-message-title {
  font-weight: 600;
  margin-bottom: 4px;
}


/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  z-index: 2;
}

.cta-section__inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 80px);
  text-align: center;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section__text {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--color-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}


/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: clamp(48px, 8vw, 80px) 0 clamp(28px, 4vw, 40px);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
  margin-bottom: 28px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: var(--color-primary);
}

.footer__logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.2);
  flex-shrink: 0;
}

.footer__logo-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Footer 5-column links grid */
.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.footer__links-col {
  display: flex;
  flex-direction: column;
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  font-family: monospace;
  color: var(--color-muted);
}

.footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2.5s infinite;
}

.footer__links-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.footer__links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links-list a {
  font-size: 14px;
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__links-list a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 13px;
  color: var(--color-muted);
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 12px;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--color-secondary);
}


/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-top: 140px;
  padding-bottom: var(--section-gap);
  z-index: 2;
  position: relative;
}

.legal-page__header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-page__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.05;
}

.legal-page__meta {
  font-size: 13px;
  color: var(--color-muted);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 32px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 15px;
  color: var(--color-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--color-secondary);
  font-size: 15px;
  line-height: 1.75;
}

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

.legal-content .placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
  display: block;
  margin-bottom: 12px;
}


/* ===== ERROR PAGES ===== */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: var(--container-pad);
}

.error-page__code {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
  user-select: none;
}

.error-page__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.error-page__text {
  font-size: 16px;
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 400px;
  line-height: 1.6;
}


/* ===== SCROLL REVEAL UTILITIES ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.45s; }

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}

.stagger-item.animated {
  opacity: 1;
  transform: none;
}


/* ===== HERO SHOWCASE (2026 3D MOCKUP) ===== */
.hero__showcase {
  margin-top: clamp(48px, 6vw, 72px);
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  perspective: 1400px;
}

.hero__showcase-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero__showcase-frame {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: #0d0d0d;
  box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: rotateX(6deg) translateY(0);
  transition: transform 0.8s var(--ease-out-expo), box-shadow 0.8s var(--ease-out-expo), border-color 0.4s ease;
}

.hero__showcase:hover .hero__showcase-frame {
  transform: rotateX(0deg) translateY(-8px);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero__showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #141414;
  border-bottom: 1px solid var(--border);
}

.hero__showcase-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.hero__showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hero__showcase-dot:nth-child(1) { background: #ff5f56; opacity: 0.85; }
.hero__showcase-dot:nth-child(2) { background: #ffbd2e; opacity: 0.85; }
.hero__showcase-dot:nth-child(3) { background: #27c93f; opacity: 0.85; }

.hero__showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-family: monospace;
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.hero__showcase-status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.hero__showcase-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #090909;
  overflow: hidden;
}

.hero__showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ===== PROJECT IMAGE & BADGE ENHANCEMENTS ===== */
.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.project-card:hover .project-card__img {
  transform: scale(1.04);
}

.project-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.project-card__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}


/* ===== BENTO GRID ARCHITECTURE & SECURITY ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 40px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.bento-card--span-2 {
  grid-column: span 2;
}

.bento-card--span-3 {
  grid-column: span 3;
}

.bento-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.bento-card__badge svg {
  width: 14px;
  height: 14px;
}

.bento-card__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.15;
}

.bento-card__text {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.bento-card__visual {
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #090909;
  overflow: hidden;
}

.bento-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.bento-stat__value {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.bento-stat__label {
  font-size: 12px;
  color: var(--color-muted);
}


/* ===== INTERACTIVE TERMINAL COMPONENT ===== */
.terminal-block {
  background: #090909;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #111111;
  border-bottom: 1px solid var(--border);
}

.terminal-title {
  font-size: 12px;
  color: var(--color-muted);
}

.terminal-copy-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--color-secondary);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.terminal-copy-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.terminal-body {
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  color: #d4d4d8;
}

.terminal-body .code-comment { color: #52525b; }
.terminal-body .code-cmd { color: #38bdf8; }
.terminal-body .code-flag { color: #a78bfa; }
.terminal-body .code-str { color: #4ade80; }
.terminal-body .code-keyword { color: #f472b6; }


/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-card);
  transition: background var(--transition-base);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 28px) clamp(24px, 3.5vw, 36px);
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-family: inherit;
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--color-secondary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform 0.35s var(--ease-out-expo), color 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.3s ease;
  padding: 0 clamp(24px, 3.5vw, 36px);
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: clamp(20px, 3vw, 28px);
}

.faq-text {
  font-size: 15px;
  color: var(--color-secondary);
  line-height: 1.7;
}


/* Responsive Bento Grid */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--span-2,
  .bento-card--span-3 {
    grid-column: span 1;
  }
}

/* ===== SCROLL PROGRESS & BACK TO TOP ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #a1a1aa);
  width: 0%;
  z-index: 10001;
  pointer-events: none;
  transition: width 0.08s linear;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease-out-expo);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: var(--bg);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ===== HERO EXPANSION ELEMENTS ===== */
.hero__subline {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.hero__features-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero__feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.hero__feature-tag:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.04);
}

.hero__feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-muted);
  transition: background 0.2s ease;
}

.hero__feature-tag:hover .hero__feature-dot {
  background: #22c55e;
}

/* ===== TRUST / COMPANY INTRO PILLARS ===== */
.intro-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.intro-pillar {
  background: var(--bg-card);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  transition: background var(--transition-base);
}

.intro-pillar:hover {
  background: var(--bg-card-hover);
}

.intro-pillar__num {
  font-size: 11px;
  font-weight: 600;
  font-family: monospace;
  color: var(--color-muted);
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}

.intro-pillar__title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.intro-pillar__text {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.65;
}

/* ===== SERVICE DETAIL CHECKLIST ===== */
.service-sublist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-sublist li {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

/* ===== SERVICE WORKFLOW ===== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.workflow-step {
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--transition-base);
}

.workflow-step:hover {
  background: var(--bg-card-hover);
}

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

.workflow-step__num {
  font-size: 11px;
  font-family: monospace;
  font-weight: 600;
  color: var(--color-muted);
}

.workflow-step__arrow {
  color: var(--color-muted);
}

.workflow-step__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.workflow-step__desc {
  font-size: 13px;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ===== TECHNOLOGY STACK GRID ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.tech-card {
  background: var(--bg-card);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  transition: background var(--transition-base), border-color 0.2s ease;
}

.tech-card:hover {
  background: var(--bg-card-hover);
}

.tech-card__badge {
  font-size: 11px;
  font-family: monospace;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.tech-card__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.tech-card__desc {
  font-size: 13px;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ===== WHY VARA GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.why-card {
  background: var(--bg-card);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  transition: background var(--transition-base);
}

.why-card:hover {
  background: var(--bg-card-hover);
}

.why-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.why-card__title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.why-card__desc {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.65;
}

/* ===== PROJECT FILTER BAR ===== */
.project-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 40px;
}

.project-filter-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--color-secondary);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.project-filter-btn:hover {
  color: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.3);
}

.project-filter-btn.active {
  background: var(--color-primary);
  color: var(--bg);
  border-color: var(--color-primary);
}

.project-card.is-hidden {
  display: none !important;
}

/* ===== CASE STUDY ACCORDION INSIDE CARD ===== */
.project-case-study {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-study-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  font-size: 12px;
  margin-top: 12px;
}

.case-study-item dt {
  color: var(--color-muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.case-study-item dd {
  color: var(--color-secondary);
  font-weight: 500;
}

/* ===== INFRASTRUCTURE 6-PILLAR GRID ===== */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}

.infra-card {
  background: var(--bg-card);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  transition: background var(--transition-base);
}

.infra-card:hover {
  background: var(--bg-card-hover);
}

.infra-card__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.infra-card__desc {
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 1.65;
}

/* ===== SECURITY & PERFORMANCE GRIDS ===== */
.feature-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.feature-check-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-check-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.feature-check-text {
  font-size: 13px;
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ===== SUBTLE SECTION CTA ===== */
.subtle-cta {
  padding-block: clamp(48px, 6vw, 72px);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-block: clamp(60px, 8vw, 100px);
}

.subtle-cta__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.subtle-cta__text {
  font-size: 15px;
  color: var(--color-secondary);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .intro-pillars,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .intro-pillars,
  .why-grid,
  .workflow-grid,
  .infra-grid,
  .feature-checklist {
    grid-template-columns: 1fr;
  }
  .footer__links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Breadcrumb Navigation (SEO & UX)
   ========================================================================== */
.breadcrumbs {
  margin-bottom: 24px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs__link {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

.breadcrumbs__sep {
  color: var(--border-strong);
  user-select: none;
}

.breadcrumbs__current {
  color: var(--color-secondary);
  font-weight: 500;
}



