.cc-home-wrapper {
  --cc-navy: #101828;
  --cc-deep: #0f172a;
  --cc-blue: #2563eb;
  --cc-cyan: #06b6d4;
  --cc-teal: #14b8a6;
  --cc-purple: #7c3aed;
  --cc-orange: #f97316;
  --cc-light: #f8fafc;
  --cc-muted: #64748b;
  --cc-border: #e2e8f0;
  --cc-white: #ffffff;
  --cc-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --cc-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  color: var(--cc-navy);
  background: var(--cc-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

.cc-home-wrapper *,
.cc-home-wrapper *::before,
.cc-home-wrapper *::after {
  box-sizing: border-box;
}

.cc-home-wrapper a {
  color: inherit;
  text-decoration: none;
}

.cc-home-wrapper a:focus-visible,
.cc-home-wrapper button:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.55);
  outline-offset: 4px;
}

.cc-home-section {
  position: relative;
  padding: 96px 20px;
}

.cc-home-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.cc-home-narrow {
  width: min(860px, 100%);
  text-align: center;
}

.cc-section-heading {
  width: min(820px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.cc-home-eyebrow {
  margin: 0 0 14px;
  color: var(--cc-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cc-home-title,
.cc-hero-title {
  margin: 0;
  color: var(--cc-navy);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cc-hero-title {
  color: var(--cc-white);
  font-size: clamp(2.65rem, 6vw, 5.4rem);
}

.cc-home-title {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.cc-hero-subtitle,
.cc-home-subtitle,
.cc-home-text-large {
  color: var(--cc-muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.cc-hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  margin: 24px 0 0;
}

.cc-hero-note {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 750;
  font-size: 1.06rem;
  margin: 18px 0 0;
}

.cc-home-subtitle {
  margin: 18px auto 0;
  max-width: 820px;
}

.cc-home-text-large {
  margin: 18px auto 0;
}

.cc-home-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 18%, rgba(37, 99, 235, 0.32), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(124, 58, 237, 0.32), transparent 32%),
    radial-gradient(circle at 72% 88%, rgba(20, 184, 166, 0.18), transparent 30%),
    linear-gradient(135deg, var(--cc-deep) 0%, #111d38 48%, #15102a 100%);
  overflow: hidden;
}

.cc-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 86%);
  pointer-events: none;
}

.cc-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 62px;
  align-items: center;
}

.cc-home-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.cc-btn-primary {
  background: linear-gradient(135deg, var(--cc-cyan), var(--cc-blue));
  color: var(--cc-white) !important;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}

.cc-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--cc-white) !important;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.cc-btn-secondary-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--cc-navy) !important;
  border-color: rgba(255, 255, 255, 0.18);
}

.cc-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.cc-bot-orbit {
  position: absolute;
  inset: 0;
  border-radius: 36px;
}

.cc-bot-orbit::before,
.cc-bot-orbit::after {
  content: "";
  position: absolute;
  inset: 58px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.cc-bot-orbit::after {
  inset: 104px 70px;
  transform: rotate(-18deg);
}

.cc-system-node {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
  font-weight: 800;
  font-size: 0.82rem;
}

.cc-system-node-1 { top: 16px; left: 50%; transform: translateX(-50%); }
.cc-system-node-2 { top: 76px; right: 18px; }
.cc-system-node-3 { right: 0; top: 48%; }
.cc-system-node-4 { right: 48px; bottom: 58px; }
.cc-system-node-5 { left: 50%; bottom: 14px; transform: translateX(-50%); }
.cc-system-node-6 { left: 34px; bottom: 70px; }
.cc-system-node-7 { left: 0; top: 48%; }
.cc-system-node-8 { top: 76px; left: 24px; }

.cc-bot-panel {
  position: relative;
  z-index: 2;
  width: min(390px, 92%);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28), 0 0 46px rgba(6, 182, 212, 0.22);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.cc-bot-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  color: var(--cc-white);
  background: linear-gradient(135deg, var(--cc-blue), var(--cc-purple));
  font-weight: 850;
}

.cc-bot-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18);
}

.cc-bot-thread {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cc-bot-message {
  max-width: 86%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 18px;
  font-weight: 650;
  font-size: 0.93rem;
}

.cc-bot-message-user {
  margin-left: auto;
  background: #e0f2fe;
  color: #075985;
  border-bottom-right-radius: 7px;
}

.cc-bot-message-bot {
  background: var(--cc-white);
  color: var(--cc-navy);
  border: 1px solid var(--cc-border);
  border-bottom-left-radius: 7px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.cc-bot-prompt-wrap {
  margin-top: 20px;
  padding: 14px;
  border-radius: 18px;
  background: #f1f5f9;
  border: 1px solid var(--cc-border);
}

.cc-bot-prompt-label {
  display: block;
  margin-bottom: 5px;
  color: var(--cc-muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cc-bot-prompt {
  color: var(--cc-blue);
  font-weight: 850;
}

.cc-home-problem {
  background: var(--cc-white);
}

.cc-home-corebots,
.cc-home-industries,
.cc-home-why {
  background: var(--cc-light);
}

.cc-home-services,
.cc-home-process {
  background: var(--cc-white);
}

.cc-home-grid {
  display: grid;
  gap: 22px;
}

.cc-home-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cc-home-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cc-home-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cc-home-card {
  position: relative;
  min-width: 0;
  padding: 26px;
  border-radius: 26px;
  background: var(--cc-white);
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: var(--cc-shadow-soft);
  overflow: hidden;
}

.cc-home-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cc-cyan), var(--cc-purple));
  opacity: 0.85;
}

.cc-home-card-soft {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cc-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(124, 58, 237, 0.18));
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.cc-home-card-title {
  margin: 0 0 10px;
  color: var(--cc-navy);
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cc-home-card-text {
  margin: 0;
  color: var(--cc-muted);
  font-size: 0.96rem;
}

.cc-home-callout {
  margin: 34px auto 0;
  width: min(820px, 100%);
  padding: 22px 26px;
  color: #075985;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 24px;
  text-align: center;
  font-weight: 800;
}

.cc-home-callout p {
  margin: 0;
}

.cc-industry-grid {
  align-items: stretch;
}

.cc-industry-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.cc-use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cc-use-list li {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 750;
}

.cc-process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cc-process-step {
  padding: 24px;
  border-radius: 26px;
  background: var(--cc-white);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow-soft);
}

.cc-process-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cc-cyan);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.55rem;
}

.cc-process-step h3 {
  margin: 0 0 10px;
  color: var(--cc-navy);
  font-size: 1.07rem;
}

.cc-process-step p {
  margin: 0;
  color: var(--cc-muted);
  font-size: 0.92rem;
}

.cc-home-final-cta {
  background:
    radial-gradient(circle at 14% 22%, rgba(6, 182, 212, 0.28), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(249, 115, 22, 0.16), transparent 26%),
    linear-gradient(135deg, var(--cc-deep), #15102a);
}

.cc-final-panel {
  padding: clamp(34px, 6vw, 74px);
  border-radius: 34px;
  color: var(--cc-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
  backdrop-filter: blur(18px);
}

.cc-final-panel .cc-home-title,
.cc-final-panel .cc-home-subtitle {
  color: var(--cc-white);
}

.cc-final-panel .cc-home-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.cc-final-panel .cc-home-cta {
  justify-content: center;
}

.cc-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.cc-reveal.cc-is-visible,
.cc-home-wrapper.cc-reduced-motion .cc-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .cc-home-section {
    padding: 80px 20px;
  }

  .cc-hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cc-hero-content {
    text-align: center;
  }

  .cc-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .cc-home-cta {
    justify-content: center;
  }

  .cc-hero-visual {
    min-height: 500px;
  }

  .cc-home-grid-4,
  .cc-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cc-home-section {
    padding: 66px 16px;
  }

  .cc-home-hero {
    min-height: auto;
    padding-top: 86px;
  }

  .cc-home-grid-2,
  .cc-home-grid-3,
  .cc-home-grid-4,
  .cc-process-steps {
    grid-template-columns: 1fr;
  }

  .cc-industry-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .cc-hero-visual {
    min-height: 430px;
  }

  .cc-bot-orbit::before,
  .cc-bot-orbit::after {
    display: none;
  }

  .cc-system-node {
    position: static;
    min-width: auto;
    min-height: 32px;
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .cc-bot-orbit {
    inset: auto 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    transform: none;
    padding: 0 4px;
  }

  .cc-bot-panel {
    margin-bottom: 68px;
  }

  .cc-home-card,
  .cc-process-step {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .cc-home-section {
    padding: 56px 14px;
  }

  .cc-hero-title {
    font-size: 2.35rem;
  }

  .cc-home-title {
    font-size: 1.85rem;
  }

  .cc-home-cta,
  .cc-btn {
    width: 100%;
  }

  .cc-bot-panel {
    width: 100%;
    border-radius: 24px;
  }

  .cc-hero-visual {
    min-height: 410px;
  }

  .cc-final-panel {
    border-radius: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-home-wrapper *,
  .cc-home-wrapper *::before,
  .cc-home-wrapper *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .cc-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
