/* =========
   RESET + BASE
   ========= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #e5e7eb;
  background: radial-gradient(
    circle at top,
    #020617 0,
    #020617 40%,
    #020617 100%
  );
}

body {
  line-height: 1.5;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

ul {
  margin: 0;
  padding-left: 1.2rem;
}

p {
  margin: 0 0 0.5rem;
}

/* =========
   LAYOUT HELPERS
   ========= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 64px 0;
  background: transparent;
}

.section-alt {
  padding: 64px 0;
  background: radial-gradient(
    circle at top,
    #020617 0,
    #030712 40%,
    #020617 100%
  );
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  max-width: 640px;
}

/* =========
   BUTTONS & TAGS
   ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.32);
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
  white-space: nowrap;
}

.btn-lg {
  font-size: 0.95rem;
  padding: 0.6rem 1.3rem;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: none;
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.5);
}

.btn-outline:hover,
.btn-ghost:hover {
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
}

.pill-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

/* =========
   HERO
   ========= */

.hero {
  padding: 80px 0 56px;
  background: radial-gradient(
    circle at top left,
    #111827 0,
    #020617 55%,
    #020617 100%
  );
}

.hero-subpage {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.1rem;
  margin: 0.4rem 0 0.75rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 640px;
}

.hero-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* =========
   GRID & CARDS
   ========= */

.grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.5rem;
}

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

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: 1rem;
  padding: 1.25rem 1.3rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

.mini-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #d1d5db;
}

.feature-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: #60a5fa;
}

/* =========
   MONITOR MOCK & VIDEO CARDS
   ========= */

.hero-visual {
  position: relative;
}

.hero-monitor {
  border-radius: 1.2rem;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.3);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
  font-size: 0.85rem;
}

.monitor-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(to right, #020617, #111827);
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.monitor-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: #9ca3af;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.dot.red {
  background: #f97373;
}
.dot.yellow {
  background: #facc15;
}
.dot.green {
  background: #22c55e;
}

.monitor-main {
  padding: 0.9rem 0.9rem 1rem;
  background: radial-gradient(
    circle at top,
    #020617 0,
    #020617 60%,
    #020617 100%
  );
}

.monitor-main-multi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.monitor-main-qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.monitor-tile {
  border-radius: 0.75rem;
  padding: 0.6rem 0.7rem;
  background: radial-gradient(circle at top left, #111827 0, #020617 80%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.8rem;
}

.monitor-tile h4 {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
}

/* Screenshot mock */

.screenshot-preview {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 70%);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.screenshot-area {
  position: absolute;
  inset: 16%;
  border-radius: 0.6rem;
  border: 2px dashed rgba(96, 165, 250, 0.9);
  background: rgba(15, 23, 42, 0.3);
}

.screenshot-toolbar {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.7rem;
  color: #e5e7eb;
}

/* Recording mock */

.video-placeholder {
  background: radial-gradient(circle at top left, #0f172a 0, #020617 75%);
  min-height: 160px;
}

.recording-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
}

.record-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
}

.timeline {
  margin-top: 0.7rem;
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.9);
}

.timeline-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 45%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Generic video card */

.video-card .video-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #020617;
}

.video-top-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 16px 15px;
  background: #020617;
  border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}

.video-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.video-dot.red {
  background: #f97373;
}
.video-dot.yellow {
  background: #facc15;
}
.video-dot.green {
  background: #22c55e;
}

.video-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: #9ca3af;
}

.video-body {
  background: #020617;
}

.video-placeholder {
  width: 100%;
  min-height: 160px;
  background: #020617;
}

.video-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  background: #020617;
  font-size: 0.75rem;
  color: #9ca3af;
}

.video-play-btn {
  font-size: 0.85rem;
}

.video-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.9);
  overflow: hidden;
}

.video-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #a855f7);
}

/* =========
   QR ELEMENTS & SHORT URL
   ========= */

.short-url-box,
.long-url-box {
  border-radius: 0.9rem;
  padding: 0.6rem 0.7rem;
  background: radial-gradient(circle at top left, #020617 0, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.8rem;
}

.chip-line {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 0.35rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
}

.chip-line-strong {
  background: linear-gradient(
    to right,
    rgba(37, 99, 235, 0.25),
    rgba(168, 85, 247, 0.25)
  );
  border-style: solid;
}

.arrow-down {
  font-size: 1.1rem;
  text-align: center;
  margin: 0.25rem 0;
}

.qr-preview-box {
  width: 120px;
  height: 140px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top, #020617 0, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.qr-mock,
.qr-mock-small {
  width: 70px;
  height: 70px;
  background-image: linear-gradient(90deg, #0f172a 50%, #020617 50%),
    linear-gradient(#0f172a 50%, #020617 50%);
  background-size: 10px 10px;
  border-radius: 0.35rem;
  border: 2px solid #e5e7eb;
}

.qr-mock-small {
  width: 56px;
  height: 56px;
}

.share-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.qr-text-output p {
  font-size: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* QR scan frame */

.qr-scan-frame {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 1rem;
  border: 2px solid rgba(96, 165, 250, 0.9);
  overflow: hidden;
  background: radial-gradient(circle at center, #020617 0, #020617 70%);
}

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  top: 30%;
  opacity: 0.9;
}

/* =========
   DASHBOARD MOCK
   ========= */

.dashboard-main {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, #020617 0, #020617 70%);
  padding: 0.75rem 0.8rem 0.9rem;
  font-size: 0.8rem;
}

.dash-header,
.dash-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ca3af;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.dash-rows {
  border-radius: 0.6rem;
  background: rgba(15, 23, 42, 0.8);
  padding: 0.2rem 0;
}

.dash-row {
  display: grid;
  grid-template-columns: auto 1.2fr 1.3fr;
  gap: 0.4rem;
  align-items: center;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
}

.dash-row + .dash-row {
  border-top: 1px solid rgba(31, 41, 55, 0.95);
}

.dash-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-tag-video {
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}
.dash-tag-shot {
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
}
.dash-tag-qr {
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.dash-title {
  color: #e5e7eb;
}

.dash-meta {
  color: #9ca3af;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

/* =========
   PRICING
   ========= */

.pricing-grid {
  margin-top: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-card-highlight {
  border: 1px solid rgba(59, 130, 246, 0.7);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.45);
  position: relative;
}

.pricing-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.2rem 0;
}

.pricing-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #9ca3af;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: #9ca3af;
}

.pricing-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* =========
   BLOG
   ========= */

.blog-grid {
  margin-top: 1.8rem;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* =========
   CTA BLOCKS & FOOTER
   ========= */

.download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  background: radial-gradient(circle at top left, #1d2539 0, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.download-cta h2 {
  margin-bottom: 0.3rem;
}

.footer {
  padding: 20px 0;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: #020617;
}

.footer-inner {
  display: flex;
  justify-content: center;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

/* =========
   RESPONSIVE
   ========= */

@media (max-width: 960px) {
  .hero-grid,
  .two-cols,
  .three-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 72px;
  }

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

  .dash-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 56px;
    right: 1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.35);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 180px;
    display: none; /* toggled via JS */
  }

  .nav-toggle {
    display: block;
  }

  .navbar.open .nav-links {
    display: flex;
  }

  .hero {
    padding: 64px 0 48px;
  }
}
