/* CyberSkills public landing — SaaS marketing surface */

:root {
  --lp-ink: #07151c;
  --lp-ink-soft: #1a3340;
  --lp-sea: #0e8aad;
  --lp-sea-deep: #0a6a86;
  --lp-foam: #e8f7fb;
  --lp-mist: #f3fafc;
  --lp-line: rgba(14, 138, 173, 0.18);
  --lp-warn: #c47a12;
  --lp-live: #0d8a4a;
  --lp-font: "Figtree", system-ui, sans-serif;
  --lp-display: "Syne", "Figtree", sans-serif;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.lp-body {
  margin: 0;
  font-family: var(--lp-font);
  color: var(--lp-ink);
  background: var(--lp-mist);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.lp-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.lp-skip:focus { left: 0.5rem; top: 0.5rem; }

/* ── Nav ─────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 21, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-nav-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lp-logo {
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
}

.lp-nav-links {
  display: none;
  gap: 1.25rem;
  margin-left: 0.5rem;
}

.lp-nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms var(--lp-ease);
}
.lp-nav-links a:hover { color: #fff; }

.lp-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-nav-login {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.lp-nav-login:hover { color: #fff; }

.lp-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.lp-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.lp-nav-drawer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-nav-drawer[hidden] { display: none !important; }
.lp-nav-drawer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.65rem 0;
  font-weight: 500;
}

@media (min-width: 860px) {
  .lp-nav-links { display: flex; }
  .lp-nav-toggle { display: none; }
  .lp-nav-drawer { display: none !important; }
}

/* ── Buttons ─────────────────────────────────────────────── */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 220ms var(--lp-ease), background 220ms var(--lp-ease), box-shadow 220ms var(--lp-ease);
}
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:active { transform: translateY(0); }

.lp-btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.lp-btn-primary {
  background: linear-gradient(135deg, #14b4d6, var(--lp-sea-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(14, 138, 173, 0.35);
}
.lp-btn-primary:hover {
  box-shadow: 0 14px 36px rgba(14, 138, 173, 0.45);
  color: #fff;
}

.lp-btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.lp-btn-ghost-dark {
  color: var(--lp-ink);
  border-color: rgba(7, 21, 28, 0.2);
  background: transparent;
}
.lp-btn-ghost-dark:hover { background: rgba(7, 21, 28, 0.05); color: var(--lp-ink); }

/* ── Hero ────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(20, 180, 214, 0.28), transparent 60%),
    radial-gradient(900px 500px at 10% 80%, rgba(10, 106, 134, 0.35), transparent 55%),
    linear-gradient(165deg, #061018 0%, #0a2430 48%, #0c3140 100%);
  color: #fff;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.lp-hero-glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 50%;
  background: radial-gradient(circle, rgba(232, 247, 251, 0.12), transparent 70%);
  animation: lp-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.lp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 960px) {
  .lp-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    padding: 5rem 1.5rem 6rem;
  }
}

.lp-brand-mark {
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.65rem;
  color: #fff;
}

.lp-audience {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 225, 245, 0.35);
  background: rgba(14, 138, 173, 0.18);
  color: #b8f0fb;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lp-hero-title {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.94);
}

.lp-hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 42ch;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero product stage */

.lp-hero-stage {
  position: relative;
  perspective: 1200px;
}

.lp-stage-browser {
  background: rgba(8, 20, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: rotateY(-6deg) rotateX(4deg);
  animation: lp-float 7s ease-in-out infinite;
}

.lp-stage-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-stage-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.lp-stage-chrome span:nth-child(1) { background: #ff6b6b; }
.lp-stage-chrome span:nth-child(2) { background: #ffd166; }
.lp-stage-chrome span:nth-child(3) { background: #06d6a0; }

.lp-stage-url {
  margin-left: 0.75rem;
  flex: 1;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.lp-stage-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 280px;
}

.lp-stage-sidebar {
  padding: 0.9rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.lp-stage-side-label {
  margin: 0.55rem 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.lp-stage-side-label:first-child { margin-top: 0; }

.lp-stage-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}
.lp-stage-page em {
  font-style: normal;
  font-size: 0.7rem;
  color: #7dffb5;
}
.lp-stage-page.is-active {
  background: rgba(20, 180, 214, 0.22);
  color: #fff;
  font-weight: 600;
}

.lp-stage-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.5rem;
}

.lp-stage-canvas {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.lp-stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.lp-stage-publish-btn {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b4d6, var(--lp-sea-deep));
  color: #fff;
  animation: lp-pulse-btn 2.4s ease-in-out infinite;
}

.lp-stage-preview {
  flex: 1;
  border-radius: 12px;
  padding: 1rem 1.05rem;
  background:
    linear-gradient(145deg, rgba(14, 138, 173, 0.28), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-stage-preview-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8be6f7;
}

.lp-stage-preview-title {
  margin: 0 0 0.4rem;
  font-family: var(--lp-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-stage-preview-text {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.lp-stage-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lp-stage-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(13, 138, 74, 0.28);
  color: #9dffc4;
}
.lp-stage-chip.is-muted {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}

.lp-stage-footer-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.lp-stage-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 959px) {
  .lp-stage-browser { transform: none; }
  .lp-stage-body { grid-template-columns: 112px 1fr; }
}

/* ── Sections ────────────────────────────────────────────── */

.lp-section {
  padding: 5rem 0;
}

.lp-section-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lp-section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.lp-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-sea-deep);
  margin: 0 0 0.75rem;
}

.lp-section-title {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--lp-ink);
}

.lp-section-lead {
  margin: 0;
  color: var(--lp-ink-soft);
  font-size: 1.05rem;
  max-width: 40ch;
}

/* How it works */

.lp-how {
  background: #fff;
  border-block: 1px solid var(--lp-line);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  counter-reset: none;
}

@media (min-width: 800px) {
  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.lp-step-num {
  display: block;
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(14, 138, 173, 0.28);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.lp-step-title {
  font-family: var(--lp-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.lp-step-text {
  margin: 0;
  color: var(--lp-ink-soft);
  font-size: 0.98rem;
}

/* Feature bands */

.lp-feature-alt { background: #fff; }

.lp-feature-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .lp-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .lp-feature-grid.is-flip .lp-feature-copy { order: 2; }
  .lp-feature-grid.is-flip .lp-feature-visual { order: 1; }
}

.lp-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.lp-pill-live { background: rgba(13, 138, 74, 0.25); color: #7dffb5; }
.lp-pill-warn { background: rgba(196, 122, 18, 0.28); color: #ffd089; }

.lp-panel,
.lp-form-mock,
.lp-issue-mock {
  background: linear-gradient(160deg, #0b2430, #123848);
  border-radius: 18px;
  padding: 1.35rem;
  color: #fff;
  box-shadow: 0 24px 50px rgba(7, 21, 28, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}
.lp-panel-row strong {
  display: block;
  font-weight: 600;
  color: #fff;
}
.lp-panel-row small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}
.lp-panel-row.is-muted { opacity: 0.78; }

.lp-form-label {
  margin: 0 0 0.75rem;
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.lp-form-field {
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
}
.lp-form-field span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.lp-form-field.is-tall {
  height: 88px;
  align-items: flex-start;
}
.lp-form-submit {
  height: 40px;
  width: 42%;
  margin-left: auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b4d6, var(--lp-sea-deep));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-issue-title {
  font-family: var(--lp-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: #fff;
}
.lp-issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.lp-issue-lines span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.45rem;
  padding-left: 0.1rem;
}
.lp-issue-lines span.is-short { color: rgba(255, 255, 255, 0.55); }

/* CTA */

.lp-cta {
  padding: 5rem 1.5rem;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(20, 180, 214, 0.18), transparent 70%),
    var(--lp-foam);
  text-align: center;
}

.lp-cta-inner { max-width: 36rem; margin: 0 auto; }

.lp-cta-title {
  font-family: var(--lp-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.lp-cta-lead {
  margin: 0 0 1.75rem;
  color: var(--lp-ink-soft);
}

.lp-cta .lp-hero-ctas { justify-content: center; }

/* Footer */

.lp-footer {
  background: var(--lp-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 1.5rem;
}

.lp-footer-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.lp-footer-brand {
  font-family: var(--lp-display);
  font-weight: 700;
  color: #fff;
}

.lp-footer-links {
  display: flex;
  gap: 1.25rem;
}
.lp-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}
.lp-footer-links a:hover { color: #fff; }

.lp-footer-copy { font-size: 0.85rem; }

/* ── Motion ──────────────────────────────────────────────── */

.lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--lp-ease), transform 700ms var(--lp-ease);
}
.lp-reveal[data-delay="1"] { transition-delay: 120ms; }
.lp-reveal[data-delay="2"] { transition-delay: 220ms; }
.lp-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal,
  .lp-stage-browser,
  .lp-stage-publish-btn,
  .lp-hero-glow,
  .lp-btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes lp-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes lp-pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 180, 214, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(20, 180, 214, 0); }
}

@media (min-width: 960px) {
  .lp-stage-browser {
    animation: lp-float-3d 7s ease-in-out infinite;
  }
}

@keyframes lp-float-3d {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(4deg) translateY(-12px); }
}
