/* Artificial Intelligence Palo Alto — 01 Hero · AI upgrade simulator */

@keyframes cw-artificial-intelligence-palo-alto-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 245, 60, 0.6);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(212, 245, 60, 0);
  }
}

@keyframes cw-artificial-intelligence-palo-alto-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-artificial-intelligence-palo-alto-hero {
  background:
    radial-gradient(700px 520px at 78% 40%, rgba(183, 166, 245, 0.22), transparent 70%),
    #141210;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-artificial-intelligence-palo-alto-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 90px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.cw-artificial-intelligence-palo-alto-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.cw-artificial-intelligence-palo-alto-hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #ff7a50;
}

.cw-artificial-intelligence-palo-alto-hero__kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4f53c;
  animation: cw-artificial-intelligence-palo-alto-pulse 1.6s infinite;
  flex-shrink: 0;
}

.cw-artificial-intelligence-palo-alto-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.cw-artificial-intelligence-palo-alto-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #b7a6f5;
}

.cw-artificial-intelligence-palo-alto-hero__lead {
  margin: 0;
  max-width: 580px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(234, 231, 225, 0.78);
  text-wrap: pretty;
}

.cw-artificial-intelligence-palo-alto-hero__lead-strong {
  color: #f3efe7;
  font-weight: 600;
}

.cw-artificial-intelligence-palo-alto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.cw-artificial-intelligence-palo-alto-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cw-artificial-intelligence-palo-alto-hero__btn--primary {
  background: #e0431c;
  color: #fff;
}

.cw-artificial-intelligence-palo-alto-hero__btn--primary:hover,
.cw-artificial-intelligence-palo-alto-hero__btn--primary:focus-visible {
  background: #c93a16;
  color: #fff;
}

.cw-artificial-intelligence-palo-alto-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.25);
  color: #f3efe7;
}

.cw-artificial-intelligence-palo-alto-hero__btn--secondary:hover,
.cw-artificial-intelligence-palo-alto-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-artificial-intelligence-palo-alto-hero__btn:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 3px;
}

.cw-artificial-intelligence-palo-alto-hero__sim {
  background: #1c1a17;
  border: 1px solid rgba(243, 239, 231, 0.1);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
  align-items: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.cw-artificial-intelligence-palo-alto-hero__sim-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cw-artificial-intelligence-palo-alto-hero__sim-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #8e877c;
}

.cw-artificial-intelligence-palo-alto-hero__toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-artificial-intelligence-palo-alto-hero__toggle {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(243, 239, 231, 0.1);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
}

.cw-artificial-intelligence-palo-alto-hero__toggle:hover {
  border-color: rgba(243, 239, 231, 0.22);
}

.cw-artificial-intelligence-palo-alto-hero__toggle:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-artificial-intelligence-palo-alto-hero__toggle.is-on {
  border-color: rgba(212, 245, 60, 0.4);
  background: rgba(212, 245, 60, 0.07);
}

.cw-artificial-intelligence-palo-alto-hero__switch {
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: rgba(243, 239, 231, 0.18);
  position: relative;
  flex: none;
  transition: background 0.2s;
}

.cw-artificial-intelligence-palo-alto-hero__toggle.is-on .cw-artificial-intelligence-palo-alto-hero__switch {
  background: #d4f53c;
}

.cw-artificial-intelligence-palo-alto-hero__switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}

.cw-artificial-intelligence-palo-alto-hero__toggle.is-on .cw-artificial-intelligence-palo-alto-hero__switch-knob {
  left: 14px;
}

.cw-artificial-intelligence-palo-alto-hero__toggle-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.cw-artificial-intelligence-palo-alto-hero__toggle-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #f3efe7;
}

.cw-artificial-intelligence-palo-alto-hero__toggle-sub {
  font-size: 11.5px;
  color: #8e877c;
}

.cw-artificial-intelligence-palo-alto-hero__kpis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.cw-artificial-intelligence-palo-alto-hero__kpi {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: #8e877c;
}

.cw-artificial-intelligence-palo-alto-hero__kpi-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(243, 239, 231, 0.08);
  overflow: hidden;
}

.cw-artificial-intelligence-palo-alto-hero__kpi-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
}

.cw-artificial-intelligence-palo-alto-hero__kpi-val {
  color: #f3efe7;
  text-align: right;
}

.cw-artificial-intelligence-palo-alto-hero__phone-wrap {
  display: flex;
  justify-content: center;
}

.cw-artificial-intelligence-palo-alto-hero__phone {
  width: 210px;
  aspect-ratio: 9 / 18.5;
  border-radius: 30px;
  border: 6px solid #2a2621;
  background: #f6f3ee;
  color: #141210;
  padding: 26px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

.cw-artificial-intelligence-palo-alto-hero__phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 10px;
  border-radius: 999px;
  background: #2a2621;
}

.cw-artificial-intelligence-palo-alto-hero__phone-greet {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
}

.cw-artificial-intelligence-palo-alto-hero__widget {
  animation: cw-artificial-intelligence-palo-alto-fade 0.35s both;
}

.cw-artificial-intelligence-palo-alto-hero__widget[hidden] {
  display: none !important;
}

.cw-artificial-intelligence-palo-alto-hero__widget-k {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #8e877c;
}

.cw-artificial-intelligence-palo-alto-hero__feed-row {
  display: flex;
  gap: 5px;
}

.cw-artificial-intelligence-palo-alto-hero__feed-row span {
  flex: 1;
  height: 44px;
  border-radius: 10px;
}

.cw-artificial-intelligence-palo-alto-hero__feed-row span:nth-child(1) {
  background: #cfc4f6;
}

.cw-artificial-intelligence-palo-alto-hero__feed-row span:nth-child(2) {
  background: #ffe3d8;
}

.cw-artificial-intelligence-palo-alto-hero__feed-row span:nth-child(3) {
  background: #d4f53c;
}

.cw-artificial-intelligence-palo-alto-hero__widget--feed {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cw-artificial-intelligence-palo-alto-hero__widget--suggest {
  border-radius: 10px;
  background: #141210;
  color: #f3efe7;
  padding: 8px 10px;
  font-size: 10.5px;
  line-height: 1.4;
}

.cw-artificial-intelligence-palo-alto-hero__suggest-em {
  color: #d4f53c;
}

.cw-artificial-intelligence-palo-alto-hero__widget--chat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
}

.cw-artificial-intelligence-palo-alto-hero__chat-user {
  align-self: flex-end;
  border-radius: 10px 10px 2px 10px;
  background: #e0431c;
  color: #fff;
  padding: 6px 8px;
}

.cw-artificial-intelligence-palo-alto-hero__chat-bot {
  border-radius: 10px 10px 10px 2px;
  background: #fff;
  padding: 6px 8px;
  border: 1px solid #e4ddd0;
}

.cw-artificial-intelligence-palo-alto-hero__widget--vision {
  border-radius: 10px;
  border: 1.5px dashed #7c5cff;
  padding: 8px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-artificial-intelligence-palo-alto-hero__vision-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #cfc4f6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cw-artificial-intelligence-palo-alto-hero__widget--auto {
  border-radius: 10px;
  background: #d4f53c;
  padding: 8px 10px;
  font-size: 10.5px;
  font-weight: 600;
}

.cw-artificial-intelligence-palo-alto-hero__phone-nav {
  margin-top: auto;
  height: 22px;
  border-radius: 8px;
  background: #ede7dc;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 9px;
}
