/* LazyDEV marketing — mobile-first */
:root {
  --bg: #0c0218;
  --bg-elevated: #160234;
  --surface: #1a0840;
  --surface-2: #22104f;
  --text: #f3eefc;
  --text-muted: #b9a8d4;
  --accent: #25d0ff;
  --accent-2: #7c3aed;
  --cta: #e8921a;
  --cta-text: #1a0a00;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --pad: 1.25rem;
  --max: 1120px;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(37, 208, 255, 0.18), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.mt-10 { margin-top: 0.625rem; }
.mt-20 { margin-top: 1.25rem; }
.mt-40 { margin-top: 2.5rem; }
.ml-10 { margin-left: 0.625rem; }
.pad-10 { padding: 0.625rem; }

/* —— Header (mobile default) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.65rem var(--pad);
  background: rgba(12, 2, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem var(--pad) 1rem;
  background: rgba(18, 4, 36, 0.98);
  border-bottom: 1px solid var(--border);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(37, 208, 255, 0.12);
  color: var(--accent);
  text-decoration: none;
}

.site-nav .nav-login {
  margin-top: 0.35rem;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), #4f46e5);
  color: #fff;
}

.site-nav .nav-login:hover {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #f0a03a, var(--cta));
  color: var(--cta-text);
  box-shadow: 0 10px 28px rgba(232, 146, 26, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.btn-accent {
  background: linear-gradient(135deg, #1ec8f5, #0ea5e9);
  color: #041018;
}

.btn-block {
  width: 100%;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* —— Hero —— */
.hero {
  padding: 2rem var(--pad) 2.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-copy {
  text-align: left;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 208, 255, 0.35);
  background: rgba(37, 208, 255, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.4rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(105deg, #fff 20%, #7dd3fc 55%, #c4b5fd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.35rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* —— Sections —— */
.section {
  padding: 2.5rem var(--pad);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 5vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 40rem;
}

.page-hero {
  padding: 2rem var(--pad) 1rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  margin-bottom: 0.65rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 40rem;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: linear-gradient(160deg, rgba(34, 16, 79, 0.95), rgba(18, 6, 48, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p,
.card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.card ul li {
  text-align: start;
}

.card-link-container,
.card-link-download {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2ad4ff 0%, #0ea5e9 55%, #0284c7 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #041018;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 8px 22px rgba(14, 165, 233, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.card-link:hover {
  text-decoration: none;
  color: #020a10;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(14, 165, 233, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.card-link:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.card--muted {
  opacity: 0.72;
}

.badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.25);
  color: #ddd6fe;
}

.badge-soon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.panel + .panel {
  margin-top: 1rem;
}

.panel h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.panel p {
  color: var(--text-muted);
}

.features-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.features-list li {
  color: var(--text-muted);
}

.build-section {
  padding: 0 var(--pad) 2.5rem;
}

.build-title {
  width: 100%;
  margin: 1.5rem 0 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e7490, #6d28d9);
  font-family: var(--font-display);
  font-size: 1rem;
}

.build-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  margin-bottom: 1rem;
}

.build-container h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.build-container ul {
  padding-left: 1.15rem;
  list-style: disc;
  display: grid;
  gap: 0.35rem;
}

.build-container li {
  color: var(--text-muted);
}

.build-diagram img {
  width: 100%;
  border-radius: 10px;
  margin-top: 0.75rem;
}

.build-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.build-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid-layout,
.card-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.wrapper {
  background: rgba(27, 3, 64, 0.55);
  padding: 1.25rem 0;
  margin: 1rem 0;
}

.software-container {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 0.85rem;
}

.software_image {
  width: min(280px, 70vw);
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.software_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.carousel {
  margin: 0.75rem 0;
  max-width: 100%;
  overflow: hidden;
  display: flex;
}

.group {
  display: flex;
  gap: 0.85rem;
  padding-right: 0.85rem;
  will-change: transform;
  animation: scrolling 18s linear infinite;
}

@keyframes scrolling {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(37, 208, 255, 0.1);
  border: 1px solid rgba(37, 208, 255, 0.35);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.messenger-link:hover {
  background: rgba(37, 208, 255, 0.18);
  text-decoration: none;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 32px;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.faq p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: 2rem;
  padding: 2rem var(--pad) 2.5rem;
  background: #07010f;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer img {
  height: 44px;
  width: auto;
  margin: 0 auto 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-weight: 600;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legacy id hooks used by older markup during migration */
#navbar-section { display: contents; }
#navbar, #mobile-navbar { display: none; }

/* —— Tablet —— */
@media (min-width: 768px) {
  :root { --pad: 1.75rem; }

  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0.4rem 0.7rem;
    font-size: 0.95rem;
  }

  .site-nav .nav-login {
    margin-top: 0;
    margin-left: 0.35rem;
    padding-inline: 1rem;
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn { width: auto; min-width: 10rem; }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
  }

  .card-grid,
  .card-grid-layout,
  .video-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* —— Desktop —— */
@media (min-width: 1024px) {
  :root { --pad: 2rem; }

  .brand-name { font-size: 1.15rem; }

  .hero h1 { font-size: 3.5rem; }

  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .section { padding-block: 3.5rem; }

  .card-link {
    min-height: 52px;
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
  }

  .software-container .card-link-download,
  .card .card-link-download {
    margin-top: 1.15rem;
  }

  .card-link-download {
    gap: 0.75rem;
  }
}
