/* ─── Root Variables ──────────────────────────────── */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --ink: rgba(255, 255, 255, 0.88);
  --ink-secondary: rgba(255, 255, 255, 0.62);
  --ink-tertiary: rgba(255, 255, 255, 0.40);
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.08);
  --accent-border: rgba(255, 255, 255, 0.12);
  --gradient-1: #6366f1;
  --gradient-2: #a855f7;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.92;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* ─── Navigation ──────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 60px);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 28px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.brand__name {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

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

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav .nav__cta {
  background: #fff;
  color: #000;
  font-weight: 500;
  border-radius: 8px;
  margin-left: 8px;
}

.nav .nav__cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 300vh; /* tall for scroll-scrubbing */
  width: 100%;
}

.hero__video-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.15) 40%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.hero__content {
  position: absolute;
  bottom: 15vh;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity;
  padding: 0 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--primary {
  background: #fff;
  color: #000;
}

.btn--primary:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ─── Feature Sections ────────────────────────────── */
.feature-section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

#layout-gen {
  overflow: hidden;
}

#layout-gen::after {
  content: "";
  position: absolute;
  top: clamp(48px, 8vw, 110px);
  bottom: clamp(48px, 8vw, 110px);
  right: max(0px, calc((100vw - min(1350px, 90vw)) / 2));
  width: min(46vw, 680px);
  background: url("media/section-1-ipad-desktop.png") right center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

#layout-gen .container {
  position: relative;
  z-index: 1;
}

.feature-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.feature-section:first-of-type::before {
  display: none;
}

.feature__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-tertiary);
  margin-bottom: 20px;
}

.feature__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-1);
}

.feature__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.028em;
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
}

.feature__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--ink-secondary);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature__desc + .feature__desc {
  margin-bottom: 40px;
}

.feature__detail {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.56);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.feature__detail + .feature__detail {
  margin-bottom: 34px;
}

.feature__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--ink-secondary);
  font-weight: 400;
}

.feature__tag-icon {
  font-size: 16px;
  opacity: 0.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.feature-grid--layout-gen {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  align-items: stretch;
}

.feature-grid--layout-gen > .reveal:first-child {
  max-width: 700px;
}

.layout-gen__spacer {
  min-height: clamp(300px, 34vw, 520px);
}

.feature-grid--reverse {
  direction: rtl;
}

.feature-grid--reverse > * {
  direction: ltr;
}

.feature__visual {
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature__visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
}

.feature__visual-icon {
  font-size: 48px;
  opacity: 0.6;
}

.feature__visual-label {
  font-size: 14px;
  color: var(--ink-tertiary);
  font-weight: 400;
}

.feature__visual--floorplan {
  background:
    linear-gradient(
      to bottom,
      rgba(8, 10, 14, 0.12) 0%,
      rgba(8, 10, 14, 0.38) 100%
    ),
    url("media/floor-plan-drawing.png") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature__visual--floorplan .feature__visual-inner {
  width: 100%;
  margin-top: auto;
  align-items: flex-start;
  text-align: left;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(8, 10, 14, 0.72) 0%,
    rgba(8, 10, 14, 0) 100%
  );
}

.feature__visual--floorplan .feature__visual-icon {
  display: none;
}

.feature__visual--floorplan .feature__visual-label {
  color: rgba(255, 255, 255, 0.88);
}

/* ─── Section 4: Rack Builder Scroll Video ───────── */
.rack-video-section {
  position: relative;
  padding: 0;
  height: 260vh;
  width: 100%;
}

.rack-video-section::before {
  display: none;
}

.rack-video-section__video-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.rack-video-section__video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rack-video-section__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rack-video-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 10, 14, 0.6) 0%,
    rgba(8, 10, 14, 0.44) 34%,
    rgba(8, 10, 14, 0.88) 100%
  );
  opacity: 0.75;
  pointer-events: none;
  will-change: opacity;
}

.rack-video-section__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11vh;
  z-index: 2;
  padding: 0 20px;
}

.rack-video-section__content-inner {
  max-width: 700px;
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity;
}

/* ─── Section 2: AI Agent Command Center ─────────── */
.ai-agent-section {
  padding-top: clamp(90px, 14vw, 170px);
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 14, 0.62) 0%,
      rgba(8, 10, 14, 0.56) 50%,
      rgba(8, 10, 14, 0.62) 100%
    ),
    url("media/warehouse-background.png") center / cover no-repeat;
}

.ai-agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.ai-agent-shell {
  margin-top: 0;
  border-radius: 0;
  border: 1px solid #3f3f46;
  background: #252526;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.ai-agent-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid #3f3f46;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0e0e0;
  background: #2d2d30;
}

.ai-agent-shell__header-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ai-agent-shell__header-icon {
  width: 16px;
  height: 16px;
  border: 1px solid #00bfff;
  color: #00bfff;
  background: rgba(0, 191, 255, 0.1);
  font-size: 10px;
  display: inline-grid;
  place-items: center;
}

.ai-agent-shell__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px;
  border-radius: 0;
  border: 1px solid #3f3f46;
  background: #252526;
  color: #9e9e9e;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  white-space: nowrap;
}

.ai-agent-shell__status.is-busy {
  border-color: rgba(0, 191, 255, 0.45);
  background: rgba(0, 191, 255, 0.08);
  color: #00bfff;
}

.ai-agent-shell__header-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-agent-shell__toggle {
  width: 24px;
  height: 24px;
  border: 1px solid #3f3f46;
  border-radius: 0;
  background: #252526;
  color: #6e6e6e;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.ai-agent-shell__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: #00bfff;
}

.ai-agent-shell__body {
  padding: 12px;
  background: #252526;
}

.ai-thread {
  border-radius: 0;
  border: 1px solid #3f3f46;
  background: #1a1a1a;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-thread__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 280px;
  overflow-y: auto;
  padding-right: 2px;
  overflow-anchor: none;
}

.ai-thread__messages::-webkit-scrollbar {
  width: 4px;
}

.ai-thread__messages::-webkit-scrollbar-track {
  background: transparent;
}

.ai-thread__messages::-webkit-scrollbar-thumb {
  background: #3f3f46;
}

.ai-thread__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ai-thread__row--user {
  flex-direction: row-reverse;
}

.ai-thread__avatar {
  width: 24px;
  height: 24px;
  border-radius: 0;
  border: 1px solid #3f3f46;
  background: #2d2d30;
  color: #9e9e9e;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}

.ai-thread__row--user .ai-thread__avatar {
  background: #007acc;
  border-color: #007acc;
  color: #fff;
}

.ai-thread__message {
  border-radius: 0;
  padding: 10px 11px;
  border: 1px solid #2a2a2e;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: #e0e0e0;
  background: #2d2d30;
  flex: 1;
  min-width: 0;
}

.ai-thread__row--user .ai-thread__message {
  background: #007acc;
  border-color: #007acc;
  color: #fff;
}

.ai-thread__role {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9e9e9e;
  margin-bottom: 6px;
}

.ai-thread__row--user .ai-thread__role {
  color: rgba(255, 255, 255, 0.82);
}

.ai-thread__message p {
  font-size: 12px;
  line-height: 1.55;
  color: inherit;
}

.ai-thread__typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.ai-thread__typing-dots span {
  width: 5px;
  height: 5px;
  background: #00bfff;
  display: inline-block;
  animation: aiDotPulse 1.1s ease-in-out infinite;
}

.ai-thread__typing-dots span:nth-child(2) {
  animation-delay: 0.14s;
}

.ai-thread__typing-dots span:nth-child(3) {
  animation-delay: 0.28s;
}

.ai-thread__composer {
  margin-top: 4px;
  border-top: 1px solid #3f3f46;
  padding-top: 8px;
  display: grid;
  gap: 8px;
}

.ai-thread__composer-input {
  height: 36px;
  border: 1px solid #3f3f46;
  background: #1a1a1a;
  color: #6e6e6e;
  border-radius: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-thread__composer-input.is-typing {
  color: #e0e0e0;
  border-color: rgba(0, 191, 255, 0.45);
}

.ai-thread__composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.ai-thread__composer-chip {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #3f3f46;
  background: #2d2d30;
  color: #9e9e9e;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.ai-thread__composer-chip--send {
  border-color: #00bfff;
  background: #00bfff;
  color: #fff;
}

.ai-thread__composer-chip--send.is-ready {
  border-color: #00bfff;
  background: rgba(0, 191, 255, 0.18);
  color: #00bfff;
}

.ai-thread__composer-chip--send.is-sent {
  border-color: #007acc;
  background: #007acc;
  color: #fff;
}

.ai-agent-shell__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}

.ai-agent-shell__footer .feature__tag {
  padding: 8px 10px;
  border-radius: 0;
  border: 1px solid #3f3f46;
  background: #2d2d30;
  color: #9e9e9e;
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

@keyframes aiDotPulse {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* ─── Services Slider Section ───────────────────────── */
.services-slider-section {
  padding: clamp(80px, 12vw, 150px) 0;
  position: relative;
}

.services-slider-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.services-slider__header {
  max-width: 760px;
  margin-bottom: 48px;
}

.services-slider {
  position: relative;
}

.services-slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.services-slider__track::-webkit-scrollbar {
  display: none;
}

/* ── Service Card ── */
.service-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  min-height: 260px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease;
  will-change: transform;
}

.service-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    0 24px 48px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 60px -20px rgba(99, 102, 241, 0.08);
}

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

.service-card:hover .service-card__icon {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.service-card__index {
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.4s ease;
}

.service-card:hover .service-card__index {
  color: rgba(255, 255, 255, 0.5);
}

.service-card h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  transition: color 0.4s ease;
}

.service-card:hover h3 {
  color: #fff;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14.5px;
  line-height: 1.7;
  transition: color 0.4s ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.64);
}

/* ── Slider Controls ── */
.services-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
}

.services-slider__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.services-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  padding: 0;
  transition:
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease;
}

.services-slider__dot:hover {
  background: rgba(255, 255, 255, 0.32);
}

.services-slider__dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
}

.services-slider__arrows {
  display: flex;
  gap: 6px;
}

.services-slider__arrow {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-slider__arrow:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: scale(1.05);
}

.services-slider__arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.services-slider__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* ─── CTA Section ─────────────────────────────────── */
.cta-section {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
}

.cta-section__inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--ink-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ─── Footer ──────────────────────────────────────── */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer span {
  font-size: 13px;
  color: var(--ink-tertiary);
  font-weight: 300;
}

/* ─── Scroll Reveal Animation ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 860px) {
  .nav { display: none; }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-grid--reverse {
    direction: ltr;
  }
  .feature__visual {
    order: -1;
  }
  #layout-gen::after {
    display: none;
  }
  .feature-grid--layout-gen {
    grid-template-columns: 1fr;
  }
  .layout-gen__spacer {
    display: none;
  }

  .rack-video-section {
    height: 220vh;
  }

  .rack-video-section__content {
    bottom: 9vh;
  }

  .rack-video-section__content-inner {
    max-width: 100%;
  }

  .ai-agent-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ai-agent-shell__header {
    height: auto;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .ai-agent-shell__header-right {
    width: 100%;
    justify-content: space-between;
  }

  .ai-agent-shell__body {
    padding: 10px;
  }

  .ai-thread__messages {
    height: 220px;
  }

  .ai-agent-shell__footer {
    padding: 0 10px 10px;
  }

  .services-slider__track {
    gap: 14px;
  }

  .service-card {
    flex: 0 0 82vw;
    min-width: unset;
  }

  .services-slider__controls {
    gap: 20px;
    margin-top: 28px;
  }

  .services-slider__arrows {
    display: none;
  }
}
