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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0a0a;
  color: #e1e4e8;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
}

/* -------------------------
   Placeholder text styling
   ------------------------- */
.placeholder-text {
  color: #ff4444;
  font-weight: 700;
  text-transform: uppercase;
  font-style: normal;
}

/* -------------------------
   Layout
   ------------------------- */
.landing {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* -------------------------
   Buttons
   ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #e1e4e8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* -------------------------
   Hero Section
   ------------------------- */
.hero-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 8rem 0 5rem;
}

.hero-content {
  flex: 1.3;
  min-width: 0;
}

.hero-video {
  flex: 1.7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
  background: #111;
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 68, 68, 0.05);
  border: 2px dashed rgba(255, 68, 68, 0.3);
}

.hero-video-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.hero-video-fullscreen:hover {
  color: #7c3aed;
}

.hero-video-fullscreen svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  color: #6b7280;
  margin-top: 0.25rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
}

.hero-price {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* -------------------------
   Standards Trust Bar
   ------------------------- */
.standards-trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.standards-trust-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.standards-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.standards-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-width: 90px;
  transition: border-color 0.2s ease;
}

.standards-badge:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

.standards-badge-abbr {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a1a1aa;
  letter-spacing: 0.03em;
}

.standards-badge-name {
  font-size: 0.65rem;
  color: #52525b;
  text-align: center;
}

/* -------------------------
   Section Shared Styles
   ------------------------- */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

/* -------------------------
   What Is Section
   ------------------------- */
.what-is-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.what-is-body {
  font-size: 1.05rem;
  color: #a1a1aa;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.what-is-screenshot {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* -------------------------
   REMI Section
   ------------------------- */
.remi-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.remi-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.remi-subtitle {
  font-size: 1.05rem;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.remi-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.remi-benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.remi-benefit-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.remi-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(109, 40, 217, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.remi-icon {
  width: 20px;
  height: 20px;
  color: #7c3aed;
}

.remi-benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.remi-benefit-description {
  font-size: 0.875rem;
  color: #a1a1aa;
  line-height: 1.6;
}

.remi-cta {
  margin-top: 1rem;
}

/* -------------------------
   Features Section
   ------------------------- */
.features-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.features-section .section-title {
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(109, 40, 217, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 22px;
  height: 22px;
  color: #7c3aed;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: #a1a1aa;
  line-height: 1.6;
}


/* -------------------------
   Comparison Table
   ------------------------- */
.comparison-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.comparison-subtitle {
  font-size: 1rem;
  color: #a1a1aa;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  font-weight: 600;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  color: #a1a1aa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.highlight-col {
  background: rgba(124, 58, 237, 0.07);
  color: #e1e4e8 !important;
}

.comparison-table th.highlight-col {
  color: #7c3aed !important;
  background: rgba(124, 58, 237, 0.1);
}

.comparison-good {
  color: #3fb950;
  font-weight: 600;
}

/* -------------------------
   Production-Ready Section
   ------------------------- */
.production-ready-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.production-ready-intro {
  font-size: 1rem;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.production-ready-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.production-ready-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.production-ready-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.production-ready-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(109, 40, 217, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.production-ready-icon {
  width: 20px;
  height: 20px;
  color: #7c3aed;
}

.production-ready-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.production-ready-card-description {
  font-size: 0.85rem;
  color: #a1a1aa;
  line-height: 1.6;
}

/* -------------------------
   Pricing Section
   ------------------------- */
.pricing-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 2rem auto 0;
}

.pricing-grid-2 {
  max-width: 860px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card.featured {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.05);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.pricing-tagline {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.875rem;
  color: #a1a1aa;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3fb950;
  font-weight: 700;
}

.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Recommended OSC plan block inside pricing card */
.recommended-plan {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: auto;
}

.recommended-plan-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.recommended-plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.recommended-plan-card-featured {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.05);
}

.recommended-plan-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.recommended-plan-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.recommended-plan-price {
  font-size: 0.8rem;
  color: #a1a1aa;
}

.recommended-plan-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.recommended-plan-vat {
  font-size: 0.7rem;
  color: #6b7280;
}

.recommended-plan-features {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.recommended-plan-features li {
  font-size: 0.78rem;
  color: #a1a1aa;
  padding-left: 1rem;
  position: relative;
}

.recommended-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3fb950;
  font-weight: 700;
}

.recommended-plan-extras {
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Upgrade plan cards */
.upgrade-card-wide {
  max-width: 680px;
}

.upgrade-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  margin: 1rem 0;
}

.upgrade-plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.upgrade-plan-featured {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.06);
}

.upgrade-plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 10px;
  white-space: nowrap;
}

.upgrade-plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.upgrade-plan-price {
  font-size: 0.875rem;
  color: #a1a1aa;
}

.upgrade-plan-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.upgrade-plan-note {
  font-size: 0.78rem;
  color: #6b7280;
  margin: -0.25rem 0 0;
}

.upgrade-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.upgrade-plan-features li {
  font-size: 0.8rem;
  color: #a1a1aa;
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.upgrade-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3fb950;
  font-weight: 700;
}

/* -------------------------
   Self-Host Section
   ------------------------- */
.self-host-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.self-host-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

.self-host-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.self-host-text {
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 500px;
}

/* -------------------------
   Cross-sell Section
   ------------------------- */
.cross-sell-section {
  padding: 2rem 0;
}

.cross-sell-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.cross-sell-text {
  color: #6b7280;
}

.cross-sell-link {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cross-sell-link:hover {
  color: #8b5cf6;
}

/* -------------------------
   MCP Section
   ------------------------- */
.mcp-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mcp-card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

.mcp-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mcp-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(109, 40, 217, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mcp-icon {
  width: 22px;
  height: 22px;
  color: #7c3aed;
}

.mcp-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.mcp-subtitle {
  font-size: 0.875rem;
  color: #a1a1aa;
}

.mcp-description {
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.mcp-works-with {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.mcp-works-label {
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

a.mcp-works-label:hover {
  color: #7c3aed;
}

.mcp-client-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
}

.mcp-endpoint-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mcp-endpoint-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.mcp-endpoint-value {
  font-size: 0.85rem;
  color: #e1e4e8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

/* -------------------------
   FAQ Section
   ------------------------- */
.faq-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-container {
  max-width: 720px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

.faq-item[open] {
  border-color: rgba(124, 58, 237, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e1e4e8;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.25rem;
  color: #7c3aed;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-weight: 300;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.7;
}

.faq-link {
  color: #a78bfa;
  text-decoration: none;
}

.faq-link:hover {
  text-decoration: underline;
}

/* -------------------------
   Footer
   ------------------------- */
.landing-footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.landing-footer p {
  font-size: 0.85rem;
  color: #6b7280;
}

.landing-footer a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer a:hover {
  color: #ffffff;
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width: 1024px) {
  .remi-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .production-ready-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 3rem 0 2rem;
    gap: 2rem;
  }

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

  .hero-title-sub {
    font-size: 1.2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .remi-benefits {
    grid-template-columns: 1fr;
  }

  .production-ready-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .self-host-callout {
    flex-direction: column;
    text-align: center;
  }

  .comparison-table th:nth-child(n+4),
  .comparison-table td:nth-child(n+4) {
    display: none;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .landing {
    padding: 0 1rem;
  }

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

  .production-ready-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* =====================
   App shell / Dashboard
   ===================== */

#loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#loading[hidden] { display: none; }

.app-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.trial-banner {
  width: 100%;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  z-index: 100;
}
.trial-banner[hidden] { display: none; }
.trial-banner a { color: #fff; font-weight: 600; text-decoration: underline; }
.trial-banner a:hover { color: #e6e6e6; }

.sidebar {
  width: 200px;
  background: #0f0f0f;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  transition: width 0.2s ease;
  position: relative;
  flex-shrink: 0;
}
.sidebar[hidden] { display: none; }
.sidebar.collapsed { width: 50px; }

.sidebar-toggle {
  position: absolute;
  top: 1rem;
  right: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.sidebar-toggle:hover { background: #2a2a2a; }
.toggle-icon {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid #a1a1aa;
}
.sidebar.collapsed .toggle-icon {
  border-right: none;
  border-left: 6px solid #a1a1aa;
}

.sidebar-nav { padding: 1rem 0; margin-top: 2rem; }
.sidebar-nav-bottom { margin-top: auto; margin-bottom: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #a1a1aa;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sidebar .nav-item:hover { background: rgba(255,255,255,0.05); color: #ffffff; }
.sidebar .nav-item.active { color: #ffffff; background: rgba(255,255,255,0.05); border-left: 3px solid #7c3aed; }
.sidebar .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar .nav-label { white-space: nowrap; overflow: hidden; }
.sidebar.collapsed .nav-label { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 0.75rem; }

.token-display { cursor: default; }
.token-display .nav-icon { color: #3fb950; }
.token-display.plan-free .nav-icon { color: #da3633; }
.token-count { font-size: 0.75rem; }

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at top, rgba(124,58,237,0.15) 0%, transparent 50%),
    #0a0a0a;
}

/* Ensure signed-out landing page fills its container */
#signed-out { width: 100%; }
#signed-out[hidden] { display: none; }
#signed-in[hidden] { display: none; }

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: #a1a1aa;
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: #7c3aed;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-sm { width: 13px; height: 13px; border-width: 2px; display: inline-block; vertical-align: middle; margin-right: 0.3rem; }

.empty-state { color: #6b7280; font-size: 0.95rem; padding: 1rem 0; }
.muted { color: #6b7280; }

/* Dashboard layout */
.dashboard {
  width: 100%;
  max-width: 600px;
  padding: 3rem 1.5rem;
}

.upgrade-overlay { text-align: center; padding: 2rem 0; }
.upgrade-overlay[hidden] { display: none; }
#dashboard-content[hidden] { display: none; }

.upgrade-card {
  background: rgba(26,26,26,0.5);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 450px;
  margin: 0 auto;
}
.upgrade-icon-wrapper {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(109,40,217,0.2) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.upgrade-icon { width: 32px; height: 32px; color: #7c3aed; }
.upgrade-title { font-size: 1.5rem; font-weight: 600; color: #ffffff; margin-bottom: 0.75rem; }
.upgrade-description { font-size: 1rem; color: #a1a1aa; line-height: 1.6; margin-bottom: 1.5rem; }
.upgrade-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.upgrade-feature { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.95rem; color: #e1e4e8; }
.upgrade-feature svg { width: 18px; height: 18px; color: #3fb950; flex-shrink: 0; }
.upgrade-note { font-size: 0.8rem; color: #6b7280; margin-top: 1rem; }
.upgrade-actions { margin-top: 2rem; }

.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #a1a1aa;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: #ffffff; }
.btn-danger {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: background 0.15s;
}
.btn-danger:hover { background: rgba(239,68,68,0.25); }

.dashboard-header { margin-bottom: 2rem; }
.dashboard-header h2 { font-size: 1.75rem; font-weight: 600; color: #ffffff; }

.create-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.create-section h3 { font-size: 1rem; font-weight: 500; color: #ffffff; margin-bottom: 1rem; }

.dashboard-help { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.help-actions { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }

#instances-list { margin-bottom: 1rem; }
.site-card {
  padding: 1rem 1.25rem;
  background: rgba(26,26,26,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.site-header { display: flex; justify-content: space-between; align-items: center; }
.site-info { display: flex; align-items: center; gap: 0.75rem; }
.site-name { font-weight: 500; color: #ffffff; }
/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-backdrop[hidden] { display: none !important; }
.modal-card { background: #1a1a2e; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.75rem; max-width: 400px; width: 90%; }
.modal-title { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
.modal-body { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; margin-bottom: 1.5rem; }
.modal-body strong { color: #e1e4e8; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }
.btn-danger { background: #dc2626; color: #fff; border: none; border-radius: 6px; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
.btn-danger:hover { background: #b91c1c; }
.btn-danger-ghost { background: transparent; color: #f87171; border: 1px solid rgba(248,113,113,0.3); border-radius: 6px; padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 500; cursor: pointer; }
.btn-danger-ghost:hover { background: rgba(248,113,113,0.1); border-color: #f87171; }

/* Steps section */
.steps-section { padding: 2rem 1.5rem 4rem; }
.steps-list { display: flex; flex-direction: column; gap: 2rem; max-width: 620px; margin: 0 auto; }
.step-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-number { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #4f46e5); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: #fff; }
.step-title { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.35rem; }
.step-body { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }

/* OSC section */
.osc-section { padding: 4rem 1.5rem; }
.osc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; max-width: 900px; margin: 0 auto; }
.osc-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1.5rem; }
.osc-card-title { font-size: 0.95rem; font-weight: 600; color: #fff; margin: 0.75rem 0 0.5rem; }
.osc-card-body { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; }

.pill-new { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.45rem; border-radius: 9999px; background: rgba(124,58,237,0.25); border: 1px solid rgba(124,58,237,0.5); color: #a78bfa; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.site-actions { display: flex; gap: 0.5rem; }

#instances-loading[hidden] { display: none; }

.site-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
}

.create-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #a1a1aa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.create-status[hidden] { display: none; }
.create-status-done { color: #3fb950; }
.create-status-error { color: #f87171; }

.form-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.form-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(26, 26, 26, 0.5);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-row input::placeholder { color: #6b7280; }
.form-row input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
