:root {
  color-scheme: dark;
  --bg: #030304;
  --bg-soft: #0a0b10;
  --panel: rgba(20, 22, 30, 0.6);
  --panel-glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --accent: #4a90e2;
  --accent-glow: #6ba3ff;
  --text: #eaeaec;
  --text-muted: #8f9199;
  --gradient: radial-gradient(circle at 15% 0%, rgba(94, 106, 210, 0.08), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(125, 138, 255, 0.05), transparent 40%), var(--bg);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  background-image: var(--gradient);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Animation */
/* Background Animation */
.workflow-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% -20%, #1a1d2d 0%, #030304 60%);
  perspective: 1000px;
}

.floating-terminals {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  transform: rotateX(60deg) translateY(-50px) translateZ(-200px);
}

.terminal {
  position: absolute;
  width: 380px;
  background: rgba(10, 12, 20, 0.95);
  border: 1px solid rgba(94, 106, 210, 0.4);
  border-radius: 8px;
  padding: 16px;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 0.8rem;
  color: #a5aabf;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform-origin: center;
  animation: terminal-pop 11s ease-out infinite;
  backface-visibility: hidden;
}

.terminal .header {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  opacity: 0.7;
}

.terminal .header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.terminal .line {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.terminal .prompt {
  color: #ef4444;
  font-weight: bold;
  margin-right: 8px;
  white-space: nowrap;
}

.terminal .output {
  color: var(--accent-glow);
  margin-bottom: 4px;
  opacity: 0;
}

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typing 2s steps(30, end) forwards;
  animation-delay: 0.8s;
  position: relative;
  animation-play-state: paused;
}

.typewriter::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent);
  animation: blink 0.75s step-end infinite, hide-cursor 0s forwards;
  animation-delay: 0.8s, 2.8s;
  animation-play-state: paused;
}

.typewriter.typing-active::after {
  animation-play-state: running;
}

.delay-1 {
  animation: fade-in 0.5s forwards;
  animation-delay: 3.5s;
  animation-play-state: paused;
}

.delay-2 {
  animation: fade-in 0.5s forwards;
  animation-delay: 4.5s;
  animation-play-state: paused;
}

/* Position terminals on the grid */
.t1 {
  top: 25%;
  left: 10%;
  animation-delay: 0s;
}

.t2 {
  top: 55%;
  right: 15%;
  animation-delay: 5s;
}

@keyframes terminal-pop {
  0% {
    opacity: 0;
    transform: translateZ(50px) scale(0.9);
  }

  5% {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }

  54.5% {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateZ(20px) scale(0.95);
  }
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

@keyframes hide-cursor {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* 3D Grid Overlay */
.grid-overlay {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(94, 106, 210, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 106, 210, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(60deg) translateY(-100px) translateZ(-200px);
  animation: grid-move 20s linear infinite;
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 80%, transparent 100%);
}

@keyframes grid-move {
  0% {
    transform: rotateX(60deg) translateY(0) translateZ(-200px);
  }

  100% {
    transform: rotateX(60deg) translateY(60px) translateZ(-200px);
  }
}

/* Scanline */
.workflow-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 51%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.2;
}

.workflow-bg svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(94, 106, 210, 0.5));
}

.flow-path {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: dash 15s linear infinite;
  filter: drop-shadow(0 0 5px #5e6ad2);
}

@keyframes dash {
  to {
    stroke-dashoffset: -3000;
  }
}

.page-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #fff;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-glow);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__text strong {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo__text small {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: #fff;
}

.nav__actions {
  display: flex;
  gap: 1rem;
}

.nav__toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.hero__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero__text-card {
  background: rgba(14, 16, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-glow);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #fff, #a5aabf);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero__lede {
  font-size: 1.25rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}

/* Panels & Cards */
.panel,
.card {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero__panel .panel {
  padding: 2rem;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero__panel:hover .panel {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.dot--success {
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

.dot--warning {
  background: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.dot--info {
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}

.timeline strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.timeline p {
  margin: 0;
  font-size: 0.85rem;
}

.status-live {
  color: #4ade80;
  position: relative;
  padding-left: 12px;
}

.status-live::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

/* Sections */
.section__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section__intro h2 {
  font-size: 2.5rem;
}

.section__intro h2.single-line {
  white-space: nowrap;
}

.section__intro .eyebrow {
  color: var(--accent-glow);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.grid--3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Card Micro-interactions */
.card {
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(94, 106, 210, 0.3);
}

.card:hover::after {
  transform: translateX(100%);
}

/* Text Glitch Effect (Subtle) */
@keyframes glitch-anim {
  0% {
    clip-path: inset(20% 0 80% 0);
    transform: translate(-2px, 1px);
  }

  20% {
    clip-path: inset(60% 0 10% 0);
    transform: translate(2px, -1px);
  }

  40% {
    clip-path: inset(40% 0 50% 0);
    transform: translate(-2px, 2px);
  }

  60% {
    clip-path: inset(80% 0 5% 0);
    transform: translate(2px, -2px);
  }

  80% {
    clip-path: inset(10% 0 70% 0);
    transform: translate(-1px, 1px);
  }

  100% {
    clip-path: inset(30% 0 50% 0);
    transform: translate(1px, -1px);
  }
}

/* Monospace for technical terms */
.chip,
.badge,
.tag,
code {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
  letter-spacing: -0.03em;
}

.chip {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-glow);
  border: 1px solid rgba(94, 106, 210, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Marketplace */
/* Marketplace */
.marketplace {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  padding: 2rem 0;
}

.marketplace__panel {
  position: relative;
}

.marketplace__panel .panel {
  background: #0e1016;
  /* Darker background for the card */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 0;
  /* Reset padding for internal layout */
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.marketplace__panel header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.marketplace__panel header small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.marketplace__panel header strong {
  font-size: 1.1rem;
  color: #fff;
}

.marketplace__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.marketplace__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
  cursor: pointer;
}

.marketplace__list li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.marketplace__list li:last-child {
  border-bottom: none;
}

.item-meta h4 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem 0;
  color: #eaeaec;
}

.item-meta p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

.item-tags {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-family: "SF Mono", monospace;
}

.tag--paid {
  background: rgba(94, 106, 210, 0.1);
  color: var(--accent-glow);
  border: 1px solid rgba(94, 106, 210, 0.2);
}

.tag--free {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tag--green {
  background: transparent;
  color: #4ade80;
  border: 1px solid #4ade80;
}

.marketplace__panel footer {
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.marketplace__panel footer small {
  color: var(--text-muted);
}

.marketplace__panel footer strong {
  color: #fff;
}

/* Marketplace Copy (Right side) */
.marketplace__copy .panel {
  padding: 2.5rem;
}

.marketplace__copy h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.marketplace__copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.marketplace__copy .pill {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-list strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Dual Model Section */
/* Dual Model Section */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.dual-card {
  background: rgba(14, 16, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dual-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.dual-card.framework {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dual-card.saas {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(14, 16, 22, 0.7) 0%, rgba(94, 106, 210, 0.05) 100%);
}

.dual-content h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.link-arrow:hover {
  color: var(--accent-glow);
}

/* Preview Images */
.framework-preview,
.saas-preview {
  position: relative;
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  background: #0a0b10;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.framework-preview::before,
.saas-preview::before {
  content: "";
  display: block;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  backdrop-filter: blur(10px);
}

.framework-preview::after,
.saas-preview::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow:
    14px 0 0 #ffbd2e,
    28px 0 0 #28ca42;
  opacity: 0.9;
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.dual-card:hover .preview-image {
  transform: scale(1.02);
}

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

  .dual-card.saas {
    grid-template-columns: 1fr;
  }

  .saas-preview {
    display: none;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  /* Increased to fit 3 cards */
  margin: 0 auto;
}

.pricing-card {
  background: var(--panel-glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, var(--panel-glass) 100%);
  border-color: rgba(74, 144, 226, 0.3);
  box-shadow: 0 20px 40px -10px rgba(74, 144, 226, 0.25);
}

.recommended-badge {
  position: absolute;
  top: 1rem;
  right: -0.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
  z-index: 10;
}

.recommended-badge::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0.5rem 6px 0;
  border-color: transparent rgba(37, 72, 113, 0.8) transparent transparent;
}

.pricing-header {
  margin-bottom: 2rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-header .price {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
  margin: 1rem 0;
}

.pricing-header .price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-header p {
  font-size: 0.9rem;
  margin: 0;
}

.pricing-card .check-list {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.full-width {
  width: 100%;
}

.chip--accent {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* CTA */
.cta {
  background: #0e1016;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

.cta__form input,
.cta__form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}

.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Contact Card */
.contact-card-wrapper {
  width: 100%;
}

.contact-card {
  padding: 3rem;
}

.contact-card__header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-card__header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-card__content {
  display: grid;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--accent);
  background: rgba(74, 144, 226, 0.05);
  transform: translateY(-2px);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 12px;
  color: var(--accent);
}

.contact-item__content {
  flex: 1;
}

.contact-item__content strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item__content a {
  color: var(--accent-glow);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item__content a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-card__footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.pill:not(.pill--ghost):not(.pill--outline):not(.pill--blue) {
  background: #fff;
  color: #000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.pill:not(.pill--ghost):not(.pill--outline):not(.pill--blue):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.pill--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.pill--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pill--outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.pill--blue {
  background: linear-gradient(135deg, #4a8fff 0%, #6ba3ff 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(75, 143, 255, 0.4);
}

.pill--blue:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(75, 143, 255, 0.5);
  background: linear-gradient(135deg, #5a9fff 0%, #7bb3ff 100%);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 0;
}

.footer__card {
  padding: 3rem;
  background: rgba(14, 16, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer__column h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__column a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer__column a:hover {
  color: var(--accent-glow);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s;
  z-index: 10000;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 0.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Cursor pointer on clickable images */
img[data-lightbox] {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

img[data-lightbox]:hover {
  opacity: 0.9;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  animation: fadeIn 0.3s ease;
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-modal__content {
  position: relative;
  z-index: 10001;
  width: 90%;
  max-width: 900px;
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s;
  background: none;
  border: none;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10002;
}

.video-modal__close:hover {
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.2);
}

.video-modal__body h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.video-modal__video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-modal__video iframe,
.video-modal__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__description {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive utilities */
.show-mobile {
  display: none;
}

.hide-mobile {
  display: inline;
}

@media (max-width: 900px) {
  .show-mobile {
    display: inline;
  }

  .hide-mobile {
    display: none;
  }

  .hero__content,
  .marketplace,
  .aurora__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Navigation Mobile */
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(3, 3, 4, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__actions {
    gap: 0.5rem;
  }

  .nav__actions .pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Hide "Access" on mobile, show only "Demo" */
  .nav__actions .pill:last-child::after {
    content: none;
  }

  /* Burger menu */
  .nav__toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
  }

  .nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: all 0.3s ease;
  }

  .nav__toggle span:first-child {
    top: 0;
  }

  .nav__toggle span:last-child {
    bottom: 0;
  }

  .nav__toggle.is-open span:first-child {
    transform: rotate(45deg);
    top: 9px;
  }

  .nav__toggle.is-open span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }

  .hero__text-card {
    padding: 2rem;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__actions .pill {
    width: 100%;
    justify-content: center;
  }

  /* Sections */
  .section {
    padding: 3rem 1.5rem;
  }

  .section__intro h2 {
    font-size: 1.75rem;
  }

  .section__intro h2.single-line {
    white-space: normal;
  }

  /* Grid layouts */
  .grid--3 {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Cards */
  .card,
  .panel,
  .dual-card,
  .pricing-card {
    padding: 1.5rem;
  }

  /* Marketplace */
  .marketplace__copy .panel {
    padding: 1.5rem;
  }

  .marketplace__copy h3 {
    font-size: 1.5rem;
  }

  /* Hide preview images on mobile */
  .framework-preview,
  .saas-preview {
    display: none;
  }

  /* Floating terminals - hide on mobile */
  .floating-terminals {
    display: none;
  }

  /* CTA Form */
  .cta {
    padding: 2rem;
  }

  .cta__content h2 {
    font-size: 1.5rem;
  }

  /* Contact Card Mobile */
  .contact-card {
    padding: 2rem;
  }

  .contact-card__header h3 {
    font-size: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }

  .contact-item__icon {
    width: 40px;
    height: 40px;
  }

  /* Footer */
  .footer__card {
    padding: 2rem;
  }

  .footer__content {
    gap: 2rem;
  }

  .footer__description {
    max-width: 100%;
  }

  /* Video Modal Mobile */
  .video-modal__content {
    width: 95%;
    padding: 1.5rem;
  }

  .video-modal__body h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .video-modal__close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 2rem;
    width: 35px;
    height: 35px;
  }

  .logo__text {
    display: none;
  }

  .logo__mark {
    margin-right: 0;
  }
}

/* See all button */
.see-all-btn {
  background: transparent;
  border: 1px solid #5a9fff;
  color: #5a9fff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.see-all-btn:hover {
  border-color: #6ba3ff;
  color: #fff;
  background: rgba(90, 159, 255, 0.2);
  box-shadow: 0 0 8px rgba(90, 159, 255, 0.3);
}

/* Extensions Modal */
.extensions-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

.extensions-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
}

.extensions-modal-content {
  background: #0e1016;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  animation: slideUp 0.4s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.extensions-modal-header {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.extensions-modal-header h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #fff;
}

.extensions-modal-close {
  color: var(--text-muted);
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.extensions-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.extensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem;
}

.extension-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.extension-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px -10px rgba(94, 106, 210, 0.3);
}

.extension-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 10px;
  color: var(--accent-glow);
  transition: all 0.3s ease;
}

.extension-card:hover .extension-icon {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.4);
  transform: scale(1.05);
}

.extension-icon svg {
  width: 20px;
  height: 20px;
}

.extension-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.extension-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.3;
}

.extension-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.extension-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.extension-status {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4ade80;
}

.extension-status--warning {
  color: #fbbf24;
}

@media (max-width: 900px) {
  .extensions-modal.active {
    padding: 1rem;
  }

  .extensions-modal-content {
    margin: 0;
  }

  .extensions-modal-header {
    padding: 1.5rem;
  }

  .extensions-modal-header h2 {
    font-size: 1.3rem;
  }

  .extensions-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }

  .extension-card {
    padding: 1.25rem;
  }
}