/* ============================================================
   Lumelis Digital — Shared Design System
   Brand: dark (#202229), cream white (#f0ede6), gold accent (#d4a847)
   Philosophy: elegant light, modern, calm, premium
   ============================================================ */

/* ---------- Local Fonts — Outfit ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/outfit-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Local Fonts — Inter ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- Design Tokens ---------- */
:root {
  --bg: #202229;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --text: #f0ede6;
  --text-muted: rgba(240, 237, 230, 0.55);
  --text-subtle: rgba(240, 237, 230, 0.35);
  --gold: #d4a847;
  --gold-glow: rgba(212, 168, 71, 0.22);
  --gold-dim: rgba(212, 168, 71, 0.40);
  --gold-bright: #e8c46a;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition: 200ms ease;
  --transition-slow: 400ms ease;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 900px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---------- Site Header ---------- */
.site-header {
  padding: 48px 24px 32px;
  text-align: center;
}

.site-header a {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  width: 260px;
  max-width: 80vw;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform var(--transition-slow), filter var(--transition-slow);
}



/* ---------- Main Content ---------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 80px;
  text-align: center;
}

/* ---------- Hero Section ---------- */
.hero {
  margin-top: 12px;
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease both;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: 540px;
  margin: 0 auto;
}

/* Second tagline line — explanatory subtitle */
.hero-tagline+.hero-tagline {
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 400;
  color: var(--text-subtle);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* Accent highlight — matches the luminous gold dot in the logo */
.accent-word {
  color: var(--gold-bright);
}

/* ---------- Products Section ---------- */
/*
  TO SHOW a product button: remove display:none below and
  move a .btn element outside this section, or uncomment per-item.
*/
#products-section {
  /*display: none;*/
  width: 100%;
  max-width: var(--max-width);
  animation: fadeUp 0.9s ease 0.15s both;
}

.products-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 28px;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-dim);
  background: var(--bg-surface);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(212, 168, 71, 0.06);
  box-shadow: 0 0 20px var(--gold-glow), inset 0 0 12px rgba(212, 168, 71, 0.05);
  transform: translateY(-2px);
}

.btn:hover::before {
  opacity: 1;
}

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

.btn-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.btn:hover .btn-icon {
  opacity: 1;
}

/* ---------- Divider ---------- */
.divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(240, 237, 230, 0.15), transparent);
  margin: 0 auto 48px;
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.lang-btn:hover {
  color: var(--text-muted);
}

.lang-btn.active {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}

.lang-sep {
  color: var(--text-subtle);
  font-size: 0.65rem;
  opacity: 0.4;
}

/* Language content blocks — hidden by default, shown when .active */
.lang-block {
  display: none;
}

.lang-block.active {
  display: block;
}

/* ---------- Legal/Content Pages ---------- */
.legal-content {
  width: 100%;
  max-width: 680px;
  text-align: left;
  animation: fadeUp 0.7s ease both;
}

.legal-content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-content .page-date {
  font-size: 0.8rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  display: block;
}

.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-bright);
  margin-top: 40px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.legal-content h3 {
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.legal-content h4 {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 6px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(232, 196, 106, 0.3);
  transition: text-decoration-color var(--transition), color var(--transition);
}

.legal-content a:hover {
  color: var(--text);
  text-decoration-color: rgba(240, 237, 230, 0.6);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.legal-content ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Site Footer ---------- */
.site-footer {
  padding: 28px 24px 36px;
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(240, 237, 230, 0.12), transparent);
  margin: 0 auto 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.footer-links a:hover::after {
  width: 100%;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  opacity: 0.6;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive — Tablet ---------- */
@media (max-width: 768px) {
  .site-header {
    padding: 40px 20px 28px;
  }

  .logo-img {
    width: 220px;
  }

  main {
    padding: 0 20px 64px;
  }

  .hero {
    margin-bottom: 48px;
  }

  .products-grid {
    gap: 14px;
  }

  .legal-content {
    max-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

/* ---------- Responsive — Mobile ---------- */
@media (max-width: 480px) {
  .site-header {
    padding: 28px 16px 20px;
  }

  .logo-img {
    width: 180px;
  }

  main {
    padding: 0 16px 52px;
  }

  .hero {
    margin-top: 8px;
    margin-bottom: 36px;
  }

  .hero-tagline {
    font-size: 0.97rem;
    line-height: 1.6;
  }

  .hero-tagline+.hero-tagline {
    font-size: 0.72rem;
    margin-top: 8px;
  }

  .divider {
    height: 40px;
    margin-bottom: 32px;
  }

  .products-label {
    font-size: 0.65rem;
    margin-bottom: 20px;
  }

  .products-grid {
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.87rem;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }

  .legal-content h2 {
    font-size: 1rem;
    margin-top: 28px;
  }

  .legal-content p,
  .legal-content ul li {
    font-size: 0.9rem;
  }

  .site-footer {
    padding: 20px 16px 28px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .footer-links a {
    font-size: 0.72rem;
  }
}