/* ===================================================
   Lumyn Landing Page — Styles
   =================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Warm cream / sand palette */
  --background: #f5f0e8;
  --foreground: #2a2017;
  --card: #faf8f4;
  --card-foreground: #2a2017;
  --primary: #3a3025;
  --primary-foreground: #f5f0e8;
  --secondary: #ede7db;
  --secondary-foreground: #3a3025;
  --muted: #eee8dc;
  --muted-foreground: #78705f;
  --accent: #c8922a;
  --accent-foreground: #2a2017;
  --border: #e0dace;
  --ring: #b08830;
  --feature-warm: #f0e6d0;
  --feature-sage: #dce8d8;
  --feature-sky: #dae5f0;
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-ghost-light {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 1.5px solid rgba(245, 240, 232, 0.2);
}

.btn-ghost-light:hover {
  background-color: rgba(245, 240, 232, 0.1);
}

/* Arrow icon inside buttons */
.btn .arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(245, 240, 232, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 218, 206, 0.5);
}
#download-buttons {
  scroll-margin-top: 120px;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--primary);
}
.logo-image {
  height: 40px;
  width: auto;
  display: block;
}
.logo-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-foreground);
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-download-btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--foreground);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(224, 218, 206, 0.5);
  background-color: var(--background);
  padding: 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-menu-links .btn {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}
.mobile-menu .btn-primary {
  color: var(--primary-foreground);
}
@media (max-width: 768px) {
  .nav-links-desktop {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 96px 0 80px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

.hero-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--foreground);
  text-wrap: balance;
}

.hero h1 .accent-text {
  color: var(--accent);
}

.hero-description {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.store-button img {
  height: 52px;
  width: auto;
}

/* Social proof mini */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--background);
  background-color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-foreground);
  margin-left: -8px;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

.hero-social-proof p {
  font-size: 14px;
  color: var(--muted-foreground);
}

.hero-social-proof strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Hero image area */
.hero-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-color: rgba(200, 146, 42, 0.12);
  filter: blur(64px);
  z-index: 0;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 340px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 64px 0 60px;
  }

  .hero-content {
    align-items: center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-image-wrapper img {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* --- Stats Bar --- */
.stats-bar {
  border-top: 1px solid rgba(224, 218, 206, 0.5);
  border-bottom: 1px solid rgba(224, 218, 206, 0.5);
  background-color: var(--card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.stat-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.stat-label {
  font-size: 14px;
  color: var(--muted-foreground);
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }
}

/* --- Features Section --- */
.features-section {
  padding: 80px 0 80px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-wrap: balance;
}

.section-description {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Feature rows */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-row {
  border-radius: 20px;
  overflow: hidden;
}

.feature-row-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 24px;
  max-width: 1152px;
  margin: 0 auto;
    justify-content: center;

}

.feature-row.reverse .feature-row-inner {
  flex-direction: row-reverse;
}

.bg-warm {
  background-color: var(--feature-warm);
}

.bg-sage {
  background-color: var(--feature-sage);
}

.bg-sky {
  background-color: var(--feature-sky);
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background-color: rgba(245, 240, 232, 0.8);
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 16px;
  width: fit-content;
}

.feature-badge-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.feature-description {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.feature-highlights {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--foreground);
}

.check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1024px) {
  .feature-row-inner,
  .feature-row.reverse .feature-row-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding: 40px 24px;
  }

  .feature-text {
    align-items: center;
  }

  .feature-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-description {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-highlights {
    align-items: center;
  }

  .feature-image img {
    width: 260px;
  }

  .section-title {
    font-size: 28px;
  }
}

/* --- How It Works Section --- */
.how-it-works {
  background-color: var(--card);
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(224, 218, 206, 0.5);
  background-color: var(--background);
  transition: box-shadow 0.3s;
}

.step-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.step-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--border);
  margin-bottom: 16px;
}

.step-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(200, 146, 42, 0.1);
  margin-bottom: 16px;
}

.step-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.step-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- Testimonials Section --- */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(224, 218, 206, 0.5);
  background-color: var(--card);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 1;
}

.testimonial-quote {
  flex: 1;
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground);
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(224, 218, 206, 0.5);
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-foreground);
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.author-role {
  font-size: 12px;
  color: var(--muted-foreground);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--primary);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 80px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-foreground);
  text-wrap: balance;
}

.cta-inner p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.7);
  max-width: 480px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 480px) {
  .cta-inner h2 {
    font-size: 26px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(224, 218, 206, 0.5);
  background-color: var(--primary-foreground);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand .logo-icon svg {
  width: 14px;
  height: 14px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 300px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  width: 100%;
}

.footer-nav a {
  font-size: 14px;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid rgba(224, 218, 206, 0.3);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted-foreground);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Image loader */
.image-loader {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

/* shimmer overlay */
.image-loader::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.35) 50%,
    transparent 80%
  );

  animation: shimmer 1.6s infinite;
}

/* hide shimmer when loaded */
.image-loader.loaded::before {
  display: none;
}

.image-loader img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-loader.loaded img {
  opacity: 1;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

/* other pages 

/* Legal pages */

.legal-page {
  padding-top: 120px;   /* space below navbar */
  padding-bottom: 80px;
}

.legal-container {
  max-width: 800px;
}

/* Headings */

.legal-container h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.legal-container h2 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 8px;
}

/* Text */

.legal-container p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Lists */

.legal-container ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-container li {
  font-size: 15px;
  margin-bottom: 8px;
}

/* Muted text */

.legal-container .muted {
  color: #666;
  font-size: 14px;
}


/* Terms summary card */

.legal-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0 28px;
  background: #fafafa;
}

.legal-label {
  font-weight: 600;
  margin-bottom: 8px;
}