:root {
  --bg-dark: #030712;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --border-light: rgba(124, 58, 237, 0.15);
  --border-hover: rgba(56, 189, 248, 0.4);
  --primary: #7c3aed;
  --primary-glow: rgba(124, 58, 237, 0.3);
  --accent: #0ea5e9;
  --accent-glow: rgba(14, 165, 233, 0.35);
  --success: #10b981;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --container-width: 1240px;
  --header-height: 80px;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  animation: pulse-slow 10s infinite ease-in-out;
}

.orb-1 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -10vw;
  left: -10vw;
}

.orb-2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 30vw;
  right: -15vw;
  animation-delay: -3s;
}

.orb-3 {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  bottom: -5vw;
  left: 20vw;
  animation-delay: -5s;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 992px) {
  .grid-2col {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.align-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  background-color: rgba(3, 7, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
}

.logo-main {
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-badge {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.nav-menu.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  gap: 20px;
  align-items: flex-start;
  animation: slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-nav {
  padding: 10px 18px;
}

.btn-icon {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c084fc;
}

.icon-sparkles {
  width: 14px;
  height: 14px;
  color: #c084fc;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content,
.hero-console-container,
.capabilities-text,
.capabilities-visual {
  min-width: 0;
}

.hero-console-container {
  width: 100%;
}

@media (min-width: 1200px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.badge-wrapper {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.2rem;
  }
}

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

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.console-window {
  background-color: #0b0f19;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(124, 58, 237, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 520px;
  min-width: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.console-window:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.console-header {
  background-color: rgba(17, 24, 39, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

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

.dot.red {
  background-color: #ef4444;
}

.dot.yellow {
  background-color: #f59e0b;
}

.dot.green {
  background-color: #10b981;
}

.console-title,
.console-status {
  font-family: "Fira Code", monospace;
  font-size: 0.75rem;
}

.console-title {
  color: var(--text-muted);
  text-align: center;
  flex: 1;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
}

.pulsing {
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.console-chat {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.console-chat > * {
  min-width: 0;
}

.console-chat::-webkit-scrollbar {
  width: 8px;
}

.console-chat::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.chat-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.assistant {
  justify-content: flex-start;
}

.avatar-wrapper {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(14, 165, 233, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-bubble {
  max-width: 82%;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.chat-message.user .message-bubble {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(14, 165, 233, 0.15));
}

.message-sender {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.message-bubble p {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  animation: typing-bounce 1s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.card-widget,
.checklist-widget {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 12px;
}

.widget-row,
.checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.widget-row:first-of-type,
.checklist-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.widget-row.highlight {
  color: var(--text-primary);
}

.checklist-item {
  justify-content: flex-start;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.console-controls {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 24, 39, 0.55);
}

.suggested-prompts-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.suggested-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prompt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.prompt-chip:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.chip-icon {
  width: 16px;
  height: 16px;
}

.features-section,
.capabilities-section,
.integrations-section,
.cta-section {
  padding: 88px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.78), rgba(8, 12, 22, 0.88));
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.animate-hover {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.animate-hover:hover,
.feature-card:hover,
.tab-item:hover,
.logo-badge:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}

.feature-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.feature-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.inline-icon {
  vertical-align: middle;
  margin-right: 8px;
}

.capabilities-tabs {
  display: grid;
  gap: 18px;
}

.tab-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-item.active {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.92), rgba(17, 24, 39, 0.84));
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.18);
}

.tab-header {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
}

.tab-content {
  color: var(--text-secondary);
}

.visual-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.82), rgba(9, 12, 24, 0.94));
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.visual-indicator {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.visual-title {
  font-weight: 700;
}

.visual-body {
  padding: 22px;
}

.code-editor-mock {
  border-radius: 14px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.code-editor-mock pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Fira Code", monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #dbeafe;
}

.code-editor-mock .comment {
  color: #64748b;
}

.code-editor-mock .tag {
  color: #38bdf8;
}

.code-editor-mock .attr {
  color: #c084fc;
}

.code-editor-mock .val {
  color: #facc15;
}

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

@media (min-width: 768px) {
  .logo-cloud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .logo-cloud {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.logo-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 18, 34, 0.95), rgba(29, 17, 54, 0.9));
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 24px;
  padding: 48px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-glow-bg {
  position: absolute;
  inset: auto auto -40px 50%;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 65%);
  pointer-events: none;
}

.cta-title {
  position: relative;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-desc {
  position: relative;
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer {
  padding: 42px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-left {
  max-width: 420px;
}

.footer-tagline {
  margin-top: 14px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-column a:hover,
.social-icons a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.social-icons a:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .hero-section,
  .features-section,
  .capabilities-section,
  .integrations-section,
  .cta-section {
    padding: 72px 0;
  }

  .console-header {
    flex-wrap: wrap;
  }

  .console-title {
    order: 3;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 18px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .section-title,
  .cta-title {
    font-size: 2rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .message-bubble {
    max-width: 100%;
  }

  .prompt-chip {
    width: 100%;
    justify-content: center;
  }
}
