/* =============================================
   DASHBOARD
   ============================================= */

.sidebar {
  min-height: calc(100vh - 56px);
  border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
  color: #333;
}

.sidebar .nav-link.active {
  font-weight: 600;
  color: #0d6efd;
}

.api-key-display {
  font-family: monospace;
  font-size: 0.85rem;
  word-break: break-all;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
}

.config-preview {
  font-family: monospace;
  font-size: 0.9rem;
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 0.5rem;
  word-break: break-all;
}

.embed-preview {
  font-family: monospace;
  font-size: 0.8rem;
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
  word-break: break-all;
}

.upload-preview {
  display: block;
  margin-top: 0.5rem;
}


/* =============================================
   LANDING PAGE
   ============================================= */

.landing-body {
  overflow-x: hidden;
}

.ls-wide {
  letter-spacing: 0.08em;
}

/* Navbar */
.landing-navbar {
  background: transparent;
  transition: background 0.3s;
  padding: 1rem 0;
}

.landing-logo-icon {
  color: #a5b4fc;
  margin-right: 0.15rem;
}

/* Hero */
.landing-hero-section {
  background: #F8FAFC;
}

/* Hero video */
.landing-hero-video {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.landing-hero-video video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Hero buttons */
.landing-btn-primary {
  background-color: #007bff;
  transition: background-color 0.2s;
}

.landing-btn-primary:hover {
  background-color: #0056b3;
}

.landing-btn-white {
  background-color: #fff;
  color: #333;
  border: 1px solid #5ba6f7;
  transition: background-color 0.2s, color 0.2s;
}

.landing-btn-white:hover {
  background-color: #e2e8f0;
  color: #111;
}

/* Hero heading gradient text */
.landing-heading-gradient {
  font-size: 1.25em;
  color: #007bff;
}

.landing-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, #2d2d2d 0%, #0a0a0a 50%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Code window in hero */
.landing-code-window {
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.landing-code-titlebar {
  background: #0f172a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.landing-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.landing-dot-red { background: #ef4444; }
.landing-dot-yellow { background: #eab308; }
.landing-dot-green { background: #22c55e; }

.landing-code-title {
  margin-left: 0.5rem;
  color: #64748b;
  font-size: 0.8rem;
}

.landing-code-body {
  padding: 1.5rem;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.8;
  background: transparent;
  border: none;
}

.landing-code-body code {
  color: #e2e8f0;
  font-size: 0.85rem;
}

.code-comment { color: #64748b; }
.code-string { color: #34d399; }
.code-directive { color: #a78bfa; font-weight: 700; }


/* How It Works — step cards */
.landing-step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.landing-step-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.landing-step-number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-block;
}


/* Features */
.landing-features-bg {
  background: #f8fafc;
}

.landing-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.landing-feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.landing-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}


/* Pricing */
.landing-pricing-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.landing-pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.landing-pricing-featured {
  border-color: #6366f1;
  position: relative;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.landing-pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 1rem;
  border-radius: 0 0 8px 8px;
}


/* Billing toggle */
.landing-billing-toggle .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
  border-color: #6366f1;
}

.landing-billing-toggle .form-check-input:checked {
  background-color: #6366f1;
  border-color: #6366f1;
}

.landing-billing-toggle .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.pricing-period {
  font-size: 1rem;
}

.pricing-note {
  font-size: 0.85rem;
  min-height: 1.5em;
}


/* CTA */
.landing-cta-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #003d80 100%);
}


/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
