/* ClassroomCastle — Marketing landing page */

:root {
  --lp-primary: #4f46e5;
  --lp-primary-light: #818cf8;
  --lp-accent: #06b6d4;
  --lp-accent-2: #8b5cf6;
  --lp-bg: #0b1020;
  --lp-bg-soft: #111827;
  --lp-card: rgba(255, 255, 255, 0.06);
  --lp-card-border: rgba(255, 255, 255, 0.1);
  --lp-text: #f8fafc;
  --lp-muted: #94a3b8;
  --lp-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #06b6d4 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.landing a {
  color: inherit;
  text-decoration: none;
}

/* Ambient background */
.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.landing-bg::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.35) 0%, transparent 70%);
  filter: blur(40px);
}

.landing-bg::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  filter: blur(50px);
}

.landing-wrap {
  position: relative;
  z-index: 1;
}

/* Nav */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  min-width: 0;
  flex-shrink: 0;
}

.lp-logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lp-gradient);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lp-nav-links a {
  color: var(--lp-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.lp-nav-links a:hover {
  color: var(--lp-text);
}

.lp-nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.lp-nav-drawer-actions {
  display: none;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.lp-btn:active {
  transform: translateY(1px);
}

.lp-btn-ghost {
  background: transparent;
  border: 1px solid var(--lp-card-border);
  color: var(--lp-text);
}

.lp-btn-ghost:hover {
  background: var(--lp-card);
  border-color: rgba(255, 255, 255, 0.2);
}

.lp-btn-primary {
  background: var(--lp-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.45);
}

.lp-btn-primary:hover {
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.55);
  transform: translateY(-1px);
}

.lp-btn-call {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.lp-btn-call:hover {
  background: rgba(34, 197, 94, 0.25);
}

.lp-btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* Hero */
.lp-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-primary-light);
  margin-bottom: 1.25rem;
}

.lp-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.lp-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.lp-hero h1 .gradient-text {
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero p.lead {
  font-size: 1.15rem;
  color: var(--lp-muted);
  margin: 0 0 2rem;
  max-width: 32rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.lp-hero-actions .lp-btn {
  min-width: 0;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--lp-muted);
}

.lp-trust strong {
  display: block;
  color: var(--lp-text);
  font-size: 1.1rem;
}

/* Hero visual */
.lp-hero-visual {
  position: relative;
  min-height: 380px;
}

.lp-dashboard-preview {
  position: relative;
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
  border-radius: 20px;
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.lp-preview-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.lp-preview-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.lp-preview-header span:nth-child(1) { background: #ef4444; }
.lp-preview-header span:nth-child(2) { background: #eab308; }
.lp-preview-header span:nth-child(3) { background: #22c55e; }

.lp-preview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.lp-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lp-card-border);
  border-radius: 12px;
  padding: 0.85rem;
}

.lp-mini-card label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lp-muted);
  margin-bottom: 0.25rem;
}

.lp-mini-card strong {
  font-size: 1.35rem;
}

.lp-preview-chart {
  height: 100px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(79, 70, 229, 0.3) 0%,
    rgba(6, 182, 212, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}

.lp-preview-chart::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(79, 70, 229, 0.5),
    transparent
  );
  clip-path: polygon(
    0% 100%,
    8% 70%,
    18% 85%,
    28% 55%,
    38% 75%,
    48% 40%,
    58% 65%,
    68% 50%,
    78% 80%,
    88% 35%,
    100% 60%,
    100% 100%,
    0% 100%
  );
}

.lp-float-card {
  position: absolute;
  background: var(--lp-bg-soft);
  border: 1px solid var(--lp-card-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.lp-float-card.top {
  top: -10px;
  right: -20px;
}

.lp-float-card.bottom {
  bottom: 20px;
  left: -30px;
}

.lp-float-card .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
}

.dot.green { background: #22c55e; }
.dot.amber { background: #f59e0b; }

/* Sections */
.lp-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.lp-section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.lp-section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.lp-section-title p {
  color: var(--lp-muted);
  margin: 0;
  font-size: 1.05rem;
}

.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.lp-feature {
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.lp-feature:hover {
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-4px);
}

.lp-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(6, 182, 212, 0.2));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.lp-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.lp-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lp-muted);
}

/* Roles */
.lp-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.lp-role {
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--lp-card-border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.lp-role::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--lp-gradient);
}

.lp-role h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.lp-role p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--lp-muted);
}

.lp-role-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(79, 70, 229, 0.2);
  color: var(--lp-primary-light);
}

/* CTA band */
.lp-cta {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--lp-gradient);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(79, 70, 229, 0.35);
}

.lp-cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.lp-cta p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.lp-cta .lp-btn-primary {
  background: #fff;
  color: var(--lp-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Module strip */
.lp-strip {
  border-block: 1px solid var(--lp-card-border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.lp-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
}

.lp-strip-inner span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
}

/* Alt section background */
.lp-section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--lp-card-border);
  max-width: none;
  padding-inline: 0;
}

.lp-section-alt > .lp-section-title,
.lp-section-alt > .lp-modules,
.lp-section-alt > .lp-split,
.lp-section-alt > .lp-pricing,
.lp-section-alt > .lp-faq,
.lp-section-alt > .lp-quotes {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.lp-section-alt > .lp-pricing-note {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Modules grid */
.lp-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.lp-module {
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}

.lp-module h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--lp-primary-light);
}

.lp-module ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-module li {
  margin-bottom: 0.35rem;
}

.lp-module li:last-child {
  margin-bottom: 0;
}

/* How it works */
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.lp-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
}

.lp-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lp-gradient);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.lp-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.92rem;
}

/* Security split */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-split h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.lp-split-lead {
  color: var(--lp-muted);
  margin: 0 0 1.5rem;
}

.lp-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--lp-muted);
}

.lp-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

.lp-checklist strong {
  color: var(--lp-text);
}

.lp-checklist code,
.lp-module code,
.lp-faq code,
.lp-use-case code {
  font-size: 0.82em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

/* Architecture diagram */
.lp-arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.lp-arch-box {
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--lp-card-border);
  background: var(--lp-card);
}

.lp-arch-client { border-color: rgba(129, 140, 248, 0.4); }
.lp-arch-edge { border-color: rgba(6, 182, 212, 0.4); }
.lp-arch-core {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(6, 182, 212, 0.15));
  border-color: rgba(129, 140, 248, 0.5);
}

.lp-arch-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 320px;
}

.lp-arch-row .lp-arch-box {
  flex: 1;
  max-width: none;
  font-size: 0.78rem;
}

.lp-arch-arrow {
  color: var(--lp-muted);
  font-size: 1.25rem;
  line-height: 1;
}

/* Use cases */
.lp-use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.lp-use-case {
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--lp-card-border);
  background: linear-gradient(180deg, var(--lp-card) 0%, transparent 100%);
}

.lp-use-case h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.lp-use-case p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--lp-muted);
}

/* Testimonials */
.lp-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.lp-quote {
  margin: 0;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
}

.lp-quote p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--lp-text);
}

.lp-quote footer {
  font-size: 0.8rem;
  color: var(--lp-muted);
}

/* Pricing */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.lp-pricing-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-inline: auto;
}

.lp-plan {
  position: relative;
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid var(--lp-card-border);
  background: var(--lp-card);
  display: flex;
  flex-direction: column;
}

.lp-plan h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.lp-plan-price {
  margin: 0 0 0.35rem;
  color: var(--lp-text);
  font-size: 0.95rem;
}

.lp-price-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--lp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-price-period {
  color: var(--lp-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.lp-plan-price-custom {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lp-primary-light);
  background: none;
  -webkit-text-fill-color: unset;
}

.lp-plan-sub {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--lp-muted);
}

.lp-plan ul {
  flex: 1;
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
}

.lp-plan li {
  margin-bottom: 0.4rem;
}

.lp-plan .lp-btn {
  width: 100%;
}

.lp-plan-featured {
  border-color: rgba(129, 140, 248, 0.55);
  box-shadow: 0 16px 48px rgba(79, 70, 229, 0.25);
}

.lp-plan-custom {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
}

.lp-plan-badge {
  position: absolute;
  top: -10px;
  right: 1.25rem;
  background: var(--lp-gradient);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.lp-pricing-note {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: var(--lp-muted);
}

/* FAQ */
.lp-faq {
  max-width: 720px;
  margin: 0 auto;
}

.lp-faq-item {
  border: 1px solid var(--lp-card-border);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  background: var(--lp-card);
  overflow: hidden;
}

.lp-faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.lp-faq-item summary::-webkit-details-marker {
  display: none;
}

.lp-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--lp-muted);
  font-weight: 400;
}

.lp-faq-item[open] summary::after {
  content: "−";
}

.lp-faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.55;
}

.lp-faq-item a {
  color: var(--lp-primary-light);
  text-decoration: underline;
}

/* Contact */
.lp-contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem;
  border-radius: 20px;
  border: 1px solid var(--lp-card-border);
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.12) 0%, var(--lp-card) 55%);
}

.lp-contact-info h2 {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
}

.lp-contact-info > p {
  margin: 0 0 1.25rem;
  color: var(--lp-muted);
}

.lp-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lp-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-muted);
  margin-bottom: 0.15rem;
}

.lp-contact-list a {
  color: var(--lp-text);
  font-weight: 600;
}

.lp-contact-list a:hover {
  color: var(--lp-primary-light);
}

.lp-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lp-contact-actions .lp-btn {
  width: 100%;
}

.lp-footer-support {
  margin-top: 0.85rem !important;
  font-size: 0.85rem !important;
}

.lp-footer-support a {
  color: var(--lp-primary-light);
}

/* Mobile sticky contact bar */
.lp-mobile-bar {
  display: none;
}

/* Footer */
.lp-footer {
  border-top: 1px solid var(--lp-card-border);
  padding: 3rem 2rem 2rem;
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-align: left;
}

.lp-footer-brand strong {
  display: block;
  color: var(--lp-text);
  margin: 0.5rem 0;
}

.lp-footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  max-width: 280px;
}

.lp-footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-text);
}

.lp-footer-grid a {
  display: block;
  color: var(--lp-muted);
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.lp-footer-grid a:hover {
  color: var(--lp-primary-light);
}

.lp-footer-copy {
  text-align: center;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lp-card-border);
  max-width: 1200px;
  margin-inline: auto;
}

/* Mobile nav toggle */
.lp-menu-toggle {
  display: none;
  background: var(--lp-card);
  border: 1px solid var(--lp-card-border);
  color: var(--lp-text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.lp-menu-icon,
.lp-menu-icon::before,
.lp-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

.lp-menu-icon::before,
.lp-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.lp-menu-icon::before {
  top: -6px;
}

.lp-menu-icon::after {
  top: 6px;
}

body.lp-nav-open .lp-menu-icon {
  background: transparent;
}

body.lp-nav-open .lp-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.lp-nav-open .lp-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.lp-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(6, 10, 20, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.lp-nav-open .lp-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .lp-nav-backdrop {
    display: block;
  }

  .lp-nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 320px);
    flex-direction: column;
    align-items: stretch;
    background: var(--lp-bg-soft);
    border-left: 1px solid var(--lp-card-border);
    padding: 5rem 1.25rem 1.5rem;
    gap: 0.15rem;
    z-index: 900;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  }

  .lp-nav-links a {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .lp-nav-links a:hover {
    background: var(--lp-card);
  }

  body.lp-nav-open .lp-nav-links {
    transform: translateX(0);
  }

  .lp-nav-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lp-card-border);
  }

  .lp-nav-drawer-actions .lp-btn {
    width: 100%;
    justify-content: center;
  }

  .lp-menu-toggle {
    display: grid;
    place-items: center;
  }

  .lp-nav {
    padding: 0.85rem 1rem;
    flex-wrap: nowrap;
  }

  .lp-logo {
    flex: 1;
    min-width: 0;
  }

  .lp-logo-text {
    font-size: 1rem;
  }

  .lp-nav-cta {
    gap: 0.35rem;
  }

  /* On mobile keep a compact Sign in, hide header Get started (we surface it in hero + mobile bar) */
  .lp-nav-cta .lp-nav-getstarted {
    display: none;
  }

  .lp-nav-cta .lp-nav-signin {
    padding-inline: 0.8rem;
    font-size: 0.85rem;
  }

  .lp-hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 2.5rem;
    text-align: center;
    gap: 2rem;
  }

  .lp-hero p.lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero-actions .lp-btn {
    width: 100%;
  }

  .lp-trust {
    justify-content: center;
    gap: 1rem;
  }

  .lp-hero-visual {
    min-height: 280px;
    max-width: 100%;
    margin: 0 auto;
    order: -1;
  }

  .lp-float-card.top {
    right: 0;
    top: 0;
  }

  .lp-float-card.bottom {
    left: 0;
    bottom: 10px;
  }

  .lp-section {
    padding: 2.75rem 1rem;
  }

  .lp-pricing-two {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .lp-contact-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .lp-split {
    grid-template-columns: 1fr;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .lp-footer-brand {
    grid-column: 1 / -1;
  }

  .lp-section-alt > .lp-section-title,
  .lp-section-alt > .lp-modules,
  .lp-section-alt > .lp-split,
  .lp-section-alt > .lp-pricing,
  .lp-section-alt > .lp-faq,
  .lp-section-alt > .lp-quotes,
  .lp-section-alt > .lp-pricing-note {
    padding-inline: 1rem;
  }

  .lp-strip-inner {
    padding: 1rem;
    gap: 0.5rem 0.75rem;
  }

  .lp-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    gap: 0.65rem;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 16, 32, 0.96);
    border-top: 1px solid var(--lp-card-border);
    backdrop-filter: blur(12px);
  }

  .lp-mobile-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
  }

  .lp-mobile-bar-call {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
  }

  .lp-mobile-bar-email {
    background: var(--lp-gradient);
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
  }

  body.landing {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
