/* Geist Font Family (Vercel/Clerk) */
@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('r/stnof/Geist-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --accent: #51b6d5;
  --accent-purple: #3576C5;
  --accent-glow: rgba(100, 220, 255, 0.15);
}

html {
  scroll-behavior: smooth;
}

/* Noise texture overlay - applied globally */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100dvw;
  height: 100dvh;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(72px, 15vh, 140px) 0 clamp(64px, 10vh, 120px);
}

.site-header {
  position: fixed;
  top: clamp(12px, 2vh, 20px);
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.navbar {
  width: min(1200px, 92vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  position: relative;
  pointer-events: auto;
  margin-top: 0rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0rem 0rem;
  transition: transform 0.3s ease;
}

.nav-brand img {
  height: 5rem;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.8s ease, filter 0.8s ease;
}

.site-header.scrolled .nav-brand img {
  opacity: 0;
}

.nav-toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: .3rem;
  padding: .1rem .3rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow-x: auto;
  font-family: inherit;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled .nav-toggle {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

/* Add border to nav-toggle container with colors matching the nav container */
.nav-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    transparent 100%
  );
  opacity: 1;
  border-radius: .3rem .3rem 0 0;
}

.nav-toggle::-webkit-scrollbar {
  display: none;
}

.nav-toggle {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.toggle-indicator {
  position: absolute;
  height: calc(100% - 12px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: .2rem;
  z-index: 1;
  transition: left 0.15s ease-out, width 0.15s ease-out;
}

/* Add the same sick border from the cards to the active nav option */
.toggle-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(53, 118, 197, 0.4) 30%,
    rgba(53, 118, 197, 0.6) 50%,
    rgba(53, 118, 197, 0.4) 70%,
    transparent 100%
  );
  opacity: 1;
  border-radius: .4rem .4rem 0 0;
}

.toggle-indicator.bounce {
  animation: navBounce 0.25s ease-out;
}

@keyframes navBounce {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.18, 0.82); }
  50% { transform: scale(0.9, 1.12); }
  75% { transform: scale(1.08, 0.92); }
  100% { transform: scale(1, 1); }
}

.toggle-item {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  text-decoration: none;
  flex-shrink: 0;
  font-family: inherit;
}

.toggle-item svg {
  stroke: currentColor;
}


.toggle-item:hover {
  color: var(--text-primary);
}


.toggle-item.active {
  color: #000;
  opacity: .8;
}

.toggle-item.toggle-user {
  margin-left: auto;
  width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
}

.toggle-item.toggle-user:hover {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .navbar {
    gap: 12px;
    padding: 8px 10px;
  }

  .nav-brand img {
    height: 26px;
  }

  .toggle-item {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92vw);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
  align-items: flex-start;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 56px);
  width: 100%;
}

.hero-row > * {
  flex: 1 1 0;
  min-width: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  flex: 0 1 33.3333%;
}

.hero-code {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  flex: 0 1 66.6667%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 220, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 220, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
  opacity: 0.25;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.9) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
  mix-blend-mode: screen;
  z-index: 1;
  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(100, 220, 255, 0.05) 0%, rgba(100, 220, 255, 0) 70%);
  top: 8%;
  left: 12%;
  opacity: 0;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(53, 118, 197, 0.35) 0%, rgba(53, 118, 197, 0) 70%);
  bottom: 10%;
  right: 6%;
  opacity: 0;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  top: 45%;
  right: 30%;
  opacity: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
  z-index: 3;
}

.code-container {
  position: relative;
  z-index: 20;
  width: min(800px, 100%);
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(53, 118, 197, 0.3);
  border-radius: 16px;
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(53, 118, 197, 0.1);
  border: 1px solid rgba(53, 118, 197, 0.3);
  color: var(--accent);
  width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(53, 118, 197, 0.8);
}

.badge-pill {
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(53, 118, 197, 0.2);
  border: 1px solid rgba(53, 118, 197, 0.4);
  color: #e9d5ff;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #d7d7ef 45%, #9adcfb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto clamp(22px, 3vw, 66px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-primary {
  background: linear-gradient(135deg, rgba(53, 118, 197, 0.9), rgba(53, 118, 197, 0.7));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(53, 118, 197, 0.3);
}

.hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(53, 118, 197, 0.4);
}

.hero-secondary {
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 18, 28, 0.6);
}

.hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

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

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(53, 118, 197, 0.8);
  box-shadow: 0 0 8px rgba(53, 118, 197, 0.6);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0px 0;
}

.metric {
  padding: .5rem 1rem;
  border-radius: .25rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(53, 118, 197, 0.3);
}

.metric-value {
  display: block;
  font-size: .9rem !important;
  font-weight: 400;
  color: #f8fafc;
  white-space: nowrap;
  word-break: keep-all;
}

.metric-label {
  display: block;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  white-space: nowrap;
  word-break: keep-all;
}

.hero-preview-card {
  width: 100%;
  padding: .5rem 1rem;
  border-radius: .25rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(53, 118, 197, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.hero-preview-left {
  margin-top: 8px;
  align-self: flex-start;
}

.preview-label {
  font-size: 0.75rem;
  letter-spacing: .10625em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.preview-row-group {
  display: flex;
  align-items: stretch;
}

.preview-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0rem;
  padding: .0rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  flex: 1;
}

.preview-row:last-child {
  border-right: none;
}

.hero-preview-card {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.preview-tag {
  color: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
  word-break: keep-all;
}

.preview-time {
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  word-break: keep-all;
}

@media (max-width: 980px) {
  .hero-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-row {
    flex-direction: column;
  }

  .hero {
    height: auto;
    min-height: 100dvh;
  }

  .hero-code {
    align-items: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-preview-card {
    width: 100%;
  }

  .preview-row-group {
    flex-direction: column;
  }

  .preview-row {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .preview-row:last-child {
    border-bottom: none;
  }
}

/* ============================================
   SCROLL DOWN INDICATOR
   ============================================ */
.scroll-indicator {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  cursor: pointer;
  transition: opacity 0.5s ease;
  margin-top: clamp(2rem, 15vh, 10rem);
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  animation: scrollTextPulse 2.5s ease-in-out infinite;
}

@keyframes scrollTextPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.7;
  }
}

.scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -4px;
  position: relative;
  height: 50px;
  width: 24px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  color: rgba(53, 118, 197, 0.7);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollArrowFloat 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 6px rgba(53, 118, 197, 0.5));
  transition: color 0.3s ease, filter 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
  color: rgba(53, 118, 197, 0.9);
  filter: drop-shadow(0 0 10px rgba(53, 118, 197, 0.6));
}

.arrow-1 {
  top: 0;
  animation-delay: 0s;
}

.arrow-2 {
  top: 14px;
  animation-delay: 0.15s;
}

.arrow-3 {
  top: 28px;
  animation-delay: 0.3s;
}

@keyframes scrollArrowFloat {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }
  30% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(53, 118, 197, 0.15);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.scroll-line-inner {
  width: 100%;
  height: 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(53, 118, 197, 0.8) 50%,
    transparent 100%
  );
  border-radius: 1px;
  animation: scrollLineFlow 2s ease-in-out infinite;
}

@keyframes scrollLineFlow {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(50px);
    opacity: 0;
  }
}

/* Hide scroll indicator on smaller screens where layout stacks */
@media (max-width: 980px) {
  .scroll-indicator {
    display: none;
  }
}

.code-container::before {
  content: '';
  display: block;
  height: 40px;
  background: rgba(30, 35, 45, 0.95);
  border-bottom: 1px solid rgba(100, 220, 255, 0.1);
}

.code-container::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: #ff5f57;
  border-radius: 50%;
  box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
}

.code-block {
  padding: 28px 32px;
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.8rem, 1.6vw, .7rem);
  line-height: 1.8;
  overflow-x: auto;
}

.code-block code {
  display: block;
  white-space: pre;
}

/* Syntax highlighting */
.comment { color: #6a9955; font-style: italic; }
.keyword { color: #c586c0; }
.const { color: #569cd6; }
.variable { color: #9cdcfe; }
.property { color: #9cdcfe; }
.string { color: #ce9178; }
.function { color: #dcdcaa; }
.number { color: #b5cea8; }
.operator { color: #d4d4d4; }
.punctuation { color: #d4d4d4; }
.class-name { color: #4ec9b0; }
.method { color: #dcdcaa; }
.parameter { color: #9cdcfe; }
.bracket { color: #ffd700; }
.brace { color: #da70d6; }
.paren { color: #179fff; }

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
  box-shadow: 0 0 10px rgba(100, 220, 255, 0.5);
}

@keyframes blink {
  50% { opacity: 0; }
}

.class-name, .function {
  text-shadow: 0 0 10px currentColor;
}

/* Hero CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 16px;
  padding: 0 2rem 2rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-buttons.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-code {
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.75rem, 1.3vw, 0.9rem);
  padding: .5rem 1rem;
  background: rgba(100, 220, 255, 0.1);
  border: 1px solid rgba(100, 220, 255, 0.4);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-code::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(100, 220, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.cta-code:hover::before {
  transform: translateX(100%);
}

.cta-code:hover {
  background: rgba(100, 220, 255, 0.2);
  border-color: rgba(100, 220, 255, 0.7);
  box-shadow: 0 0 30px rgba(100, 220, 255, 0.3);
}

.cta-secondary {
  background: rgba(150, 150, 150, 0.1);
  border-color: rgba(150, 150, 150, 0.3);
}

.cta-secondary:hover {
  background: rgba(150, 150, 150, 0.2);
  border-color: rgba(150, 150, 150, 0.6);
  box-shadow: 0 0 20px rgba(150, 150, 150, 0.2);
}

/* ============================================
   SECTIONS - SHARED STYLES
   ============================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 0.5rem 1rem;
  background: rgba(100, 220, 255, 0.08);
  border: 1px solid rgba(100, 220, 255, 0.15);
  border-radius: 0.25rem;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #e0e0e8 50%, #a0a0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 120px 0;
  background: #141414;
  position: relative;
  overflow: hidden;
}

/* Scanline texture overlay */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.services::after {
  display: none;
}

/* Floating tech icons */
.floating-tech-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.tech-icon {
  position: absolute;
  width: 40px;
  height: 40px;
}

.tech-icon.tech-js {
  top: 8%;
  left: 5%;
  color: rgba(71, 186, 90, 0.5);
}

.tech-icon.tech-ts {
  top: 15%;
  right: 8%;
  color: rgba(53, 118, 197, 0.5);
  width: 35px;
  height: 35px;
}

.tech-icon.tech-react {
  top: 35%;
  left: 3%;
  color: rgba(53, 118, 197, 0.45);
  width: 50px;
  height: 50px;
}

.tech-icon.tech-vue {
  top: 25%;
  right: 4%;
  color: rgba(71, 186, 90, 0.45);
  width: 38px;
  height: 38px;
}

.tech-icon.tech-node {
  top: 55%;
  left: 6%;
  color: rgba(71, 186, 90, 0.4);
  width: 45px;
  height: 45px;
}

.tech-icon.tech-python {
  top: 45%;
  right: 6%;
  color: rgba(53, 118, 197, 0.4);
  width: 42px;
  height: 42px;
}

.tech-icon.tech-go {
  top: 70%;
  left: 4%;
  color: rgba(53, 118, 197, 0.45);
  width: 48px;
  height: 48px;
}

.tech-icon.tech-docker {
  top: 65%;
  right: 5%;
  color: rgba(53, 118, 197, 0.4);
  width: 44px;
  height: 44px;
}

.tech-icon.tech-aws {
  top: 85%;
  left: 8%;
  color: rgba(71, 186, 90, 0.35);
  width: 50px;
  height: 50px;
}

/* Top section divider - reusable across all sections */
.section-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(53, 118, 197, 0.2) 20%,
    rgba(53, 118, 197, 0.5) 50%,
    rgba(53, 118, 197, 0.2) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 30px rgba(53, 118, 197, 0.4),
    0 0 60px rgba(53, 118, 197, 0.2);
}

/* Bottom section divider - for section endings */
.section-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(71, 186, 90, 0.2) 20%,
    rgba(53, 118, 197, 0.5) 50%,
    rgba(71, 186, 90, 0.2) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 30px rgba(71, 186, 90, 0.3),
    0 0 60px rgba(53, 118, 197, 0.2);
}

/* Circuit SVG decorations - enhanced */
.circuit-left,
.circuit-right {
  position: absolute;
  width: 400px;
  height: 100%;
  opacity: 0.7;
  z-index: 0;
}

.circuit-left {
  left: 0;
  top: 0;
}

.circuit-right {
  right: 0;
  top: 0;
  transform: scaleX(-1);
}

/* ============================================
   BENTO GRID - CLERK STYLE
   ============================================ */
.bento-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 4rem;
}

.bento-card {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(53, 118, 197, 0.2);
  border-radius: 1rem;
  padding: .5rem 1rem 1rem 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card .card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(53, 118, 197, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Card sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}

.bento-medium {
  grid-column: span 2;
  grid-row: span 1;
  min-height: 280px;
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 200px;
}

/* Hover effects */
.bento-card:hover {
  border-color: rgba(53, 118, 197, 0.4);
  transform: translateY(-4px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(53, 118, 197, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

/* Top shine line on hover */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(53, 118, 197, 0.4) 30%,
    rgba(53, 118, 197, 0.6) 50%,
    rgba(53, 118, 197, 0.4) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

/* Content area */
.bento-content {
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0rem;
  transition: color 0.3s ease;
}

.bento-card:hover .bento-title {
  color: var(--accent);
}

.bento-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Visual area */
.bento-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: auto;
}

/* ============================================
   ENHANCED DASHBOARD MOCKUP
   ============================================ */
.mockup-dashboard {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: rgba(10, 10, 15, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.dashboard-bg-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.grid-pulse {
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.bento-card:hover .mockup-dashboard {
  border-color: rgba(53, 118, 197, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(53, 118, 197, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Enhanced Sidebar */
.mockup-sidebar {
  width: 56px;
  background: rgba(0, 0, 0, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.sidebar-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
}

.sidebar-logo svg {
  width: 24px;
  height: 24px;
}

.sidebar-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: rgba(255, 255, 255, 0.4);
}

.sidebar-item svg {
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}

.sidebar-item.active {
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.2), rgba(53, 118, 197, 0.2));
  box-shadow: 
    0 0 20px rgba(100, 220, 255, 0.2),
    inset 0 0 20px rgba(100, 220, 255, 0.1);
  color: var(--accent);
}

.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: -8px;
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, var(--accent), var(--accent-purple));
  border-radius: 0 2px 2px 0;
}

.sidebar-tooltip {
  position: absolute;
  left: 52px;
  background: rgba(20, 20, 30, 0.95);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-5px);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.bento-card:hover .sidebar-item:hover .sidebar-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.bento-card:hover .sidebar-item:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.bento-card:hover .sidebar-item:not(.active):hover {
  background: rgba(100, 220, 255, 0.1);
  color: var(--accent);
  transform: scale(1.05);
}

.sidebar-divider {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.sidebar-item.notifications {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Enhanced Main Area */
.mockup-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Enhanced Header */
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  width: auto;
  height: auto;
}

.header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.header-breadcrumb svg {
  width: 10px;
  height: 10px;
}

.header-breadcrumb .active {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.search-box svg {
  width: 12px;
  height: 12px;
}

.bento-card:hover .search-box:hover {
  border-color: rgba(100, 220, 255, 0.2);
  background: rgba(100, 220, 255, 0.05);
}

.action-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.15), rgba(53, 118, 197, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}

.action-btn svg {
  width: 12px;
  height: 12px;
}

.bento-card:hover .action-btn:hover {
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.3), rgba(53, 118, 197, 0.3));
  transform: scale(1.1);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  position: relative;
}

.avatar-ring {
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: avatarRing 3s linear infinite;
}

@keyframes avatarRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Stats */
.mockup-stats {
  display: flex;
  gap: 10px;
}

.stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-animated {
  animation: statSlideIn 0.6s ease-out backwards;
}

@keyframes statSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bento-card:hover .stat-card {
  border-color: rgba(100, 220, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.stat-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 14px;
  height: 14px;
}

.stat-icon.cyan { 
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.2), rgba(100, 220, 255, 0.1)); 
  color: var(--accent);
  box-shadow: 0 0 12px rgba(100, 220, 255, 0.2);
}
.stat-icon.purple { 
  background: linear-gradient(135deg, rgba(53, 118, 197, 0.2), rgba(53, 118, 197, 0.1)); 
  color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(53, 118, 197, 0.2);
}
.stat-icon.green { 
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1)); 
  color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  margin-bottom: 0;
}

.stat-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
}

.stat-trend svg {
  width: 12px;
  height: 12px;
}

.stat-trend.up {
  color: #22c55e;
}

.stat-trend.down {
  color: #ef4444;
}

.stat-sparkline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  opacity: 0.5;
}

.stat-sparkline svg {
  width: 100%;
  height: 100%;
}

.sparkline-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: sparklineReveal 2s ease-out forwards;
}

@keyframes sparklineReveal {
  to { stroke-dashoffset: 0; }
}

/* Content Grid */
.mockup-content-grid {
  display: flex;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

/* Enhanced Chart */
.mockup-chart {
  flex: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.bento-card:hover .mockup-chart {
  border-color: rgba(100, 220, 255, 0.1);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.chart-tabs {
  display: flex;
  gap: 4px;
}

.chart-tabs span {
  font-size: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-tabs span.active {
  background: rgba(100, 220, 255, 0.15);
  color: var(--accent);
}

.chart-line {
  flex: 1;
  width: 100%;
}

.chart-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

.chart-area {
  opacity: 0;
}

@keyframes chartFadeIn {
  to { opacity: 1; }
}

.data-point {
  opacity: 0;
}

@keyframes pointPop {
  0% { opacity: 0; transform: scale(0); }
  50% { transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Chart animations on hover */
.bento-card:hover .chart-path {
  animation: chartDraw 2s ease-out forwards;
}

.bento-card:hover .chart-area {
  animation: chartFadeIn 1s ease-out 1s forwards;
}

.bento-card:hover .data-point {
  animation: pointPop 0.3s ease-out forwards;
}

.bento-card:hover .data-point:nth-child(1) { animation-delay: 0.4s; }
.bento-card:hover .data-point:nth-child(2) { animation-delay: 0.8s; }
.bento-card:hover .data-point:nth-child(3) { animation-delay: 1.2s; }
.bento-card:hover .data-point:nth-child(4) { animation-delay: 1.6s; }
.bento-card:hover .data-point:nth-child(5) { animation-delay: 2s; }

.active-point {
  filter: drop-shadow(0 0 6px var(--accent));
}

.tracking-dot {
  filter: drop-shadow(0 0 8px var(--accent));
  opacity: 0;
}

.bento-card:hover .tracking-dot {
  opacity: 1;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* Activity Feed */
.activity-feed {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
}

.bento-card:hover .activity-feed {
  border-color: rgba(100, 220, 255, 0.1);
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #22c55e;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.feed-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
  animation: feedSlide 0.5s ease-out backwards;
}

.feed-item:nth-child(1) { animation-delay: 0.2s; }
.feed-item:nth-child(2) { animation-delay: 0.4s; }
.feed-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes feedSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}

.bento-card:hover .feed-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.feed-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feed-icon svg {
  width: 12px;
  height: 12px;
}

.feed-icon.cyan {
  background: rgba(100, 220, 255, 0.15);
  color: var(--accent);
}

.feed-icon.green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.feed-icon.purple {
  background: rgba(53, 118, 197, 0.15);
  color: var(--accent-purple);
}

.feed-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed-text {
  font-size: 9px;
  color: var(--text-primary);
}

.feed-time {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  background: rgba(20, 20, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-card svg {
  width: 14px;
  height: 14px;
}

.floating-card.card-1 {
  top: 20%;
  right: -60px;
  color: #22c55e;
}

.floating-card.card-2 {
  bottom: 30%;
  right: -50px;
}

.floating-card.card-3 {
  top: 45%;
  right: -55px;
}


.mini-chart svg {
  display: block;
}

.progress-ring {
  position: relative;
  width: 36px;
  height: 36px;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
}

.progress-circle {
  animation: progressFill 2s ease-out forwards;
  stroke-dasharray: 0, 100;
}

.bento-card:hover .progress-circle {
  stroke-dasharray: 75, 100;
}

@keyframes progressFill {
  to { stroke-dasharray: 75, 100; }
}

.progress-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--accent);
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-card:hover .connection-lines {
  opacity: 1;
}

.flow-line {
  stroke-dasharray: 5 5;
  animation: flowDash 1s linear infinite;
}

@keyframes flowDash {
  to { stroke-dashoffset: -10; }
}

/* ============================================
   ENHANCED BROWSER MOCKUP
   ============================================ */
.mockup-browser {
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.browser-bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-card:hover .browser-bg-pattern {
  opacity: 1;
}

.bento-card:hover .mockup-browser {
  border-color: rgba(100, 220, 255, 0.2);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(100, 220, 255, 0.1);
}

.browser-bar {
  background: rgba(30, 30, 40, 0.95);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots .bd {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.bento-card:hover .bd.red:hover { box-shadow: 0 0 8px #ff5f57; }
.bento-card:hover .bd.yellow:hover { box-shadow: 0 0 8px #febc2e; }
.bento-card:hover .bd.green:hover { box-shadow: 0 0 8px #28c840; }

.bd.red { background: #ff5f57; }
.bd.yellow { background: #febc2e; }
.bd.green { background: #28c840; }

.browser-nav-buttons {
  display: flex;
  gap: 4px;
}

.nav-arrow, .nav-refresh {
  width: 22px;
  height: 22px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-arrow svg, .nav-refresh svg {
  width: 12px;
  height: 12px;
}

.bento-card:hover .nav-arrow:hover,
.bento-card:hover .nav-refresh:hover {
  background: rgba(100, 220, 255, 0.15);
  color: var(--accent);
}

.browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.bento-card:hover .browser-url {
  border-color: rgba(100, 220, 255, 0.15);
}

.url-secure {
  width: 14px;
  height: 14px;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.url-secure svg {
  width: 12px;
  height: 12px;
}

.url-text {
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
}

.url-domain {
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  color: var(--text-primary);
  font-weight: 500;
}

.url-path {
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
}

.browser-actions {
  display: flex;
  gap: 4px;
}

.action-icon {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-icon svg {
  width: 14px;
  height: 14px;
}

.bento-card:hover .action-icon:hover {
  color: var(--accent);
}

.browser-content {
  padding: 12px;
  position: relative;
}

/* Enhanced Navigation */
.web-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: all 0.3s ease;
}

.nav-logo svg {
  width: 16px;
  height: 16px;
}

.bento-card:hover .nav-logo {
  box-shadow: 0 0 20px rgba(100, 220, 255, 0.4);
  transform: rotate(5deg);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}

.nav-link {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link.active {
  color: var(--accent);
  background: rgba(100, 220, 255, 0.1);
}

.bento-card:hover .nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  color: #000;
  transition: all 0.3s ease;
}

.nav-cta-btn svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
}

.bento-card:hover .nav-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(100, 220, 255, 0.3);
}

.bento-card:hover .nav-cta-btn:hover svg {
  transform: translateX(2px);
}

/* Enhanced Hero Section */
.web-hero {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(100, 220, 255, 0.1);
  border: 1px solid rgba(100, 220, 255, 0.2);
  border-radius: 20px;
  padding: 3px 10px 3px 6px;
  font-size: 7px;
  color: var(--accent);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.headline-word {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(10px);
  animation: wordReveal 0.5s ease forwards;
}

.headline-word.word-1 { animation-delay: 0.1s; }
.headline-word.word-2 { animation-delay: 0.2s; }
.headline-word.word-3 { animation-delay: 0.3s; }

.headline-word.gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtext {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.sub-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  width: 90%;
}

.sub-line.short {
  width: 60%;
}

.hero-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  color: #000;
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.hero-btn.secondary svg {
  width: 8px;
  height: 8px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

@keyframes btnShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.bento-card:hover .btn-shine {
  animation: btnShine 3s ease-in-out infinite;
}

.bento-card:hover .hero-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(100, 220, 255, 0.3);
}

.bento-card:hover .hero-btn.secondary:hover {
  border-color: rgba(100, 220, 255, 0.3);
  background: rgba(100, 220, 255, 0.1);
}

/* Hero Visual - Card Stack */
.hero-visual {
  position: relative;
  width: 90px;
  height: 80px;
}

.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.stack-card {
  position: absolute;
  width: 60px;
  height: 50px;
  background: rgba(30, 30, 45, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
  transform: translateX(-100%);
}

@keyframes cardShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.bento-card:hover .card-shimmer {
  animation: cardShimmer 3s ease-in-out infinite;
}

.stack-card.card-back {
  top: 0;
  left: 0;
  transform: rotate(-8deg);
  opacity: 0.5;
}

.stack-card.card-mid {
  top: 5px;
  left: 10px;
  transform: rotate(-3deg);
  opacity: 0.7;
}

.stack-card.card-front {
  top: 10px;
  left: 20px;
  transform: rotate(2deg);
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.1), rgba(53, 118, 197, 0.1));
  border-color: rgba(100, 220, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.bento-card:hover .stack-card.card-back {
  transform: rotate(-12deg) translateX(-5px);
}

.bento-card:hover .stack-card.card-mid {
  transform: rotate(-6deg) translateX(-2px);
}

.bento-card:hover .stack-card.card-front {
  transform: rotate(5deg) translateY(-5px);
  box-shadow: 0 10px 30px rgba(100, 220, 255, 0.2);
}

.card-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.card-lines span {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.card-lines span:nth-child(1) { width: 100%; }
.card-lines span:nth-child(2) { width: 70%; }
.card-lines span:nth-child(3) { width: 85%; }

/* Web Floating Elements */
.web-float {
  position: absolute;
  width: 28px;
  height: 28px;
  background: rgba(20, 20, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.web-float svg {
  width: 14px;
  height: 14px;
}

.web-float.float-1 {
  top: -10px;
  right: 0;
  color: var(--accent);
}

.web-float.float-2 {
  bottom: 10px;
  right: -5px;
  color: #22c55e;
}

.web-float.float-3 {
  top: 20px;
  right: -15px;
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.2), rgba(53, 118, 197, 0.2));
  border-color: rgba(100, 220, 255, 0.3);
}

.float-stat {
  font-size: 8px;
  font-weight: 700;
  color: var(--accent);
}


/* Web Stats Bar */
.web-stats-bar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.web-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.bento-card:hover .web-stat:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.web-stat-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(100, 220, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.web-stat-icon svg {
  width: 12px;
  height: 12px;
}

.web-stat-icon.purple {
  background: rgba(53, 118, 197, 0.1);
  color: var(--accent-purple);
}

.web-stat-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.web-stat-info {
  display: flex;
  flex-direction: column;
}

.web-stat-value {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
}

.web-stat-label {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive Indicator */
.responsive-indicator {
  display: none;
}

.device-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
}

.device-icon svg {
  width: 12px;
  height: 12px;
}

.device-icon.active {
  color: var(--accent);
  background: rgba(100, 220, 255, 0.15);
}

.bento-card:hover .device-icon:hover {
  color: var(--accent);
}

/* Performance Badge */
.perf-badge {
  position: absolute;
  top: 50px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  padding: 4px 8px;
  color: #22c55e;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.perf-badge svg {
  width: 12px;
  height: 12px;
}

/* Browser Cursor */
.browser-cursor {
  position: absolute;
  width: 16px;
  height: 16px;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: opacity 0.3s ease;
  bottom: 40%;
  left: 30%;
}

.browser-cursor svg {
  width: 100%;
  height: 100%;
}

.bento-card:hover .browser-cursor {
  opacity: 1;
  animation: cursorMove 4s ease-in-out infinite;
}

@keyframes cursorMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -10px); }
  50% { transform: translate(50px, 20px); }
  75% { transform: translate(20px, 30px); }
}

/* ============================================
   ENHANCED API CONNECTIONS MOCKUP
   ============================================ */
.mockup-api {
  width: 100%;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hex background pattern */
.api-bg-hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.bento-card:hover .api-bg-hex {
  opacity: 1;
}

/* Enhanced Central Hub */
.api-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.api-hub {
  width: 60px;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-inner {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-inner svg {
  width: 26px;
  height: 26px;
}

.bento-card:hover .hub-inner {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(100, 220, 255, 0.5);
}

.hub-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(100, 220, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
}

@keyframes hubGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.bento-card:hover .hub-glow {
  animation: hubGlow 3s ease-in-out infinite;
}

/* Animated Rings */
.api-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid transparent;
}

.api-ring.ring-1 {
  width: 90px;
  height: 90px;
  border-color: rgba(100, 220, 255, 0.3);
}

.api-ring.ring-2 {
  width: 130px;
  height: 130px;
  border-color: rgba(53, 118, 197, 0.2);
}

.api-ring.ring-3 {
  width: 170px;
  height: 170px;
  border-color: rgba(100, 220, 255, 0.1);
  opacity: 0.3;
}

@keyframes ringRotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

.bento-card:hover .api-ring.ring-1 {
  animation: ringRotate 20s linear infinite;
}

.bento-card:hover .api-ring.ring-2 {
  animation: ringRotate 30s linear infinite reverse;
}

.bento-card:hover .api-ring.ring-3 {
  animation: ringPulse 4s ease-in-out infinite;
}

/* Ring Particles */
.ring-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.ring-particle.p1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ring-particle.p2 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

.ring-particle.p3 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* Connection Lines SVG */
.api-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.api-path {
  stroke-dasharray: 5 5;
  transition: all 0.4s ease;
}

.bento-card:hover .api-path {
  stroke-dasharray: 8 4;
  animation: pathFlow 1.5s linear infinite;
}

@keyframes pathFlow {
  to { stroke-dashoffset: -24; }
}

/* Data packets */
.packet {
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

/* Enhanced API Nodes */
.api-nodes {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.api-node {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(15, 15, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.node-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  z-index: 2;
}

.node-icon svg {
  width: 100%;
  height: 100%;
}

.node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 2px solid transparent;
  opacity: 0;
  transition: all 0.3s ease;
}

.node-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
}

.bento-card:hover .api-node {
  border-color: rgba(100, 220, 255, 0.2);
  background: rgba(25, 25, 40, 0.95);
}

.bento-card:hover .api-node .node-icon {
  color: var(--text-primary);
}

.bento-card:hover .api-node:hover {
  transform: scale(1.15);
  border-color: rgba(100, 220, 255, 0.5);
  box-shadow: 0 0 25px rgba(100, 220, 255, 0.3);
}

.bento-card:hover .api-node:hover .node-pulse {
  opacity: 1;
  border-color: rgba(100, 220, 255, 0.3);
  animation: nodePulse 1s ease-out infinite;
}

.bento-card:hover .api-node:hover .node-label {
  opacity: 1;
  bottom: -22px;
}

@keyframes nodePulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Node positions - spread around center */
.node-1 { top: 8%; left: 8%; }
.node-2 { top: 8%; right: 8%; }
.node-3 { top: 50%; left: 2%; transform: translateY(-50%); }
.node-4 { top: 50%; right: 2%; transform: translateY(-50%); }
.node-5 { bottom: 8%; left: 12%; }
.node-6 { bottom: 8%; right: 12%; }

/* Node hover colors */
.bento-card:hover .node-1:hover .node-icon { color: #635bff; } /* Stripe */
.bento-card:hover .node-2:hover .node-icon { color: #fff; } /* GitHub */
.bento-card:hover .node-3:hover .node-icon { color: #e01e5a; } /* Slack */
.bento-card:hover .node-4:hover .node-icon { color: #ff9900; } /* AWS */
.bento-card:hover .node-5:hover .node-icon { color: #f22f46; } /* Twilio */
.bento-card:hover .node-6:hover .node-icon { color: #96bf48; } /* Shopify */

/* API Code Snippets */
.api-code-snippets {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 15;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover .api-code-snippets {
  opacity: 1;
  transform: translateX(0);
}

.code-snippet {
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: 'Fira Code', monospace;
  font-size: 8px;
}

.snippet-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.method-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.method-badge.get {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.method-badge.post {
  background: rgba(100, 220, 255, 0.2);
  color: var(--accent);
}

.endpoint {
  color: rgba(255, 255, 255, 0.5);
}

.snippet-body {
  color: var(--text-secondary);
}

.snippet-body code {
  display: block;
}

.code-key {
  color: #9cdcfe;
}

.code-string {
  color: #ce9178;
}

/* API Status */
.api-status {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 15;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: statusPulse 2s ease-in-out infinite;
}

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

.status-metrics {
  display: flex;
  gap: 12px;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.metric-value {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}

.metric-label {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.4);
}

/* Webhook Notification */
.webhook-notification {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 8px 12px;
  z-index: 15;
  opacity: 0;
  transform: translateX(20px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover .webhook-notification {
  opacity: 1;
  transform: translateX(0) scale(1);
  animation: webhookSlide 0.5s ease-out, webhookPulse 3s ease-in-out 0.5s infinite;
}

@keyframes webhookSlide {
  0% { transform: translateX(30px) scale(0.8); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes webhookPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.webhook-icon {
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.webhook-icon svg {
  width: 14px;
  height: 14px;
}

.webhook-content {
  display: flex;
  flex-direction: column;
}

.webhook-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-primary);
}

.webhook-time {
  font-size: 7px;
  color: #22c55e;
}

/* ============================================
   TECH LOGOS
   ============================================ */
.tech-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.tech-logo {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.tech-logo svg {
  width: 24px;
  height: 24px;
}

.bento-card:hover .tech-logo {
  border-color: rgba(100, 220, 255, 0.15);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.bento-card:hover .tech-logo:nth-child(1) { color: #61dafb; }
.bento-card:hover .tech-logo:nth-child(2) { color: #68a063; }
.bento-card:hover .tech-logo:nth-child(3) { color: #ff9900; }
.bento-card:hover .tech-logo:nth-child(4) { color: #3178c6; }

/* ============================================
   PERFORMANCE GAUGE
   ============================================ */
.perf-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.perf-gauge {
  width: 100px;
  height: 60px;
}

.perf-arc {
  transition: stroke-dashoffset 0.8s ease;
}

.bento-card:hover .perf-arc {
  stroke-dashoffset: 10;
}

.perf-needle {
  transform-origin: 60px 58px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover .perf-needle {
  transform: rotate(75deg);
}

.perf-score {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  padding: 120px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Scanline texture overlay for process section */
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 3;
}

/* Top and bottom edge fade for process section */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

/* 3D Square grid for process section - single element CSS pattern */
.process-squares {
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* Grid pattern with 3D beveled look */
  background:
    /* Top highlight edge (light) */
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 60px
    ),
    /* Left highlight edge (light) */
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 60px
    ),
    /* Bottom shadow edge (dark) */
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 57px,
      rgba(0, 0, 0, 0.4) 57px,
      rgba(0, 0, 0, 0.4) 60px
    ),
    /* Right shadow edge (dark) */
    repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent 57px,
      rgba(0, 0, 0, 0.35) 57px,
      rgba(0, 0, 0, 0.35) 60px
    ),
    /* Inner cell gradient for depth */
    repeating-linear-gradient(
      145deg,
      rgba(53, 118, 197, 0.08) 0px,
      rgba(100, 220, 255, 0.04) 30px,
      rgba(0, 0, 0, 0.15) 60px
    ),
    /* Base grid lines */
    repeating-linear-gradient(
      to right,
      rgba(53, 118, 197, 0.3) 0px,
      rgba(53, 118, 197, 0.3) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(53, 118, 197, 0.3) 0px,
      rgba(53, 118, 197, 0.3) 1px,
      transparent 1px,
      transparent 60px
    ),
    /* Cell fill */
    repeating-linear-gradient(
      145deg,
      rgba(53, 118, 197, 0.06) 0px,
      rgba(100, 220, 255, 0.03) 60px,
      rgba(100, 220, 255, 0.06) 120px,
      rgba(53, 118, 197, 0.03) 180px
    );
  background-size:
    60px 60px, 60px 60px, 60px 60px, 60px 60px,
    60px 60px, 60px 60px, 60px 60px, 180px 180px;

  /* Radial fade mask */
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 75%);
}

/* Subtle lighting - light from top */
.process-squares::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}

/* Noise texture overlay */
.process-squares::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Multi-color accent glow */
.process::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 40% 40% at 30% 30%, rgba(53, 118, 197, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(100, 220, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 200, 100, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Flowing lines container */
.process .flowing-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.process .flowing-line {
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(100, 220, 255, 0.3) 25%,
    rgba(53, 118, 197, 0.3) 50%,
    rgba(100, 220, 255, 0.3) 75%,
    transparent 100%
  );
  animation: flow-line 8s linear infinite;
}

.process .flowing-line:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
  opacity: 0.3;
}

.process .flowing-line:nth-child(2) {
  top: 50%;
  animation-delay: -3s;
  opacity: 0.2;
}

.process .flowing-line:nth-child(3) {
  top: 80%;
  animation-delay: -6s;
  opacity: 0.25;
}

@keyframes flow-line {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.process .section-container {
  text-align: center;
}

/* Process Layout - Side by Side */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .process-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.process-code-block {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(100, 220, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(100, 220, 255, 0.08),
    0 0 120px rgba(53, 118, 197, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

/* Floating glow behind terminal */
.process-code-block::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(100, 220, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(53, 118, 197, 0.1) 0%, transparent 50%);
  z-index: -1;
  border-radius: 30px;
  filter: blur(20px);
}

/* Top glow line on terminal */
.process-code-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(100, 220, 255, 0.4),
    rgba(53, 118, 197, 0.4),
    rgba(100, 220, 255, 0.4),
    transparent
  );
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(30, 35, 45, 0.95);
  border-bottom: 1px solid rgba(100, 220, 255, 0.1);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.process-code {
  padding: 28px 32px;
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  line-height: 1.9;
  overflow-x: auto;
}

.process-code code {
  white-space: pre;
}

/* ============================================
   PROCESS TIMELINE PANEL
   ============================================ */
.process-timeline-panel {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(10, 10, 15, 0.95) 100%);
  border: 1px solid rgba(53, 118, 197, 0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(53, 118, 197, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.process-timeline-panel::before {
  content: '';
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(53, 118, 197, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(100, 220, 255, 0.1) 0%, transparent 50%);
  z-index: -1;
  border-radius: 30px;
  filter: blur(20px);
}

.process-timeline-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(53, 118, 197, 0.4),
    rgba(100, 220, 255, 0.4),
    rgba(53, 118, 197, 0.4),
    transparent
  );
}

/* Timeline Header */
.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(30, 35, 45, 0.95);
  border-bottom: 1px solid rgba(53, 118, 197, 0.1);
}

.timeline-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.timeline-header-left svg {
  color: var(--accent-purple);
}

.timeline-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: #22c55e;
  font-weight: 600;
}

.status-pulse {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

/* Timeline Steps Container */
.timeline-steps {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual Step */
.timeline-step {
  display: flex;
  gap: 16px;
  position: relative;
}

/* Step Connector (line + node) */
.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(180deg, rgba(100, 220, 255, 0.3) 0%, rgba(53, 118, 197, 0.3) 100%);
  margin-bottom: 4px;
}

.step-connector.last .step-line {
  display: none;
}

.timeline-step:first-child .step-line {
  display: none;
}

.step-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(30, 30, 45, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Completed step node */
.timeline-step.completed .step-node {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-color: transparent;
  color: #000;
}

/* Active step node */
.timeline-step.active .step-node {
  background: rgba(100, 220, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.step-node.active-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: activeNodePulse 2s ease-out infinite;
}

@keyframes activeNodePulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Pending step node */
.timeline-step.pending .step-node {
  background: rgba(40, 40, 55, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.timeline-step.pending .step-line {
  background: rgba(255, 255, 255, 0.1);
}

/* Step Content */
.step-content {
  flex: 1;
  padding-bottom: 20px;
}

.timeline-step:last-child .step-content {
  padding-bottom: 0;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-step.pending .step-title {
  color: var(--text-secondary);
}

.step-duration {
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 10px;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Step Tags */
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step-tag {
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(100, 220, 255, 0.08);
  border: 1px solid rgba(100, 220, 255, 0.15);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 500;
}

.timeline-step.pending .step-tag {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* Progress Bar (for active step) */
.step-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple));
  border-radius: 3px;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
}

/* Step Metrics */
.step-metrics {
  display: flex;
  gap: 16px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.metric-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Fira Code', monospace;
}

.metric-item .metric-label {
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline Footer */
.timeline-footer {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(20, 20, 30, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(100, 220, 255, 0.1);
  border: 1px solid rgba(100, 220, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.stat-icon.purple {
  background: rgba(53, 118, 197, 0.1);
  border-color: rgba(53, 118, 197, 0.2);
  color: var(--accent-purple);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* ============================================
   ENHANCED CTA SECTION
   ============================================ */
.cta-section {
  padding: 160px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Scanline texture overlay for CTA section */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 3;
}

/* Top and bottom edge fade for CTA section */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

/* 3D Diamond grid - rotated squares pattern */
.cta-diamonds {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  transform: rotate(45deg);

  /* Diamond pattern with 3D beveled look */
  background:
    /* Top highlight edge (light) */
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 50px
    ),
    /* Left highlight edge (light) */
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 2px,
      transparent 2px,
      transparent 50px
    ),
    /* Bottom shadow edge (dark) */
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 47px,
      rgba(0, 0, 0, 0.4) 47px,
      rgba(0, 0, 0, 0.4) 50px
    ),
    /* Right shadow edge (dark) */
    repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent 47px,
      rgba(0, 0, 0, 0.35) 47px,
      rgba(0, 0, 0, 0.35) 50px
    ),
    /* Inner cell gradient for depth */
    repeating-linear-gradient(
      145deg,
      rgba(100, 220, 255, 0.08) 0px,
      rgba(53, 118, 197, 0.04) 25px,
      rgba(0, 0, 0, 0.15) 50px
    ),
    /* Base grid lines */
    repeating-linear-gradient(
      to right,
      rgba(100, 220, 255, 0.3) 0px,
      rgba(100, 220, 255, 0.3) 1px,
      transparent 1px,
      transparent 50px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(100, 220, 255, 0.3) 0px,
      rgba(100, 220, 255, 0.3) 1px,
      transparent 1px,
      transparent 50px
    ),
    /* Cell fill */
    repeating-linear-gradient(
      145deg,
      rgba(100, 220, 255, 0.06) 0px,
      rgba(53, 118, 197, 0.03) 50px,
      rgba(53, 118, 197, 0.06) 100px,
      rgba(100, 220, 255, 0.03) 150px
    );
  background-size:
    50px 50px, 50px 50px, 50px 50px, 50px 50px,
    50px 50px, 50px 50px, 50px 50px, 150px 150px;

  /* Radial fade mask */
  mask-image: radial-gradient(ellipse 40% 40% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 40% 40% at 50% 50%, black 0%, transparent 70%);
}

/* Subtle lighting for diamonds */
.cta-diamonds::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}

/* Noise texture for diamonds */
.cta-diamonds::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Grid Background */
.cta-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

/* Floating Orbs */
.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(100, 220, 255, 0.15) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.cta-orb.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(53, 118, 197, 0.12) 0%, transparent 70%);
  bottom: -20%;
  right: -15%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.cta-orb.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(100, 220, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, 30px) scale(1.1); }
  66% { transform: translate(-30px, 50px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -30px) scale(1.05); }
  66% { transform: translate(30px, -20px) scale(0.9); }
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

/* Connection Lines SVG */
.cta-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.conn-path {
  stroke-dasharray: 10 20;
  animation: connFlow 20s linear infinite;
}

.conn-path.path-2 { animation-delay: -7s; }
.conn-path.path-3 { animation-delay: -14s; }

@keyframes connFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}

/* Floating Tech Badges */
.cta-floating-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 15, 25, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  animation: badgeFloat 6s ease-in-out infinite;
}

.floating-badge svg {
  color: var(--accent);
}

.floating-badge.badge-1 { top: 15%; left: 8%; animation-delay: 0s; }
.floating-badge.badge-2 { top: 25%; right: 10%; animation-delay: -1s; }
.floating-badge.badge-2 svg { color: var(--accent-purple); }
.floating-badge.badge-3 { top: 60%; left: 5%; animation-delay: -2s; }
.floating-badge.badge-4 { top: 70%; right: 8%; animation-delay: -3s; }
.floating-badge.badge-4 svg { color: var(--accent-purple); }
.floating-badge.badge-5 { top: 40%; left: 3%; animation-delay: -4s; }
.floating-badge.badge-6 { top: 45%; right: 5%; animation-delay: -5s; }
.floating-badge.badge-6 svg { color: var(--accent-purple); }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-15px); opacity: 1; }
}

/* Central CTA Card */
.cta-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 10;
}

.cta-card-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(100, 220, 255, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: cardGlow 6s ease-in-out infinite;
}

@keyframes cardGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.cta-card-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  overflow: hidden;
}

.cta-card-border svg {
  width: 100%;
  height: 100%;
}

.animated-border {
  stroke-dasharray: 20 10;
  animation: borderFlow 8s linear infinite;
}

@keyframes borderFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

.cta-card-inner {
  background: linear-gradient(180deg, rgba(18, 18, 28, 0.95) 0%, rgba(12, 12, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(100, 220, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Status Bar */
.cta-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #22c55e;
}

.status-dot-live {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.status-right {
  display: flex;
  align-items: center;
}

.response-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.response-time svg {
  color: var(--accent);
}

/* Main Content */
.cta-main-content {
  padding: 48px 48px 40px;
  text-align: center;
}

/* Icon Container */
.cta-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(100, 220, 255, 0.3);
}

.cta-icon-ring {
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(100, 220, 255, 0.3);
  border-radius: 26px;
  animation: iconRingPulse 3s ease-out infinite;
}

.cta-icon-ring.ring-2 {
  inset: -20px;
  border-color: rgba(53, 118, 197, 0.2);
  border-radius: 32px;
  animation-delay: 0.5s;
}

@keyframes iconRingPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #e0e0e8 50%, #b0b0c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Enhanced CTA Buttons */
.cta-buttons-final {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: .25rem 1rem !important;
  background: var(--accent);
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: .75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 0 40px rgba(100, 220, 255, 0.3),
    0 0 80px rgba(53, 118, 197, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {

  box-shadow:
    0 10px 50px rgba(100, 220, 255, 0.4),
    0 0 100px rgba(53, 118, 197, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-text {
  flex: 1;
}

.btn-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(100, 220, 255, 0.3);

}

/* Info Row */
/* Stick Figure Face with Following Eyes */
.cta-face-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.face-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.face-dome {
  display: none;
}

.face-eyes {
  display: flex;
  gap: 24px;
}

.eye {
  position: relative;
  transition: transform 0.15s ease;
}

/* Eyebrows */
.eye::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Left eyebrow - slight tilt */
.eye-left::before {
  transform: translateX(-50%) rotate(-5deg);
}

/* Right eyebrow - slight tilt */
.eye-right::before {
  transform: translateX(-50%) rotate(5deg);
}

/* Excited eyebrows - raised and more expressive */
.cta-face-container.excited .eye::before {
  top: -16px;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(100, 220, 255, 0.9), transparent);
  box-shadow: 0 0 8px rgba(100, 220, 255, 0.5);
}

.cta-face-container.excited .eye-left::before {
  transform: translateX(-50%) rotate(-12deg);
}

.cta-face-container.excited .eye-right::before {
  transform: translateX(-50%) rotate(12deg);
}

.eye-white {
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.cta-face-container.excited .eye-white {
  transform: scale(1.2);
  box-shadow: 
    0 2px 12px rgba(100, 220, 255, 0.5),
    0 0 25px rgba(100, 220, 255, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.eye-pupil {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, 
    #3a3a3a 0%, 
    #1a1a1a 50%, 
    #0a0a0a 100%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.08s ease-out;
  box-shadow: 
    inset 2px 2px 4px rgba(255, 255, 255, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Pupil highlight (reflection) */
.eye-pupil::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
}

.eye-pupil::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  top: 6px;
  left: 7px;
}

.cta-face-container.excited .eye-pupil {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, 
    #1a1a1a 0%, 
    #0a0a0a 100%
  );
}

/* Eyebrow raise effect when excited */
.cta-face-container.excited .eye {
  transform: translateY(-3px);
}

/* Sparkle effect when excited */
.cta-face-container.excited::before,
.cta-face-container.excited::after {
  content: '✦';
  position: absolute;
  font-size: 12px;
  color: rgba(100, 220, 255, 0.8);
  animation: sparkle 0.6s ease-in-out infinite;
}

.cta-face-container.excited::before {
  top: 50%;
  left: calc(50% - 70px);
  transform: translateY(-50%);
}

.cta-face-container.excited::after {
  top: 50%;
  right: calc(50% - 70px);
  transform: translateY(-50%);
  animation-delay: 0.3s;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: translateY(-50%) scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.2) rotate(180deg); }
}

/* Accent Lines */
.cta-accent-line {
  position: absolute;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(100, 220, 255, 0.2) 20%,
    rgba(53, 118, 197, 0.3) 50%,
    rgba(100, 220, 255, 0.2) 80%,
    transparent 100%
  );
}

.cta-accent-line.left { left: 8%; }
.cta-accent-line.right { right: 8%; }

.cta-accent-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(100, 220, 255, 0.8);
  animation: accentTravel 8s ease-in-out infinite;
}

.cta-accent-line.right::before {
  animation-delay: -4s;
}

@keyframes accentTravel {
  0%, 100% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 100px 0;
    min-height: auto;
  }
  
  .cta-floating-badges {
    display: none;
  }
  
  .cta-main-content {
    padding: 32px 24px;
  }
  
  .cta-face-container {
    padding: 20px;
  }
  
  .face-eyes {
    gap: 18px;
  }
  
  .eye::before {
    width: 22px;
    height: 3px;
    top: -10px;
  }
  
  .cta-face-container.excited .eye::before {
    top: -14px;
  }
  
  .eye-white {
    width: 26px;
    height: 26px;
  }
  
  .eye-pupil {
    width: 12px;
    height: 12px;
  }
  
  .cta-status-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .cta-accent-line {
    display: none;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 100px 0 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #05050a 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 220, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 220, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

/* Top glowing line */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(100, 220, 255, 0.2) 20%,
    rgba(53, 118, 197, 0.5) 50%,
    rgba(100, 220, 255, 0.2) 80%,
    transparent 100%
  );
}

/* Circuit SVG Background */
.footer-circuit {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  opacity: 0.4;
  pointer-events: none;
}

.circuit-line {
  stroke-dasharray: 8 4;
  animation: circuit-dash 20s linear infinite;
}

.cl-2 {
  animation-delay: -10s;
}

@keyframes circuit-dash {
  to {
    stroke-dashoffset: -100;
  }
}

.circuit-node {
  animation: node-pulse 2s ease-in-out infinite;
}

.circuit-node:nth-child(odd) {
  animation-delay: -1s;
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.traveling-light {
  filter: drop-shadow(0 0 6px rgba(100, 220, 255, 0.8));
}

/* Footer Main Layout */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-link {
  display: inline-flex;
  width: fit-content;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-brand-link:hover .footer-logo-img {
  opacity: 1;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: rgba(100, 220, 255, 0.1);
  border-color: rgba(100, 220, 255, 0.3);
  color: var(--accent);
}

/* Navigation Columns */
.footer-nav-cols {
  display: flex;
  gap: 100px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 120px;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-nav-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-nav-list a:hover {
  color: var(--accent);
}

.footer-nav-list a:hover::after {
  transform: scaleX(1);
}

/* Status Column */
.footer-status-col {
  display: flex;
  justify-content: flex-end;
}

.footer-status-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.footer-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(71, 186, 90, 0.4) 30%,
    rgba(71, 186, 90, 0.6) 50%,
    rgba(71, 186, 90, 0.4) 70%,
    transparent 100%
  );
}

.status-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background: #47ba5a;
  border-radius: 50%;
  position: relative;
}

.status-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(71, 186, 90, 0.3);
  border-radius: 50%;
  animation: status-ring 2s ease-out infinite;
}

@keyframes status-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.status-metrics {
  display: flex;
  gap: 24px;
}

.status-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-metric .metric-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-metric .metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .5rem 1rem;
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.15) 0%, rgba(53, 118, 197, 0.15) 100%);
  border: 1px solid rgba(100, 220, 255, 0.3);
  border-radius: .5rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.footer-cta-btn:hover {
  background: linear-gradient(135deg, rgba(100, 220, 255, 0.25) 0%, rgba(53, 118, 197, 0.25) 100%);
  border-color: rgba(100, 220, 255, 0.5);
  box-shadow: 0 8px 24px rgba(100, 220, 255, 0.15);
}

.footer-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Animated gradient line - enhanced */
.animated-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(100, 220, 255, 0.3) 15%,
    rgba(100, 220, 255, 0.7) 30%,
    rgba(53, 118, 197, 0.7) 50%,
    rgba(100, 220, 255, 0.7) 70%,
    rgba(100, 220, 255, 0.3) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gradient-flow 6s linear infinite;
}

.animated-divider::before {
  content: '';
  position: absolute;
  inset: -10px 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(100, 220, 255, 0.15) 30%,
    rgba(53, 118, 197, 0.15) 50%,
    rgba(100, 220, 255, 0.15) 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: gradient-flow 6s linear infinite;
  filter: blur(10px);
}

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

/* Animated pulse dot on divider */
.animated-divider .pulse-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--accent),
    0 0 20px var(--accent),
    0 0 40px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.7;
  }
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(100, 220, 255, 0.6);
  border-radius: 50%;
  animation: float-particle 15s linear infinite;
}

.particle::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: inherit;
  border-radius: inherit;
  filter: blur(4px);
  opacity: 0.5;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 25%; animation-delay: -3s; animation-duration: 22s; background: rgba(53, 118, 197, 0.6); }
.particle:nth-child(3) { left: 40%; animation-delay: -6s; animation-duration: 16s; }
.particle:nth-child(4) { left: 55%; animation-delay: -9s; animation-duration: 20s; background: rgba(53, 118, 197, 0.6); }
.particle:nth-child(5) { left: 70%; animation-delay: -12s; animation-duration: 24s; }
.particle:nth-child(6) { left: 85%; animation-delay: -15s; animation-duration: 17s; background: rgba(255, 200, 100, 0.5); }

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(10vh) scale(1);
  }
  100% {
    transform: translateY(-10vh) scale(0);
    opacity: 0;
  }
}

/* ============================================
   GLOW LINES (SVG-based decorations)
   ============================================ */
.glow-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow-lines svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow-lines .line-path {
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
}

.glow-lines .line-path.cyan {
  stroke: url(#cyan-gradient);
  filter: drop-shadow(0 0 8px rgba(100, 220, 255, 0.5));
}

.glow-lines .line-path.purple {
  stroke: url(#purple-gradient);
  filter: drop-shadow(0 0 8px rgba(53, 118, 197, 0.5));
}

/* Animated line drawing */
.glow-lines .animated-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-line 4s ease-in-out infinite alternate;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

/* Scroll-triggered fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for bento cards */
.bento-card.fade-in:nth-child(1) { transition-delay: 0s; }
.bento-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.bento-card.fade-in:nth-child(3) { transition-delay: 0.2s; }
.bento-card.fade-in:nth-child(4) { transition-delay: 0.3s; }
.bento-card.fade-in:nth-child(5) { transition-delay: 0.4s; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.footer-bottom-left p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-tech-stack {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.tech-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-icon-small {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: default;
}

.tech-icon-small svg {
  width: 16px;
  height: 16px;
}

.tech-icon-small:hover {
  color: var(--accent);
  opacity: 1;
}

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

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

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 380px;
  }

  .bento-medium {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .code-block {
    padding: 20px 24px;
    font-size: 0.75rem;
  }

  .code-container {
    width: 95%;
    border-radius: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    padding: 0 24px 24px;
  }

  .services, .process, .cta-section {
    padding: 80px 0;
  }

  .cta-section {
    padding: 100px 0;
  }

  /* Bento grid responsive */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: auto;
  }

  .bento-large {
    min-height: 350px;
  }

  .bento-medium {
    min-height: 250px;
  }

  .mockup-stats {
    flex-direction: column;
  }

  .stat-card {
    padding: 10px;
  }

  /* Hide circuit decorations on mobile */
  .circuit-left,
  .circuit-right {
    display: none;
  }

  /* Reduce particle count effect on mobile */
  .particles-container .particle:nth-child(n+4) {
    display: none;
  }

  /* Simplify flowing lines on mobile */
  .flowing-lines .flowing-line:nth-child(n+2) {
    display: none;
  }

  /* Smaller grid pattern on mobile */
  .process-squares {
    background-size: 40px 40px, 40px 40px, 120px 120px;
  }

  /* Simplify CTA effects on mobile */
  .cta-glow-orb {
    width: 300px;
    height: 300px;
  }

  .cta-accent-line {
    display: none;
  }

  .cta-star:nth-child(n+5) {
    display: none;
  }

  /* Reduce diamonds on mobile */
  .cta-diamonds {
    gap: 25px;
  }

  .diamond { width: 40px; height: 40px; }
  .diamond.sm { width: 28px; height: 28px; }
  .diamond.lg { width: 55px; height: 55px; }
  .diamond.xl { width: 70px; height: 70px; }

  .diamond:nth-child(n+25) {
    display: none;
  }

  /* Adjust section label on mobile */
  .section-label {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .cta-buttons-final {
    flex-direction: column;
    align-items: center;
  }

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

  .cta-content {
    padding: 20px;
  }

  /* Footer Responsive */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand-col {
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-nav-cols {
    justify-content: center;
    gap: 48px;
  }

  .footer-nav-col {
    align-items: center;
  }

  .footer-nav-list a::before {
    display: none;
  }

  .footer-status-col {
    justify-content: center;
  }

  .footer-status-card {
    max-width: 100%;
  }

  .status-metrics {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-circuit {
    display: none;
  }
}
/* Utility to pause animations for performance */
.paused, .paused * {
  animation-play-state: paused !important;
}
