@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg-1: #ffffff;
  --bg-2: #f7f9ff;
  --ink: #0f1b33;
  --muted: #5e6f8f;
  --accent: #4c6fff;
  --accent-soft: #4f74d1;
  --glass: #ffffff;
  --line: rgba(134, 160, 209, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: #ffffff;
  color: var(--ink);
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(83, 130, 236, 0.08) 0%, rgba(83, 130, 236, 0) 40%),
    radial-gradient(circle at 82% 4%, rgba(130, 120, 255, 0.06) 0%, rgba(130, 120, 255, 0) 42%);
}

.landing-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 18px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  border-radius: 20px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.3rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav a {
  text-decoration: none;
  color: #2f4b7c;
  font-weight: 600;
}

button,
.hero .ghost,
.cta-panel a {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.hero .ghost {
  background: #f5f8ff;
  border: 1px solid #a8bce4;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.hero-copy {
  padding: 16px 4px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

.hero h1 {
  margin: 10px 0 14px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.04;
  max-width: 720px;
}

.hero h1 span {
  color: #86b7ff;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 640px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#authStatus {
  margin-top: 12px;
  color: #395a92;
  font-weight: 600;
}

.hero-mock {
  padding: 14px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-head p {
  margin: 0;
  font-weight: 700;
  color: #20375f;
}

.mock-head span {
  font-size: 0.85rem;
  color: #4f6ea9;
}

.mock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
}

.mock-editor,
.mock-video {
  border-radius: 14px;
  border: 1px solid #bdd0ef;
  background: #f9fbff;
}

.mock-editor {
  padding: 12px;
}

.mock-editor p {
  margin: 0 0 8px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: #3b5f96;
}

.mock-video-stack {
  display: grid;
  gap: 8px;
}

.mock-video {
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 8px;
  gap: 8px;
  color: #27497e;
  font-weight: 700;
}

.mock-video strong {
  font-size: 0.95rem;
}

.mini-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mini-grid span {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: linear-gradient(145deg, #2f5fa8 0%, #5f8fff 100%);
  animation: pulseTiles 2.4s ease-in-out infinite;
}

.mini-grid span:nth-child(2) {
  animation-delay: 0.28s;
}

.mini-grid span:nth-child(3) {
  animation-delay: 0.56s;
}

.mini-grid.partner span {
  background: linear-gradient(145deg, #4e5dc8 0%, #887bff 100%);
  animation-name: floatTiles;
}

@keyframes pulseTiles {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes floatTiles {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.78;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-row article {
  padding: 16px;
}

.trust-row h2 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
}

.trust-row p {
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.cta-panel h3 {
  margin: 7px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
}

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

  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-shell {
    padding: 14px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    flex-wrap: wrap;
  }

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