:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0f172a;
  --success: #16a34a;
  --warn: #f59e0b;
  --info: #06b6d4;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.auth-landing {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
    radial-gradient(circle at right 20%, rgba(15, 23, 42, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 48%, #eef3f8 100%);
}

@keyframes floatSoft {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.16); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes shimmerSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

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

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

.lp-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 251, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.lp-topbar-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-links a,
.top-links button {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 10px;
  transition: .2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.top-links a:hover,
.top-links button:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

.top-login-btn {
  padding: 10px 14px !important;
}

.hero {
  padding: 38px 0 26px;
}

.hero-stack {
  display: grid;
  gap: 20px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 65%);
  pointer-events: none;
}

.hero-card-wide {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-title {
  margin: 14px 0 12px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
  max-width: 15ch;
}

.hero-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 72ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}

.hero-bullet i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  display: inline-block;
  flex: 0 0 auto;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  animation: floatSoft 5.5s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mini-stats .mini-stat:nth-child(2) {
  animation-delay: .5s;
}

.mini-stats .mini-stat:nth-child(3) {
  animation-delay: 1s;
}

.mini-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.mini-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 7px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: block;
}

.section {
  padding: 22px 0 14px;
}

.section-head {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 74ch;
  margin: 0;
}

#features {
  padding: 14px 0 10px;
}

.feature-slider {
  overflow: hidden;
  border-radius: 16px;
}

.feature-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: featureScroll 24s linear infinite;
}

.feature-slide {
  width: 190px;
  min-height: 84px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.feature-slide h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.25;
}

.feature-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.preview-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(226,232,240,0.94);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.06);
}

.preview-panel::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(37,99,235,0.10), transparent 68%);
  pointer-events: none;
}

.preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-head h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.preview-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.preview-dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
}

.preview-sidebar {
  background: #0f172a;
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.preview-side-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.preview-side-item.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  animation: pulseGlow 2.8s infinite;
}

.preview-side-icon {
  width: 20px;
  text-align: center;
  flex: 0 0 auto;
}

.preview-main {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-dynamic-card {
  display: none;
  position: relative;
}

.preview-dynamic-card.active {
  display: block;
}

.preview-card-mobile-topbar {
  display: none;
}

.preview-card-mobile-app {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.preview-card-mobile-menu {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  font-size: 16px;
  color: #0f172a;
  cursor: pointer;
}

.preview-card-inline-sidebar {
  position: absolute;
  top: 42px;
  left: 0;
  width: 220px;
  max-width: 82%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-14px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 20;
}

.preview-card-inline-sidebar.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.preview-inline-item {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.preview-inline-item:hover {
  background: #f8fafc;
}

.workspace-mock-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.workspace-mock-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.workspace-mock-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.workspace-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.workspace-badge.success { background: #16a34a; }
.workspace-badge.warn { background: #f59e0b; }
.workspace-badge.info { background: #06b6d4; }
.workspace-badge.dark { background: #0f172a; }

.stack-card-list {
  display: grid;
  gap: 12px;
}

.stack-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.stack-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.stack-card-head strong {
  font-size: 14px;
  line-height: 1.35;
  color: #0f172a;
}

.stack-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.stack-badge.neutral {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}

.stack-badge.danger {
  background: rgba(244, 63, 94, 0.10);
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.14);
}

.stack-card-body {
  display: grid;
  gap: 3px;
}

.stack-line {
  display: grid;
  grid-template-columns: 135px 1fr;
  align-items: start;
  gap: 12px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.stack-line-label {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  width: fit-content;
}

.stack-line-value {
  display: block;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  min-width: 0;
  word-break: break-word;
}

.stack-card-body .stack-line + .stack-line {
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
  padding-top: 5px;
}

.compact-feed-card .stack-card-body {
  gap: 0;
}

.flow-tabs,
.guide-side-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.flow-tab,
.guide-side-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}

.flow-tab.active,
.guide-side-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.flow-panel,
.guide-side-panel {
  display: none;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.flow-panel.active,
.guide-side-panel.active {
  display: block;
}

.guide-interactive {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
}

.guide-side-tabs {
  display: grid;
}

.login-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
  padding: 28px;
  position: sticky;
  top: 96px;
  height: fit-content;
}

.modal-login-card {
  width: min(100%, 460px);
  position: relative;
  top: 0;
}

.login-top {
  margin-bottom: 20px;
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.login-card h1 {
  margin: 14px 0 8px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: .2s ease;
}

.field input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #334155;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s ease;
}

.password-toggle:hover {
  color: #0f172a;
  transform: translateY(-50%) scale(1.08);
}

.password-toggle:focus {
  outline: none;
}

.pw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.login-btn {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.22);
  position: relative;
  overflow: hidden;
}

.login-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-120%);
  animation: shimmerSlide 2.8s linear infinite;
}

.login-btn:hover {
  transform: translateY(-1px);
}

.login-btn.is-loading {
  opacity: .85;
  pointer-events: none;
}

.message {
  min-height: 22px;
  font-size: 13px;
  color: var(--muted);
}

.message.is-error {
  color: #dc2626;
}

.message.is-success {
  color: #16a34a;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.login-modal.open {
  display: block;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.50);
  backdrop-filter: blur(6px);
}

.login-modal-dialog {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lp-footer {
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.lp-footer-inner {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}


.workspace-head-left {
  min-width: 0;
  flex: 1 1 auto;
}

.workspace-head-left .section-title {
  margin: 4px 0 0;
}

.workspace-inline-login {
  flex: 0 0 auto;
  min-width: 120px;
}

.workspace-inline-login-icon {
  display: none;
}

@media (max-width: 1180px) {
  .mini-stats {
    grid-template-columns: 1fr;
  }

  .preview-dashboard,
  .guide-interactive {
    grid-template-columns: 1fr;
  }

  .guide-side-tabs {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .lp-shell,
  .lp-topbar-inner {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero {
    padding-top: 20px;
  }

  .hero-card,
  .preview-panel,
  .modal-login-card {
    padding: 20px;
  }

  .top-links {
  display: none !important;
}

.mobile-topbar-menu {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.mobile-topbar-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.16),
    0 2px 8px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
  z-index: 60;
}

.mobile-topbar-drawer::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  transform: rotate(45deg);
}

.mobile-topbar-drawer.is-open {
  display: grid;
  gap: 6px;
  animation: mobileDrawerIn .18s ease;
}

.mobile-topbar-drawer a,
.mobile-topbar-drawer button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.mobile-topbar-drawer a:hover,
.mobile-topbar-drawer button:hover {
  background: #f8fafc;
  color: #1d4ed8;
  transform: translateX(2px);
}

.mobile-topbar-drawer a:active,
.mobile-topbar-drawer button:active {
  transform: translateX(0);
}

.mobile-drawer-login {
  color: #1d4ed8 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(37, 99, 235, 0.14) !important;
  background: rgba(37, 99, 235, 0.06) !important;
}

.mobile-drawer-login:hover {
  background: rgba(37, 99, 235, 0.10) !important;
}



  .mobile-topbar-drawer a,
  .mobile-topbar-drawer button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
  }

  .mobile-topbar-drawer a:hover,
  .mobile-topbar-drawer button:hover {
    background: #f8fafc;
  }

  .workspace-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .workspace-head-actions {
    width: 100%;
  }

  .workspace-head-actions .btn-primary {
    width: 100%;
  }

  .mini-stats-wrap {
    grid-template-columns: 1fr;
  }

  .mini-stats-signin {
    display: flex;
  }

  .mini-stats-signin .btn-primary {
    width: 100%;
    min-width: 0;
  }

  .hero-bullets {
    grid-template-columns: 1fr;
  }

  .preview-dashboard {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-card-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .preview-main {
    padding: 12px;
  }

  .stack-card {
    padding: 12px;
  }

  .stack-card-head {
    align-items: center;
    margin-bottom: 6px;
  }

  .stack-line {
    grid-template-columns: 96px 1fr;
    gap: 8px;
    padding: 3px 0;
  }

  .stack-line-label {
    font-size: 11px;
  }

  .stack-line-value {
    font-size: 12px;
    line-height: 1.4;
  }

  .workspace-mock-title {
    font-size: 16px;
  }

  .workspace-mock-sub {
    font-size: 11px;
  }

  .stack-badge {
    min-height: 24px;
    font-size: 10px;
    padding: 0 8px;
  }

  .hero-title {
    max-width: none;
  }

  .lp-footer-inner {
    flex-direction: column;
  }

  .guide-interactive {
    grid-template-columns: 1fr;
  }
  
  

.workspace-head-topline {
  align-items: center;
  gap: 10px;
}

.workspace-inline-login {
  min-width: 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
  text-align: center;
}

.workspace-inline-login-text {
  display: none;
}

.workspace-inline-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
}

.mobile-topbar-menu,
.preview-card-mobile-menu,
.workspace-inline-login {
  text-align: center;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .mini-stat,
  .preview-side-item.active,
  .login-btn::after,
  .feature-track {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.mobile-topbar-menu {
  display: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1;
  color: #0f172a;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 0 auto;
}
.preview-card-mobile-menu {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-topbar-drawer {
  display: none;
}

.lp-topbar-inner {
  position: relative;
}

.workspace-head {
  display: block;
}

.workspace-head-copy {
  min-width: 0;
  padding-bottom: 10px;
}

.workspace-head-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.workspace-head-left {
  min-width: 0;
  flex: 1 1 auto;
}

.workspace-head-left .section-title {
  margin: 0;
}





#typingWords {
  color: var(--primary-dark);
  border-right: 2px solid var(--primary-dark);
  padding-right: 4px;
  white-space: nowrap;
}

.mini-stats-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
}

.mini-stats-signin {
  display: flex;
  align-items: stretch;
}

.mini-stats-signin .btn-primary {
  min-width: 140px;
  height: 100%;
}

.mobile-topbar-menu,
.preview-card-mobile-menu,
.workspace-inline-login,
.workspace-inline-login-icon {
  vertical-align: middle;
  box-sizing: border-box;
}
@keyframes mobileDrawerIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== MINI STATS CINEMATIC LOOP ===== */

.mini-stats {
  position: relative;
  overflow: visible;
}

.mini-stat {
  position: relative;
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0.45;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .45s ease,
    box-shadow .45s ease,
    border-color .45s ease,
    filter .45s ease;
}

.mini-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.18) 32%,
    rgba(37,99,235,0.12) 50%,
    rgba(255,255,255,0.18) 68%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  transform: translateX(-140%);
  pointer-events: none;
}

.mini-stat.is-hit {
  opacity: 1;
  transform: scale(1.03) translateY(-4px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(37, 99, 235, 0.08);
  filter: saturate(1.06);
}

.mini-stat.is-hit::after {
  opacity: 1;
  animation: miniStatBeam .75s ease;
}

.mini-stat.is-rest {
  opacity: 0.58;
  transform: scale(0.97);
}

.mini-stats-allinone {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.88);
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

.mini-stats-allinone.is-show {
  animation: miniAllInOnePop 1.1s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes miniStatBeam {
  0% {
    opacity: 0;
    transform: translateX(-140%);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(140%);
  }
}

@keyframes miniAllInOnePop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    filter: blur(8px);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
    filter: blur(0);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    filter: blur(3px);
  }
}

@media (max-width: 760px) {
  .mini-stats-allinone {
    font-size: 14px;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-stat,
  .mini-stat::after,
  .mini-stats-allinone {
    animation: none !important;
    transition: none !important;
  }
}

.lp-footer {
  margin-top: 34px;
  padding: 0 0 34px;
  color: rgba(255,255,255,0.74);
}

.lp-footer-cta {
  margin-bottom: 16px;
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #0f172a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.20);
}

.lp-footer-cta-copy h3 {
  margin: 4px 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.lp-footer-cta-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.84);
  max-width: 62ch;
}

.lp-footer-cta-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.lp-footer-cta-btn {
  flex: 0 0 auto;
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

.lp-footer-cta-btn:hover {
  background: #eff6ff;
}

.lp-footer-top {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 24px;
}

.lp-footer-brand {
  min-width: 0;
}

.lp-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.lp-footer-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  flex: 0 0 auto;
}

.lp-footer-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.lp-footer-tag {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.56);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lp-footer-text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}

.lp-footer-contact-cards {
  display: grid;
  gap: 10px;
}

.lp-footer-contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.lp-footer-contact-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 14px;
  line-height: 1;
}

.lp-footer-contact-label {
  font-size: 11px;
  font-weight: 800;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.lp-footer-contact-value {
  font-size: 13px;
  color: #fff;
  line-height: 1.5;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.lp-footer-head {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.lp-footer-col a,
.lp-footer-col div {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

.lp-footer-col a:hover {
  color: #60a5fa;
}

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 6px 0;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 980px) {
  .lp-footer-top {
    grid-template-columns: 1fr;
  }

  .lp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .lp-footer {
    padding-bottom: 26px;
  }

  .lp-footer-cta {
    padding: 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .lp-footer-cta-copy h3 {
    font-size: 18px;
  }

  .lp-footer-cta-copy p {
    font-size: 12px;
  }

  .lp-footer-cta-btn {
    width: 100%;
  }

  .lp-footer-top {
    padding: 20px;
    gap: 18px;
    border-radius: 20px;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lp-footer-title {
    font-size: 18px;
  }

  .lp-footer-text,
  .lp-footer-col a,
  .lp-footer-col div,
  .lp-footer-contact-value {
    font-size: 12px;
  }

  .lp-footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    padding-top: 12px;
  }
}