:root {
  --bg: #0b0f1a;
  --card: #11182a;
  --card-strong: #141c2e;
  --text: #dce5f7;
  --muted: #9fb0c7;
  --accent: #ff6b3b;
  --accent-2: #ff8b5f;
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(255, 107, 59, 0.35);
  --radius: 18px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  --gradient: linear-gradient(120deg, #ff8b5f, #ff6b3b, #8036ff);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(60% 60% at 20% 20%, rgba(255, 107, 59, 0.08), transparent 50%),
    radial-gradient(45% 45% at 80% 10%, rgba(128, 54, 255, 0.12), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover {
  color: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 22px 60px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(17, 24, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 18px;
  z-index: 10;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
}

.logo.small {
  width: 38px;
  height: 38px;
}

.brand-name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

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

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
}

button {
  font: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f1a;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 107, 59, 0.35);
}

button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 15px;
  border: 1px solid var(--border);
}

button:hover {
  transform: translateY(-1px);
}

.hero {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  position: relative;
  background: radial-gradient(60% 70% at 10% 10%, rgba(255, 107, 59, 0.1), transparent 40%),
    rgba(17, 24, 42, 0.7);
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(40% 40% at 80% 20%, rgba(128, 54, 255, 0.25), transparent 40%);
  filter: blur(30px);
  opacity: 0.65;
}

.hero .content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 36px);
}

.lede {
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 18px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.panel {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, rgba(17, 24, 42, 0.9), rgba(15, 20, 32, 0.9));
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.pill {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
  box-shadow: 0 0 0 6px rgba(255, 107, 59, 0.15);
}

.panel-body {
  padding: 20px 22px 22px;
}

.panel-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.panel-body p {
  color: var(--muted);
  margin-top: 0;
}

.mini-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.mini-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.mini-card .icon {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-card .title {
  margin: 0;
  font-weight: 700;
}

.mini-card .desc {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-examples {
  margin-top: 70px;
}

.examples-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.examples-carousel {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: rgba(17, 24, 42, 0.85);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  padding: 40px 28px 60px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  min-height: 520px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide img {
  width: min(420px, 70vw);
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
}

.carousel-slide figcaption {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.carousel-nav.prev {
  left: 12px;
}

.carousel-nav.next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots .dot.active {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.1);
}

.section {
  margin-top: 70px;
}

.legal {
  display: grid;
  gap: 26px;
}

.legal-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.legal-card {
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.25);
}

.legal-toc {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.legal-toc a {
  color: inherit;
  font-weight: 600;
}

.legal-block {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card-strong);
  border: 1px solid var(--border);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 10px;
}

.legal-block h2 {
  margin: 0;
}

.legal-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.legal-block p {
  margin: 0;
  color: var(--muted);
}

.pricing-overview {
  margin-top: 60px;
}

.plan-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.plan-summary {
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.15)), var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 10px;
  position: relative;
}

.plan-summary.popular {
  border-color: rgba(255, 107, 59, 0.7);
  box-shadow: 0 24px 50px rgba(255, 107, 59, 0.25);
}

.plan-summary.popular::after {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--gradient);
  color: #0b0f1a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-summary .price {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
}

.plan-summary .price span {
  font-size: 14px;
  color: var(--muted);
  margin-left: 4px;
}

.plan-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.plan-summary ul li::before {
  content: '•';
  color: var(--accent);
  margin-right: 8px;
}

.plan-summary button.full {
  width: 100%;
  justify-self: stretch;
}

.comparison-table {
  margin-top: 32px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: rgba(7, 11, 22, 0.4);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.comparison-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison-table .plan-name {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.comparison-table .plan-price {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.matrix-row.highlight {
  background: rgba(255, 107, 59, 0.08);
  font-weight: 700;
}

.matrix-group th {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.check,
.dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-weight: 700;
}

.check {
  background: var(--gradient);
  color: #0b0f1a;
  box-shadow: 0 8px 20px rgba(255, 107, 59, 0.35);
}

.dash {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 24px;
}

.feature-strip {
  text-align: center;
  background: linear-gradient(120deg, rgba(255, 107, 59, 0.12), rgba(128, 54, 255, 0.12));
  border: 1px solid rgba(255, 107, 59, 0.2);
  border-radius: calc(var(--radius) + 4px);
  padding: 26px;
  box-shadow: var(--shadow);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.feature-tags span {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 59, 0.4);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  font-size: 22px;
}

.card h3 {
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 18px;
  background: var(--card-strong);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.step-number {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 59, 0.9), rgba(255, 139, 95, 0.85));
  color: #0b0f1a;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 16px 28px rgba(255, 107, 59, 0.35);
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimonial {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card-strong);
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.quote {
  font-size: 16px;
  margin-bottom: 12px;
}

.author {
  color: var(--muted);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.price-card {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)), var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 12px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(255, 107, 59, 0.6);
  box-shadow: 0 26px 50px rgba(255, 107, 59, 0.25);
}

.price-heading h3 {
  margin: 6px 0 0;
  font-size: 30px;
}

.price-heading span {
  color: var(--muted);
  font-size: 16px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.price-card li::before {
  content: '•';
  margin-right: 8px;
  color: var(--accent);
}

.price-card .full {
  width: 100%;
  justify-self: stretch;
}

.footer {
  margin-top: 80px;
  padding: 26px 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding: 0 8px 16px;
  border-bottom: 1px solid var(--border);
}

.footer-links {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.footer-cta .newsletter {
  display: grid;
  gap: 10px;
}

.newsletter input {
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.newsletter button {
  padding: 12px;
  background: var(--gradient);
  color: #0b0f1a;
  font-weight: 700;
}

.footer-copy {
  max-width: 280px;
}

.copyright {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    gap: 10px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    display: none;
    flex-wrap: wrap;
    background: rgba(17, 24, 42, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-examples {
    margin-top: 50px;
  }

  .examples-carousel {
    padding: 28px 18px 46px;
  }

  .carousel-track {
    min-height: 460px;
  }

  .carousel-nav {
    display: none;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 20px 16px 40px;
  }

  .site-header {
    position: static;
  }

  .hero-actions,
  .cta-actions,
  .cta-wrap {
    flex-wrap: wrap;
  }

  .nav {
    gap: 10px;
  }

  .carousel-track {
    min-height: 380px;
  }
}
