/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Manual theme override flags */
body.light-theme {
  color-scheme: light;
}

body.dark-theme {
  color-scheme: dark;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Smooth theme transitions */
body,
.nav,
.hero,
.section,
.section.alt,
.footer,
.faq-item,
.image-placeholder {
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

ul {
	margin-left: 2px;
}
li {
	margin-left: 18px;
}
/* Navigation */
.nav {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin-left: 1.5rem;
  color: #333;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a:hover {
  color: #000;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1.5rem;
  font-size: 1.25rem;
  color: #333;
  padding: 0.25rem;
}

.theme-toggle:hover {
  color: #000;
}

/* Hero */
.hero {
  padding: 3rem 1rem 0 1rem;
  background: #f5f5f7;
  text-align: center;
}

.hero-inner {
  max-width: 85%;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0.5rem auto 2rem;
  color: #555;
}

.hero-image {
	max-width: 100%;
}

.standard-image {
	max-width: 480px;
	border-radius: 12px;
	box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.16)
}

.hero-animation {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1.05rem;
  background: #0071e3;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.cta-button:hover {
  background: #005bbf;
}

/* Sections */
.section {
  padding: 5rem 2rem;
  background: #ffffff;
}

.section.alt {
  background: #fafafa;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.content p {
  font-size: 1.05rem;
  color: #555;
}

/* Feature grid layout */
.feature-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.feature-text {
  text-align: left;
}

.feature-media {
  max-width: 480px;
}

.feature-icon {
  font-size: 2.5rem;
  color: #0071e3;
  margin-bottom: 0.75rem;
}

.image-placeholder {
  width: 100%;
  height: 300px;
  background: #e8e8e8;
  border-radius: 14px;
}

/* Download block */
.download-block {
  text-align: center;
}

.download-block p {
  max-width: 580px;
  margin: 0 auto 2rem;
}

/* FAQ */
.faq h2 {
  margin-bottom: 2rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid #e2e2e2;
  background: #ffffff;
  margin-bottom: 1rem;
  text-align: left;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.faq-question span:first-child {
  text-align: left;
}

.faq-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item.open .faq-question {
  background: #f5f5f7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 0 1rem 0;
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: #555;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
  text-align: center;
}

.footer-inner p {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .content h2 {
    font-size: 1.75rem;
  }

  .nav-container {
    padding: 0.75rem 1.25rem;
  }

  .feature-grid {
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .feature-grid.reverse .feature-text {
    order: 2;
  }

  .feature-grid.reverse .feature-media {
    order: 1;
  }
}

/* Fade-up reveal baseline state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

/* Visible state */
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ------------------------------ */
/* Auto dark theme (system) when
   no manual override is set      */
/* ------------------------------ */

@media (prefers-color-scheme: dark) {
  body:not(.light-theme):not(.dark-theme) {
    background: #111111;
    color: #eaeaea;
  }

  body:not(.light-theme):not(.dark-theme) .nav {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
  }

  body:not(.light-theme):not(.dark-theme) .nav-logo,
  body:not(.light-theme):not(.dark-theme) .nav-links a {
    color: #eaeaea;
  }

  body:not(.light-theme):not(.dark-theme) .theme-toggle {
    color: #eaeaea;
  }

  body:not(.light-theme):not(.dark-theme) .hero {
    background: #1c1c1e;
  }

  body:not(.light-theme):not(.dark-theme) .hero p {
    color: #cfcfcf;
  }

  body:not(.light-theme):not(.dark-theme) .section {
    background: #111111;
  }

  body:not(.light-theme):not(.dark-theme) .section.alt {
    background: #1a1a1a;
  }

  body:not(.light-theme):not(.dark-theme) .content p,
  body:not(.light-theme):not(.dark-theme) .faq-answer p {
    color: #cfcfcf;
  }

  body:not(.light-theme):not(.dark-theme) .image-placeholder {
    background: #2b2b2c;
  }

  body:not(.light-theme):not(.dark-theme) .faq-item {
    background: #1a1a1a;
    border: 1px solid #333;
  }

  body:not(.light-theme):not(.dark-theme) .faq-question {
    color: #eaeaea;
  }

  body:not(.light-theme):not(.dark-theme) .faq-item.open .faq-question {
    background: #2b2b2c;
  }

  body:not(.light-theme):not(.dark-theme) .footer {
    background: #1a1a1a;
    border-top: 1px solid #333;
  }

  body:not(.light-theme):not(.dark-theme) .footer-inner p {
    color: #999;
  }

}

/* ------------------------------ */
/* Manual dark theme (toggle)     */
/* ------------------------------ */

body.dark-theme {
  background: #111111;
  color: #eaeaea;
}

body.dark-theme .nav {
  background: #1a1a1a;
  border-bottom: 1px solid #333;
}

body.dark-theme .nav-logo,
body.dark-theme .nav-links a {
  color: #eaeaea;
}

body.dark-theme .theme-toggle {
  color: #eaeaea;
}

body.dark-theme .hero {
  background: #1c1c1e;
}

body.dark-theme .hero p {
  color: #cfcfcf;
}

body.dark-theme .section {
  background: #111111;
}

body.dark-theme .section.alt {
  background: #1a1a1a;
}

body.dark-theme .content p,
body.dark-theme .faq-answer p {
  color: #cfcfcf;
}

body.dark-theme .image-placeholder {
  background: #2b2b2c;
}

body.dark-theme .faq-item {
  background: #1a1a1a;
  border: 1px solid #333;
}

body.dark-theme .faq-question {
  color: #eaeaea;
}

body.dark-theme .faq-item.open .faq-question {
  background: #2b2b2c;
}

body.dark-theme .footer {
  background: #1a1a1a;
  border-top: 1px solid #333;
}

body.dark-theme .footer-inner p {
  color: #999;
}

body.dark-theme .card-shadow,
body.dark-theme .faq-item,
body.dark-theme .image-placeholder,
body.dark-theme .feature-media {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.55),
    0 3px 6px rgba(0, 0, 0, 0.45);
}