/* Apple-inspired light theme — overrides dark neon styles. */

:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --navy: #111111;
  --cyan: #111111;
  --green: #111111;
  --purple: #111111;
  --white: #111111;
  --muted: #666666;
  --border: #eaeaea;
  --glow-green: rgba(17, 17, 17, 0.08);
  --glow-cyan: rgba(17, 17, 17, 0.06);
  --radius: 16px;
  --font: Inter, system-ui, sans-serif;
  --max: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #111111;
  background: #fafafa;
  font-family: var(--font);
}

.section-inner,
.nav-inner,
.hero-inner {
  width: min(1200px, calc(100% - 2rem));
}

.section {
  padding: 96px 0;
}

.section-label {
  background: #ffffff;
  color: #666666;
  border-color: #eaeaea;
  letter-spacing: 0.06em;
}

.section-title {
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 36px;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 64px;
  }
}

.section-subtitle,
.hero-sub,
.demo-benefit,
.hint,
.footer-brand p,
.footer-cta p,
.mid-cta p {
  color: #666666;
}

/* Navbar */
.site-header {
  height: 72px;
  background: rgba(250, 250, 250, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: none;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: #eaeaea;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.brand-text {
  font-weight: 600;
  color: #111111;
}

.nav-links a {
  position: relative;
  color: #666666;
  font-weight: 500;
  background: transparent;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.2rem;
  height: 1px;
  background: #111111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #111111;
  background: transparent;
  box-shadow: none;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle,
.mobile-nav {
  background: #ffffff;
  color: #111111;
  border-color: #eaeaea;
}

.mobile-nav a {
  color: #111111;
}

/* Buttons */
.btn {
  border-radius: 999px;
  font-weight: 600;
  transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease, color 250ms ease;
}

.btn-primary {
  color: #ffffff;
  background: #111111;
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
  background: #111111;
  background-position: 0 0;
}

.btn-primary:active,
.btn-ghost:active {
  transform: scale(0.98);
}

.btn-ghost {
  color: #111111;
  background: #ffffff;
  border-color: #eaeaea;
  backdrop-filter: none;
}

.btn-ghost:hover {
  background: #fafafa;
  border-color: #111111;
}

/* Hero */
.hero {
  min-height: auto;
  padding: 72px 0 48px;
  background: #fafafa;
}

.hero-bg,
.hero-grid,
.hero-particles,
.hero-curve,
.connector {
  display: none;
}

.hero-orb {
  filter: blur(40px);
  opacity: 0.35;
}

.hero-orb-a {
  background: #f3f3f3;
}

.hero-orb-b,
.hero-orb-c {
  background: #ececec;
}

.hero-title {
  font-weight: 600;
  letter-spacing: -0.045em;
  font-size: 36px;
  color: #111111;
  animation: fadeUp 700ms ease both;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 64px;
  }
}

.gradient-text {
  background: none;
  color: #111111;
  -webkit-text-fill-color: #111111;
  animation: none;
}

.hero-kicker {
  color: #666666;
}

.hero-kicker .dot {
  background: #111111;
  box-shadow: none;
  animation: none;
}

.hero-visual {
  background:
    radial-gradient(420px 240px at 50% 40%, rgba(17, 17, 17, 0.05), transparent 70%);
}

.hero-visual-stage {
  animation: fadeUp 800ms ease 80ms both;
}

/* Cards */
.glass-card,
.glow-card,
.depth-card,
.service-card,
.agent-hub-card,
.demo-shell,
.dash-core,
.float-card,
.stat-card,
.mid-cta {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #111111;
}

.service-card,
.agent-hub-card,
.demo-shell,
.float-card {
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.service-card:hover,
.agent-hub-card:hover,
.demo-shell:hover,
.float-card:hover {
  transform: translateY(-4px);
  border-color: #d4d4d4;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
}

.service-icon {
  background: #fafafa;
  border-color: #eaeaea;
  color: #111111;
}

.service-tag,
.service-link,
.demo-try,
.chat-online,
.dash-status {
  color: #111111;
}

.service-card p,
.agent-hub-card p,
.dash-stat span,
.dash-online {
  color: #666666;
}

.services-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .services-grid .service-card:nth-child(1) {
    grid-column: span 7;
  }

  .services-grid .service-card:nth-child(2) {
    grid-column: span 5;
  }

  .services-grid .service-card:nth-child(n + 3) {
    grid-column: span 4;
  }

  .services-grid .service-card:last-child:nth-child(7) {
    grid-column: span 4;
  }
}

/* Demo surfaces */
.chat-panel,
.agent-panel,
.ig-phone,
.ig-screen,
.phone-frame,
.kanban-col,
.flow-node,
.dropzone,
.modal,
.stat-card {
  background: #ffffff;
  color: #111111;
  border-color: #eaeaea;
}

.chat-stream,
.agent-stream,
.ig-stream,
.phone-screen {
  background: #fafafa;
}

.msg-ai,
.agent-bubble.bot,
.sms-bubble,
.voice-line,
.crm-card,
.lead-card {
  background: #ffffff;
  color: #111111;
  border-color: #eaeaea;
}

.msg-user,
.agent-bubble.user,
.sms-bubble.user {
  background: #111111;
  color: #ffffff;
}

.chip,
.day-tab,
.time-slot,
.arch-pill,
.agent-chip {
  background: #ffffff;
  color: #111111;
  border-color: #eaeaea;
}

.chip:hover,
.day-tab.is-active,
.time-slot.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.agent-chip.is-live,
.badge-hot,
.flow-result {
  color: #111111;
  background: #f5f5f5;
  border-color: #eaeaea;
}

.field input,
.field input[type="number"],
.chat-composer input,
.modal .field input {
  background: #ffffff;
  color: #111111;
  border-color: #eaeaea;
}

.data-table th {
  background: #fafafa;
  color: #666666;
}

.data-table td {
  color: #111111;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #eaeaea;
}

.footer-cta h2,
.mid-cta h2,
.dash-core h2,
.service-card h3,
.agent-hub-card h3 {
  color: #111111;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer-col a:hover {
  color: #111111;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-visual-stage,
  .service-card,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-actions .btn,
  .footer-actions .btn,
  .mid-cta .btn {
    width: 100%;
  }
}
