.assistant-web-section {
  position: relative;
  min-height: 100%;
  padding: 56px 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.16), transparent 28%),
    #07111b;
}

.assistant-web-shell {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.assistant-web-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 18px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: #bae6fd;
  font-size: 14px;
  font-weight: 700;
}

.assistant-web-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 12px;
}

.assistant-web-subtitle {
  max-width: 660px;
  margin: 0 auto 34px;
  color: #9ca3af;
  line-height: 1.7;
}

.assistant-web-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.browser-mockup {
  position: relative;
  width: min(100%, 820px);
  min-height: 590px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(7, 17, 27, 0.98));
  box-shadow: 0 30px 90px rgba(8, 15, 26, 0.58);
  overflow: hidden;
}

.browser-mockup.is-active {
  box-shadow: 0 30px 90px rgba(8, 15, 26, 0.58), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.browser-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

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

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.browser-dots span:nth-child(1) { background: #fb7185; }
.browser-dots span:nth-child(2) { background: #facc15; }
.browser-dots span:nth-child(3) { background: #4ade80; }

.browser-address {
  flex: 1;
  text-align: left;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 13px;
}

.browser-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 520px;
}

.browser-sidebar {
  padding: 28px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-chip {
  padding: 12px 14px;
  border-radius: 16px;
  color: #94a3b8;
  text-align: left;
  margin-bottom: 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.sidebar-chip.active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.22);
  color: #e0f2fe;
}

.browser-content {
  padding: 28px;
  text-align: left;
}

.browser-hero-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.12), rgba(79, 172, 254, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.14);
  margin-bottom: 18px;
}

.browser-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.browser-hero-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  margin-bottom: 12px;
}

.browser-hero-card p {
  color: #cbd5e1;
  max-width: 560px;
  line-height: 1.7;
}

.browser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.browser-mini-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 140px;
  transition: all 0.35s ease;
}

.browser-mini-card strong,
.browser-mini-card span {
  word-break: break-word;
}

.browser-mini-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.browser-mini-card span {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 14px;
}

.browser-mini-card.highlighted {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.08);
}

.assistant-fab {
  position: absolute;
  right: 24px;
  bottom: 26px;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistant-fab-ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.25);
  animation: assistantPulseRing 2.2s ease-in-out infinite;
}

.assistant-fab button {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #4facfe);
  color: #04111f;
  font-size: 24px;
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.3);
}

.assistant-overlay-card {
  position: absolute;
  max-width: 300px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(10, 15, 28, 0.84);
  border: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow: 0 24px 60px rgba(8, 15, 26, 0.5);
  text-align: left;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.assistant-overlay-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.assistant-overlay-card--primary {
  top: 104px;
  right: 28px;
}

.assistant-overlay-card--secondary {
  left: 28px;
  bottom: 42px;
}

.assistant-badge-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #67e8f9;
  margin-right: 8px;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.9);
}

.assistant-progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  gap: 10px;
}

.assistant-progress-step {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.assistant-progress-step span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #4facfe);
  transition: width 0.45s ease;
}

.assistant-progress-step.active span,
.assistant-progress-step.completed span {
  width: 100%;
}

@keyframes assistantPulseRing {
  0%, 100% { transform: scale(0.94); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 900px) {
  .browser-body {
    grid-template-columns: 1fr;
  }

  .browser-sidebar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sidebar-chip {
    margin-bottom: 0;
    white-space: nowrap;
  }

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

@media (max-width: 640px) {
  .assistant-web-section {
    padding: 42px 14px;
  }

  .browser-mockup {
    min-height: 720px;
  }

  .browser-content {
    padding: 20px;
  }

  .browser-hero-card {
    padding: 22px;
  }

  .assistant-overlay-card {
    max-width: calc(100% - 32px);
  }

  .assistant-overlay-card--primary {
    top: 110px;
    right: 16px;
  }

  .assistant-overlay-card--secondary {
    left: 16px;
    bottom: 94px;
  }

  .assistant-progress {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-fab-ring {
    animation: none !important;
  }

  .assistant-overlay-card,
  .assistant-progress-step span,
  .browser-mini-card,
  .sidebar-chip {
    transition: none !important;
  }
}
