/* Marketing styles, loaded by the default layout. */

/* --- Hero --- */

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-pill {
  padding: 6px 14px 6px 10px;
  background: var(--brand-lighter);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--brand-light);
}

.avatar-stack { display: flex; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid #fff;
  margin-right: -8px;
}

/* Browser mockup */
.browser-mockup {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  overflow: hidden;
}
.browser-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-block;
}
.browser-address {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  color: #94a3b8;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
}
.browser-body {
  padding: 20px;
  background: #f8fafc;
}

/* Sidepanel mockup in hero */
.sidepanel-mockup {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.sidepanel-header {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.micro-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.micro-tag {
  font-size: 10px;
  padding: 1px 5px;
}

/* --- Trust logos (infinite scroll) --- */
.trust-scroll {
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-scroll-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: trust-scroll 105s linear infinite;
}

.trust-logo {
  flex-shrink: 0;
  height: 24px;
  width: auto;
  user-select: none;
  pointer-events: none;
  filter: grayscale(1) opacity(0.4);
}

@keyframes trust-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-scroll:hover .trust-scroll-track {
  animation-play-state: paused;
}

/* --- Section badge --- */
.section-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Feature cards --- */
.feature-card {
  border-radius: 16px !important;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon-wrap.blue { background: #eff6ff; color: #2563eb; }
.feature-icon-wrap.green { background: #dcfce7; color: #22c55e; }
.feature-icon-wrap.purple { background: #f3e8ff; color: #9333ea; }
.feature-icon-wrap.orange { background: #ffedd5; color: #ea580c; }
.feature-icon-wrap.pink { background: #fce7f3; color: #db2777; }
.feature-icon-wrap.teal { background: #ccfbf1; color: #0d9488; }

/* Mini demo inside feature card */
.mini-demo {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 14px;
}
.mini-demo-input {
  font-size: 13px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 8px;
  font-family: 'DM Mono', monospace;
}
.mini-demo-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #15803d;
  padding: 10px 12px;
  background: #dcfce7;
  border-radius: 6px;
  font-family: 'DM Mono', monospace;
}

/* --- Steps --- */
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--brand-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Showcase --- */
.showcase-browser {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
}
.showcase-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
  cursor: default;
}
.showcase-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.mock-line {
  height: 10px;
  border-radius: 4px;
  background: #f1f5f9;
}
.showcase-sidepanel {
  width: 200px;
  background: #fff;
  flex-shrink: 0;
}
.sp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  display: inline-block;
}

/* --- Pricing --- */
.pricing-popular {
  border-width: 2px !important;
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* --- Footer --- */
.site-footer {
  background: #0b0e14;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 56px 0 32px;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3762e3, #6b8af2);
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 14.5px;
  color: #fff;
  letter-spacing: -.01em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, .3);
  line-height: 1.65;
  max-width: 220px;
  margin: 0;
}

.footer-heading {
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .27);
  margin-bottom: 18px;
}

.footer-link {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  transition: color .15s;
  text-decoration: none;
}
.footer-link:hover { color: rgba(255, 255, 255, .85); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 24px;
}

.footer-copyright {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .2);
}

.footer-version {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .16);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
  .py-section { padding: 72px 0; }
}

@media (max-width: 767.98px) {
  .hero-section .display-4 { font-size: 2.2rem; }
  .display-6 { font-size: 1.6rem; }
  .showcase-sidepanel { width: 160px; }
}
