/* ========================================
   Lumora — lumora.systems
   Static site styles
   ======================================== */

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

:root {
  --color-primary: #3C8E56;
  --color-primary-light: #4aa968;
  --color-primary-dark: #2d6b41;
  --color-primary-tint: rgba(60, 142, 86, 0.06);
  --color-primary-tint-strong: rgba(60, 142, 86, 0.12);

  /* Light mode (default) */
  --color-bg: #ffffff;
  --color-bg-alt: #f8faf9;
  --color-bg-card: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #555555;
  --color-text-tertiary: #888888;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.14);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 2px 8px rgba(0, 0, 0, 0.08), 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-bg-card: #161616;
    --color-text: #f0f0f0;
    --color-text-secondary: #aaaaaa;
    --color-text-tertiary: #777777;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.14);
    --color-primary-tint: rgba(60, 142, 86, 0.1);
    --color-primary-tint-strong: rgba(60, 142, 86, 0.18);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 2px 8px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.3);
  }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* --- Layout --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }
}

/* --- Section Headers --- */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--color-text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .nav {
    background-color: rgba(10, 10, 10, 0.85);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-text);
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background-color: var(--color-primary);
  color: #ffffff !important;
  border-radius: 980px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background-color: var(--color-primary-light);
  opacity: 1;
  transform: scale(1.02);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

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

  .nav-toggle {
    display: block;
  }
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }
}

/* Decorative leaf shapes */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--color-primary);
}

.hero::before {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -150px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--color-primary-tint);
  border: 1px solid var(--color-primary-tint-strong);
  border-radius: 980px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: #ffffff;
  opacity: 1;
  transform: scale(1.02);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  opacity: 1;
  transform: scale(1.02);
}

/* ========================================
   Problem / Vision
   ======================================== */
.vision {
  background-color: var(--color-bg-alt);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.vision-content .section-subtitle {
  margin-bottom: 24px;
}

.vision-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vision-stat {
  padding: 24px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.vision-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.vision-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Decorative visual for vision section */
.vision-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.vision-visual-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--color-primary-light), var(--color-primary-dark));
  opacity: 0.15;
  position: absolute;
  animation: orb-float 6s ease-in-out infinite;
}

.vision-visual-ring {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0.25;
  position: absolute;
  animation: orb-float 6s ease-in-out infinite reverse;
}

.vision-visual-icon {
  position: relative;
  z-index: 1;
  color: var(--color-primary);
}

.vision-visual-icon svg {
  width: 80px;
  height: 80px;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.03); }
}

/* ========================================
   Product
   ======================================== */
.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .product-features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 40px 32px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--color-primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  background-color: var(--color-bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

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

/* Connecting line between steps (desktop only) */
.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-tint-strong), var(--color-primary), var(--color-primary-tint-strong));
  opacity: 0.3;
}

@media (max-width: 768px) {
  .steps::before {
    display: none;
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-primary-tint);
  border: 2px solid var(--color-primary-tint-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  color: var(--color-primary);
}

.step-number svg {
  width: 32px;
  height: 32px;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ========================================
   Use Cases
   ======================================== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

.use-case-card {
  padding: 40px 32px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.use-case-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* Decorative corner element */
.use-case-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--color-primary);
  opacity: 0.06;
}

.use-case-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.use-case-card h3 {
  margin-bottom: 12px;
}

.use-case-card p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.use-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.use-case-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-primary-tint);
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ========================================
   Team / About
   ======================================== */
.team {
  background-color: var(--color-bg-alt);
  text-align: center;
}

.team-content {
  max-width: 640px;
  margin: 0 auto;
}

.team-content .section-subtitle {
  margin: 0 auto 40px;
}

.team-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.team-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.team-detail-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

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

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text);
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Utility
   ======================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vision-visual-orb,
  .vision-visual-ring {
    animation: none;
  }

  .hero-badge-dot {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
