/* ============================================
   ZIFFI — DEVELOPER PAGE STYLES
   Kokonutd bento-grid design system
   ============================================ */

/* ============================================
   DARK THEME — Pure black base
   ============================================ */

body.dark-theme {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    #000000;
  background-size: 48px 48px, 48px 48px, auto;
  background-attachment: fixed;
  color: #F3F4F6;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ============================================
   BACKGROUND GRID + CURSOR SPOTLIGHT
   ============================================ */

.bg-grid-overlay {
  display: none;
}

.bg-grid-cursor {
  position: fixed;
  width: 600px;
  height: 600px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 68, 245, 0.15) 0%, rgba(139, 92, 246, 0.06) 30%, transparent 55%);
  will-change: transform;
  left: 0;
  top: 0;
}

/* Nav overrides */
.dark-theme .nav-container .nav-logo { color: #F3F4F6; }
.dark-theme .nav-links a { color: #9CA3AF; }
.dark-theme .nav-links a:hover,
.dark-theme .nav-links a.nav-active { color: #F3F4F6; }
.dark-theme .dropdown-menu { background: #111111; border-color: rgba(255,255,255,0.1); }
.dark-theme .dropdown-item:hover { background: rgba(255,255,255,0.05); }
.dark-theme .dropdown-title { color: #F3F4F6; }
.dark-theme .dropdown-desc { color: #6B7280; }
.dark-theme .mobile-menu { background: #000000; }
.dark-theme .mobile-menu a { color: #9CA3AF; }

/* Footer */
.dev-footer { background: #000000; border-top: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 1; }
.dev-footer .footer-logo { color: #F3F4F6; }
.dev-footer .footer-tagline { color: #6B7280; }
.dev-footer .footer-links a { color: #6B7280; }
.dev-footer .footer-links a:hover { color: #9CA3AF; }
.dev-footer .footer-links span { color: rgba(255,255,255,0.1); }
.dev-footer .footer-bottom p { color: #4B5563; }

/* ============================================
   NAV ACTIVE STATE
   ============================================ */

.nav-active {
  color: #F3F4F6 !important;
}

/* ============================================
   DEVELOPER HERO
   ============================================ */

.dev-hero {
  padding: 36px 0 40px;
  position: relative;
  z-index: 1;
  /* Removed overflow: hidden to allow the huge gorgeous agent graph to completely render without slicing */
}

.dev-hero::before {
  content: '';
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-60%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99,68,245,0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.dev-hero > .container {
  max-width: 1400px;
}

.dev-hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 850px; /* Forces enough vertical space to contain the massive agent graph height natively */
}

.dev-hero-content {
  flex: 0 0 42%;
  position: relative;
  z-index: 2;
}

.dev-hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 750px;
  transform: translateX(50px) translateY(-40px); /* Push graph right and up */
}

@media (max-width: 960px) {
  .dev-hero-split {
    flex-direction: column;
    text-align: center;
  }
  .dev-hero-content {
    flex: 0 0 100%;
    max-width: 760px;
    margin: 0 auto;
  }
  .dev-hero-right {
    width: 100%;
    margin-top: 40px;
  }
}

.dev-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #D1D5DB;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  backdrop-filter: blur(4px);
}

.dev-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8B5CF6;
  animation: devPulse 2s ease-in-out infinite;
}

@keyframes devPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.dev-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #e8e0ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-highlight {
  color: #6B7280;
}

.dev-hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: #8D8D99;
  margin-bottom: 44px;
  max-width: 500px;
  letter-spacing: -0.01em;
}

.dev-sub-accent {
  font-weight: 500;
  color: #C4B5FD;
  -webkit-text-fill-color: #C4B5FD;
}

.dev-hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dev-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  color: #F3F4F6;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.dev-btn-primary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(255,255,255,0.03);
}

.dev-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  color: #9CA3AF;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dev-btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  color: #F3F4F6;
}

/* ============================================
   WHY ZIFFI — Feature Steps
   ============================================ */

.dev-why {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.dev-why-header {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.dev-why-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  margin-bottom: 20px;
}

.dev-why-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #F3F4F6;
}

/* Feature Steps container */
.dev-features {
  display: flex;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Left: Step items */
.dev-features-steps {
  flex: 0 0 360px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dev-step {
  display: flex;
  gap: 16px;
  padding: 20px 20px;
  cursor: pointer;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.4s ease, background 0.3s ease;
  border-radius: 12px;
}

.dev-step:hover {
  opacity: 0.75;
}

.dev-step--active {
  opacity: 1;
  background: rgba(255,255,255,0.05);
}

.dev-step--active:hover {
  opacity: 1;
}

/* Step indicator */
.dev-step-indicator {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.dev-step-num {
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0.04em;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s ease;
}

.dev-step--active .dev-step-num {
  color: #F3F4F6;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Step content */
.dev-step-content {
  flex: 1;
  min-width: 0;
}

.dev-step-title {
  font-size: 15px;
  font-weight: 500;
  color: #D1D5DB;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.dev-step--active .dev-step-title {
  color: #F3F4F6;
}

.dev-step-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #9CA3AF;
  font-weight: 400;
  margin-bottom: 0;
  display: none;
}

.dev-step--active .dev-step-desc {
  display: block;
}

/* Progress bar */
.dev-step-progress {
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  margin-top: 12px;
  overflow: hidden;
  display: none;
}

.dev-step--active .dev-step-progress {
  display: block;
}

.dev-step-progress-fill {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.45);
  border-radius: 1px;
  transition: none;
}

.dev-step--active .dev-step-progress-fill {
  animation: stepProgress 8s linear forwards;
}

@keyframes stepProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Right: Animation box */
.dev-features-animation {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.dev-anim-box {
  width: 100%;
  min-height: 340px;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 24px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(139,92,246,0.08),
    0 0 120px rgba(139,92,246,0.04);
  z-index: 2;
  animation: animBoxGlow 4s ease-in-out infinite;
}

@keyframes animBoxGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.05),
      0 24px 80px rgba(0,0,0,0.8),
      0 0 60px rgba(139,92,246,0.06),
      0 0 120px rgba(139,92,246,0.03);
    border-color: rgba(255,255,255,0.08);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.08),
      0 24px 80px rgba(0,0,0,0.8),
      0 0 80px rgba(139,92,246,0.14),
      0 0 160px rgba(139,92,246,0.06);
    border-color: rgba(139,92,246,0.2);
  }
}

/* Animated gradient border shimmer */
.dev-anim-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139,92,246,0.4) 30%, rgba(99,68,245,0.6) 50%, rgba(139,92,246,0.4) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: borderShimmer 3s ease-in-out infinite;
  z-index: 10;
}

.dev-anim-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139,92,246,0.15) 30%, rgba(99,68,245,0.25) 50%, rgba(139,92,246,0.15) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: borderShimmer 3s ease-in-out infinite reverse;
  z-index: 10;
}

@keyframes borderShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* All animation content above the grid and flare */
.dev-anim-box > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   INTEGRATION SECTION — Split Layout + 3D
   ============================================ */

.dev-integration {
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

/* Split layout: code left, text right */
.dev-integration-split {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 64px;
}

/* Left: 3D visual container */
.dev-integration-visual {
  flex: 0 0 48%;
  perspective: 1200px;
}

/* Right: text content */
.dev-integration-text {
  flex: 1;
}

.dev-integration-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #F3F4F6;
  margin-bottom: 16px;
}

.dev-integration-text > p {
  font-size: 15px;
  line-height: 1.65;
  color: #6B7280;
  font-weight: 425;
  margin-bottom: 36px;
}

/* Three pointers */
.dev-integration-pointers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dev-integration-pointers li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dev-pointer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  margin-top: 2px;
}

.dev-integration-pointers strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #F3F4F6;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.dev-integration-pointers span {
  font-size: 13px;
  line-height: 1.55;
  color: #6B7280;
  font-weight: 425;
}

/* Code Block — Solid black, 3D slanted, glowing */
.dev-code-block {
  position: relative;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  transform: rotateY(6deg) rotateX(2deg);
  transform-style: preserve-3d;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 32px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(99,68,245,0.08),
    0 0 120px rgba(99,68,245,0.04);
  animation: codeBlockGlow 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes codeBlockGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.05),
      0 32px 80px rgba(0,0,0,0.8),
      0 0 60px rgba(99,68,245,0.06),
      0 0 120px rgba(99,68,245,0.03);
    border-color: rgba(255,255,255,0.08);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.08),
      0 32px 80px rgba(0,0,0,0.8),
      0 0 80px rgba(99,68,245,0.15),
      0 0 160px rgba(99,68,245,0.06);
    border-color: rgba(99,68,245,0.2);
  }
}

.dev-code-block:hover {
  animation: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 32px 80px rgba(0,0,0,0.8),
    0 0 100px rgba(99,68,245,0.2),
    0 0 160px rgba(99,68,245,0.08);
  border-color: rgba(99,68,245,0.3);
  transform: rotateY(4deg) rotateX(1deg) scale(1.02);
}

/* Blinking cursor */
.dev-code-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #A78BFA;
  vertical-align: middle;
  margin-left: 2px;
  margin-bottom: -1px;
  animation: cursorBlink 1s step-end infinite;
}

/* Remove active class requirement, CSS animation handles blinking entirely */

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

.dev-code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dev-code-dots {
  display: flex;
  gap: 7px;
}

.dev-code-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.dev-code-filename {
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6B7280;
  flex: 1;
}

.dev-code-block pre {
  padding: 24px 24px 28px;
  overflow-x: auto;
  margin: 0;
  min-height: 180px;
}

.dev-code-block code {
  font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #F3F4F6;
  white-space: pre;
}

.code-comment { color: rgba(255,255,255,0.3); }
.code-keyword { color: #C4B5FD; }
.code-new { color: #7DD3FC; font-weight: 500; }

/* Integration Modes */
.dev-integration-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dev-mode {
  position: relative;
  background: rgba(8, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
  will-change: transform;
}

.dev-mode::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dev-mode:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 12px rgba(255,255,255,0.03);
}

.dev-mode:hover::before {
  opacity: 1;
}

.dev-mode-active {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(167, 139, 250, 0.2);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.03);
}

.dev-mode-active::before {
  opacity: 1;
}

.dev-mode-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  color: #D1D5DB;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.dev-mode:hover .dev-mode-badge {
  background: rgba(255,255,255,0.15);
}

.dev-mode-badge-soon {
  background: rgba(255,255,255,0.05);
  color: #6B7280;
}

.dev-mode h3 {
  font-size: 15px;
  font-weight: 500;
  color: #F3F4F6;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.dev-mode p {
  font-size: 13px;
  line-height: 1.6;
  color: #6B7280;
  font-weight: 425;
}

/* ============================================
   BENTO GRID — Kokonutd style
   ============================================ */

.dev-bento {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.dev-bento-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.dev-bento-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #F3F4F6;
  margin-bottom: 16px;
}

.dev-bento-header p {
  font-size: 15px;
  line-height: 1.65;
  color: #6B7280;
  font-weight: 425;
}

.dev-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.dev-team-card {
  /* Opaque enough to fully mask body grid lines */
  background: rgba(8, 6, 12, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  overflow: hidden;
  /* 3D tilt support */
  transform-style: preserve-3d;
  will-change: transform;
}

.dev-team-card:hover {
  background: rgba(14, 12, 20, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Cursor-tracking glow overlay — biased toward button at bottom */
.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  z-index: 0;
}
.dev-team-card:hover .card-glow {
  opacity: 1;
}

.dev-team-card:hover .team-heading-hr { color: #d862f0; }
.dev-team-card:hover .team-heading-it { color: #38bdf8; }
.dev-team-card:hover .team-heading-fin { color: #10b981; }

.dev-team-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.dev-team-card p {
  font-size: 15px;
  color: #A1A1AA;
  line-height: 1.65;
  margin-bottom: 32px;
  flex: 1;
}

/* ---- CTA Buttons — Prominent, glowing, pulsing ---- */
.dev-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #F3F4F6;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

/* Shimmer sweep — colored, more visible */
.dev-explore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: btnShimmer 3.5s ease-in-out infinite;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  40% { left: 150%; }
  100% { left: 150%; }
}

.dev-explore-btn span {
  position: relative;
  z-index: 1;
}

/* Always-on arrow nudge — grabs attention even when idle */
.dev-explore-btn svg {
  position: relative;
  z-index: 1;
  animation: arrowNudgeIdle 2s ease-in-out infinite;
}
@keyframes arrowNudgeIdle {
  0%, 100% { transform: translateX(0); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(2px); }
}

/* Cursor spotlight inside button */
.btn-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: 0;
}
.dev-explore-btn:hover .btn-spotlight {
  opacity: 1;
}

.dev-explore-btn:hover {
  transform: translateY(-2px);
}

.dev-explore-btn:hover svg {
  transform: translateX(6px);
}

/* On hover, arrow locks forward instead of nudging */
.dev-explore-btn:hover svg {
  animation: none;
  transform: translateX(6px);
}

/* HR button — purple */
.dev-explore-btn--hr {
  border-color: rgba(216, 98, 240, 0.35);
  background: rgba(216, 98, 240, 0.12);
  box-shadow: 0 0 24px rgba(216, 98, 240, 0.2), 0 0 80px rgba(216, 98, 240, 0.06);
  animation: pulseHR 2.5s ease-in-out infinite;
}
.dev-explore-btn--hr::before {
  background: linear-gradient(90deg, transparent, rgba(216, 98, 240, 0.15), transparent);
}
.dev-explore-btn--hr:hover {
  color: #fff;
  background: rgba(216, 98, 240, 0.22);
  border-color: rgba(216, 98, 240, 0.6);
  box-shadow: 0 4px 30px rgba(216, 98, 240, 0.4), 0 0 80px rgba(216, 98, 240, 0.15);
  animation: none;
}

/* IT button — blue */
.dev-explore-btn--it {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.2), 0 0 80px rgba(59, 130, 246, 0.06);
  animation: pulseIT 2.5s ease-in-out infinite;
  animation-delay: 0.8s;
}
.dev-explore-btn--it::before {
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}
.dev-explore-btn--it:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 4px 30px rgba(59, 130, 246, 0.4), 0 0 80px rgba(59, 130, 246, 0.15);
  animation: none;
}

/* Finance button — green */
.dev-explore-btn--fin {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.2), 0 0 80px rgba(16, 185, 129, 0.06);
  animation: pulseFin 2.5s ease-in-out infinite;
  animation-delay: 1.6s;
}
.dev-explore-btn--fin::before {
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), transparent);
}
.dev-explore-btn--fin:hover {
  color: #fff;
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 4px 30px rgba(16, 185, 129, 0.4), 0 0 80px rgba(16, 185, 129, 0.15);
  animation: none;
}

/* Breathing pulse — strong enough to see from a distance */
@keyframes pulseHR {
  0%, 100% {
    box-shadow: 0 0 20px rgba(216, 98, 240, 0.15), 0 0 60px rgba(216, 98, 240, 0.04);
    border-color: rgba(216, 98, 240, 0.25);
  }
  50% {
    box-shadow: 0 0 35px rgba(216, 98, 240, 0.35), 0 0 100px rgba(216, 98, 240, 0.1);
    border-color: rgba(216, 98, 240, 0.5);
  }
}

@keyframes pulseIT {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), 0 0 60px rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.25);
  }
  50% {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.35), 0 0 100px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
  }
}

@keyframes pulseFin {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15), 0 0 60px rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.25);
  }
  50% {
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.35), 0 0 100px rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
  }
}

@media (max-width: 900px) {
  .dev-team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.bento-card-icon--red { background: rgba(239,68,68,0.1); }

.bento-card:hover .bento-card-icon--blue { background: rgba(59,130,246,0.15); }
.bento-card:hover .bento-card-icon--emerald { background: rgba(16,185,129,0.15); }
.bento-card:hover .bento-card-icon--purple { background: rgba(139,92,246,0.15); }
.bento-card:hover .bento-card-icon--sky { background: rgba(14,165,233,0.15); }
.bento-card:hover .bento-card-icon--amber { background: rgba(245,158,11,0.15); }
.bento-card:hover .bento-card-icon--red { background: rgba(239,68,68,0.15); }

/* Status badge */
.bento-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  color: #D1D5DB;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.bento-card:hover .bento-card-badge {
  background: rgba(255,255,255,0.2);
}

.bento-card-badge--live {
  color: #6EE7B7;
}

.bento-card-badge--live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
}

/* ---- Card title row ---- */
.bento-card-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.bento-card-title h3 {
  font-size: 15px;
  font-weight: 500;
  color: #F3F4F6;
  letter-spacing: -0.02em;
}

.bento-card-meta {
  font-size: 12px;
  color: #6B7280;
  font-weight: 400;
}

/* ---- Card description ---- */
.bento-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #D1D5DB;
  font-weight: 425;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* ---- Tags + CTA row ---- */
.bento-card-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.bento-card-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-tag {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  background: rgba(255,255,255,0.1);
  color: #9CA3AF;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.bento-tag:hover {
  background: rgba(255,255,255,0.2);
  color: #D1D5DB;
}

/* Explore CTA — appears on hover */
.bento-card-explore {
  font-size: 12px;
  color: #6B7280;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  margin-left: auto;
}

.bento-card:hover .bento-card-explore {
  opacity: 1;
}

/* ============================================
   GRADIENT TEXT UTILITY
   ============================================ */

.gradient-text-accent {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================
   DEVELOPER CTA
   ============================================ */

.dev-cta {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.dev-cta-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.dev-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #F3F4F6;
  margin-bottom: 16px;
}

.dev-cta-content > p {
  font-size: 15px;
  line-height: 1.65;
  color: #6B7280;
  font-weight: 425;
  margin-bottom: 36px;
}

.dev-cta-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 16px;
}

.dev-cta-input {
  flex: 1;
  padding: 12px 16px;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #F3F4F6;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.dev-cta-input::placeholder { color: #4B5563; }

.dev-cta-input:focus {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 2px 12px rgba(255,255,255,0.03);
}

.dev-cta-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.1);
  color: #F3F4F6;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dev-cta-submit:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}
.dev-cta-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.dev-cta-note {
  font-size: 12px;
  color: #4B5563;
}

/* Hero "Talk to Us" button */
.dev-btn-call {
  gap: 8px;
  position: relative;
}
.dev-btn-call svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dev-btn-call:hover svg {
  transform: scale(1.15) rotate(-3deg);
}

/* Bottom CTA "Talk to us" — elevated button with shimmer */
.dev-cta-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer sweep on hover */
.dev-cta-call::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: left 0.6s ease;
}
.dev-cta-call:hover::before {
  left: 100%;
}

/* Soft glow ring on hover */
.dev-cta-call::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), rgba(56, 189, 248, 0.3), rgba(16, 185, 129, 0.3));
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}
.dev-cta-call:hover::after {
  opacity: 1;
}

.dev-cta-call:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.06);
}

.dev-cta-call svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dev-cta-call:hover svg {
  transform: scale(1.15) rotate(-3deg);
}

/* ============================================
   MOTION ANIMATION — INITIAL HIDDEN STATES
   ============================================ */

.dev-hero .dev-pill,
.dev-hero h1,
.dev-hero-sub,
.dev-hero-ctas > * {
  opacity: 0;
}

.dev-integration-visual,
.dev-integration-text h2,
.dev-integration-text > p,
.dev-integration-pointers li,
.dev-mode,
.dev-why-label,
.dev-why-header h2,
.dev-features,
.dev-bento-header h2,
.dev-bento-header p,
.dev-team-card,
.dev-cta h2,
.dev-cta-content > p,
.dev-cta-form,
.dev-cta-note {
  opacity: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .dev-hero { padding: 42px 0 80px; }

  .dev-features {
    flex-direction: column;
    gap: 32px;
  }

  .dev-features-steps {
    flex: none;
    width: 100%;
  }

  .dev-step {
    padding: 14px 16px;
  }

  .dev-anim-box {
    min-height: 280px;
    padding: 24px;
  }

  .dev-integration-split {
    flex-direction: column;
    gap: 40px;
  }

  .dev-integration-visual {
    flex: none;
    width: 100%;
    perspective: none;
  }

  .dev-integration-visual .dev-code-block {
    transform: none;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  }

  .dev-code-block pre {
    min-height: 140px;
  }

  .dev-integration-modes {
    grid-template-columns: 1fr;
  }

  .dev-bento-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .dev-hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .dev-btn-primary,
  .dev-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .dev-cta-form { flex-direction: column; }
  .dev-cta-submit { justify-content: center; }
  .dev-code-block code { font-size: 12px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .dev-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .dev-pill-dot { animation: none; }
  * { transition: none !important; }
}
