/* Landing Page Styles - Generated by Landing Page Builder */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-xl: 42px;
  --font-lg: 24px;
  --font-md: 20px;
  --font-sm: 18px;
  --font-xs: 16px;
  --font-xxs: 14px;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-text: #222;
  --color-text-secondary: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-border: #e5e7eb;
  --container-max: 960px;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  :root {
    --font-xl: 24px;
    --font-lg: 18px;
    --font-md: 16px;
    --font-sm: 14px;
    --font-xs: 14px;
    --font-xxs: 12px;
  }
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--color-text);
  background-color: #fff;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ4MCIgaGVpZ2h0PSI2NTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik03MzEuMjA3IDY0OS44MDJDOTM1LjQ4NCA2NDIuMTQgMTQ4MCAzMzcuMzI1IDE0ODAgMTgwLjg4OGMwLTE1Ni40MzgtMzA5Ljc0NC0zNi4wNTUtNzIwLTM2LjA1NVMwLTE3NC40ODMgMCAxMzUuMTQ0YzAgMzA5LjYyNyA1MjYuOTMgNTIyLjMyIDczMS4yMDcgNTE0LjY1OHoiIGZpbGw9IiNGNkY4RkEiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==");
  background-size: cover;
  background-position-x: 20vw;
  background-position-y: -10vh;
  background-repeat: no-repeat;
  line-height: 1.4;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
}

a {
  color: #65638f;
  text-decoration: none;
}
a:hover {
  color: #5A51FE;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
}

h1, h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Hero Section */
.hero-section {
  margin-top: 128px;
  margin-bottom: 128px;
}

@media (max-width: 768px) {
  .hero-section {
    margin-top: 32px;
    margin-bottom: 16px;
  }
}

.hero-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 64px;
}

@media (max-width: 768px) {
  .hero-layout {
    gap: 16px;
  }
}

.hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-icon {
  width: 250px;
  height: 250px;
  border-radius: 22.5%;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .product-icon {
    width: 100px;
    height: 100px;
    border-radius: 22.5%;
  }
}

.product-title {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-subtitle {
  font-size: var(--font-lg);
  color: var(--color-text-secondary);
  margin: 0 0 24px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .product-subtitle {
    margin-bottom: 16px;
  }
}

/* Download badges inline with hero */
.hero-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: -9.8px;
}

@media (max-width: 768px) {
  .hero-downloads {
    margin-left: 0;
  }
}

.download-badge {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.download-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.download-badge img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

/* Badge-specific sizing for visual consistency (ref: style.css) */
.download-badge--android img {
  width: 176px;
  height: auto;
}

.download-badge--apple img {
  width: 140px;
  height: auto;
}

@media (max-width: 768px) {
  .download-badge--android img {
    width: 126px;
    height: auto;
  }
  .download-badge--apple img {
    width: 100px;
    height: auto;
  }
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  box-shadow: var(--shadow);
}

.download-link:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Screenshots Section */
.screenshots-section {
  padding: 32px 0 64px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(17, 16, 62, 0.12);
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.screenshot-item:hover {
  transform: scale(1.05);
  box-shadow: 0 24px 48px rgba(17, 16, 62, 0.12);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Description Section - Markdown rendered, left-aligned */
.description-section {
  padding: 64px 0;
}

.description-content {
  max-width: 100%;
  text-align: left;
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.8;
}

.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  font-weight: 600;
  line-height: 1.3;
}

.description-content h1 { font-size: 1.6rem; }
.description-content h2 { font-size: 1.3rem; }
.description-content h3 { font-size: 1.1rem; }

.description-content p {
  margin-bottom: 0.8em;
  color: var(--color-text-secondary);
}

.description-content p:last-child {
  margin-bottom: 0;
}

.description-content ul,
.description-content ol {
  padding-left: 1.5em;
  margin-bottom: 0.8em;
}

.description-content li {
  margin-bottom: 0.3em;
}

.description-content a {
  color: #1677ff;
  text-decoration: none;
}

.description-content a:hover {
  text-decoration: underline;
}

.description-content strong {
  font-weight: 600;
}

.description-content em {
  font-style: italic;
}

.description-content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.description-content pre {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 0.8em;
}

.description-content pre code {
  background: none;
  padding: 0;
}

.description-content blockquote {
  margin: 0.8em 0;
  padding: 8px 16px;
  border-left: 4px solid #e5e7eb;
  color: var(--color-text-secondary);
}

.description-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.2em 0;
}

.description-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.8em;
}

.description-content th,
.description-content td {
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  text-align: left;
}

.description-content th {
  background: #f9fafb;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 40px 0;
  text-align: left;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-text-primary);
}

.copyright {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Lightbox */
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#lightbox-overlay.active {
  display: flex;
}

#lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .description-section {
    padding: 32px 0;
  }
}