/* ============================================================
   GET LIT STUDIO CO — Main Stylesheet
   ============================================================ */

/* ----- TOKENS ----- */
:root {
  --bg-0:        #09070400;  /* not used directly, reference */
  --bg-base:     #0b0903;
  --bg-deep:     #0f0b05;
  --bg-card:     #161008;
  --bg-mid:      #1e1608;
  --bg-light:    #f7f2e8;
  --bg-light-2:  #f0ead8;

  --amber:       #d98a20;
  --amber-mid:   #e8a030;
  --amber-warm:  #f5bc58;
  --amber-pale:  #fde8b0;

  --text-on-dark:       #ede7d8;
  --text-muted-dark:    #7a6c52;
  --text-dim-dark:      #4a4030;
  --text-on-light:      #1a1206;
  --text-muted-light:   #5e5040;

  --glow-lg:     rgba(232, 160, 48, 0.18);
  --glow-md:     rgba(232, 160, 48, 0.12);
  --glow-sm:     rgba(232, 160, 48, 0.07);

  --border-dark:  rgba(232, 160, 48, 0.1);
  --border-warm:  rgba(232, 160, 48, 0.22);

  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }

/* ----- BASE ----- */
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--bg-base);
  overflow-x: hidden;
}

/* ----- LAYOUT ----- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-mid);
  margin-bottom: 14px;
}
.eyebrow.centered { text-align: center; }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 60px;
  color: var(--text-on-light);
}
.section-title.centered { text-align: center; }
.section-title.light { color: var(--text-on-dark); }

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.btn-primary {
  padding: 15px 34px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--amber-mid) 0%, var(--amber-warm) 100%);
  color: #130d00;
  box-shadow:
    0 4px 20px rgba(232, 160, 48, 0.45),
    0 0 50px rgba(232, 160, 48, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(232, 160, 48, 0.55),
    0 0 80px rgba(232, 160, 48, 0.24);
}
.btn-primary:active { transform: translateY(0); }

.btn-lg {
  padding: 18px 46px;
  font-size: 1rem;
}

.btn-nav {
  padding: 9px 22px;
  font-size: 0.85rem;
  background: rgba(232, 160, 48, 0.1);
  color: var(--amber-warm);
  border: 1px solid rgba(232, 160, 48, 0.22);
}
.btn-nav:hover {
  background: rgba(232, 160, 48, 0.18);
}

.btn-outline {
  padding: 10px 22px;
  font-size: 0.85rem;
  background: transparent;
  color: var(--amber-warm);
  border: 1.5px solid rgba(232, 160, 48, 0.3);
}
.btn-outline:hover {
  background: rgba(232, 160, 48, 0.08);
  border-color: rgba(232, 160, 48, 0.5);
}

/* ----- SCROLL REVEAL ----- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 28px;
  background: rgba(11, 9, 3, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(232, 160, 48, 0.06);
  transition: background 0.3s;
}
.nav.scrolled {
  background: rgba(11, 9, 3, 0.96);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--amber-warm);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-on-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 35% 55%, #271c08 0%, #150f04 45%, var(--bg-deep) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 28px 100px;
}

.hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 65% 48%, rgba(245, 188, 88, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 20% 65%, rgba(200, 120, 20, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 24px;
  line-height: 1.13;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  line-height: 1.72;
  margin-bottom: 44px;
  max-width: 440px;
}

/* Hero visual — CSS lithophane lamp */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lamp-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lamp-halo {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 188, 88, 0.3) 0%, rgba(232, 160, 48, 0.12) 35%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  border-radius: 50%;
  pointer-events: none;
  animation: halo-breathe 4s ease-in-out infinite;
}

@keyframes halo-breathe {
  0%, 100% { opacity: 1;   transform: translate(-50%, -54%) scale(1); }
  50%       { opacity: 0.65; transform: translate(-50%, -54%) scale(1.06); }
}

.lamp-panel {
  width: 180px;
  height: 230px;
  border-radius: 14px;
  border: 1px solid rgba(245, 188, 88, 0.28);
  background: linear-gradient(160deg, #2a1e08, #181008);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 50px rgba(245, 188, 88, 0.28),
    0 0 100px rgba(232, 160, 48, 0.14),
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(245, 188, 88, 0.1);
  animation: panel-glow 4s ease-in-out infinite;
  animation-delay: -0.5s;
}

@keyframes panel-glow {
  0%, 100% { box-shadow: 0 0 50px rgba(245,188,88,.28), 0 0 100px rgba(232,160,48,.14), 0 20px 60px rgba(0,0,0,.5), inset 0 0 40px rgba(245,188,88,.10); }
  50%       { box-shadow: 0 0 65px rgba(245,188,88,.40), 0 0 120px rgba(232,160,48,.20), 0 20px 60px rgba(0,0,0,.5), inset 0 0 50px rgba(245,188,88,.16); }
}

.lamp-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 48% 44%, rgba(255, 225, 130, 0.55) 0%, rgba(240, 170, 60, 0.25) 45%, transparent 70%);
}

.lamp-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 9px,
      rgba(255, 200, 90, 0.06) 9px,
      rgba(255, 200, 90, 0.06) 10px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 9px,
      rgba(255, 200, 90, 0.04) 9px,
      rgba(255, 200, 90, 0.04) 10px
    );
}

.lamp-stand {
  width: 4px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(232, 160, 48, 0.3), rgba(100, 70, 20, 0.4));
  border-radius: 2px;
}

.lamp-foot {
  width: 64px;
  height: 10px;
  background: linear-gradient(135deg, #2a1e0a, #181008);
  border-radius: 5px;
  border: 1px solid rgba(232, 160, 48, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim-dark);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-in-up 1s var(--ease-out) 1.2s both;
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-arrow {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(232, 160, 48, 0.4), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.7; }
  50%       { transform: scaleY(1.2) translateY(4px); opacity: 1; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 110px 0;
  background: var(--bg-light);
  text-align: center;
}

.how-section .eyebrow { color: var(--amber); }
.how-section .section-title { color: var(--text-on-light); }

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.step {
  flex: 1;
  min-width: 170px;
  max-width: 210px;
  padding: 28px 18px;
}

.step-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  color: var(--amber-mid);
  background: rgba(220, 140, 32, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.step-icon svg { width: 100%; height: 100%; }

.step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(180, 120, 40, 0.45);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.step p {
  font-size: 0.86rem;
  color: var(--text-muted-light);
  line-height: 1.65;
}

.step-connector {
  flex: 0 0 auto;
  align-self: center;
  padding: 0 4px;
  margin-top: -32px;
}
.step-connector span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(180, 120, 40, 0.25), rgba(180, 120, 40, 0.5), rgba(180, 120, 40, 0.25));
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section {
  padding: 110px 0;
  background: var(--bg-deep);
  text-align: center;
}

.products-section .eyebrow.light { color: var(--amber-mid); }
.products-section .section-title.light { color: var(--text-on-dark); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-warm);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 50px rgba(232, 160, 48, 0.07);
}
.product-card.featured {
  border-color: rgba(232, 160, 48, 0.2);
  box-shadow: 0 0 50px rgba(232, 160, 48, 0.06);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: linear-gradient(135deg, var(--amber-mid), var(--amber-warm));
  color: #130d00;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-img {
  height: 210px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-photo { background: linear-gradient(145deg, #1c1508, #2a1e0a); }
.img-pet   { background: linear-gradient(145deg, #1a120a, #261a0c); }
.img-gift  { background: linear-gradient(145deg, #181010, #221608); }

.product-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(245, 188, 88, 0.18) 0%, transparent 65%);
  animation: product-glow-pulse 5s ease-in-out infinite;
}
.product-card:nth-child(2) .product-glow { animation-delay: -1.7s; }
.product-card:nth-child(3) .product-glow { animation-delay: -3.3s; }
@keyframes product-glow-pulse {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 0.5; }
}

.litho-preview {
  width: 90px;
  height: 116px;
  border-radius: 8px;
  border: 1px solid rgba(245, 188, 88, 0.22);
  background: linear-gradient(150deg, rgba(255, 220, 130, 0.1) 0%, rgba(160, 90, 10, 0.06) 100%);
  box-shadow:
    0 0 28px rgba(245, 188, 88, 0.28),
    0 0 60px rgba(232, 160, 48, 0.14),
    inset 0 0 20px rgba(255, 215, 100, 0.1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.litho-preview.round { border-radius: 50%; width: 100px; height: 100px; }
.litho-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 48% 42%, rgba(255, 225, 130, 0.5) 0%, rgba(232, 160, 48, 0.18) 55%, transparent 75%);
}

.product-body {
  padding: 22px 24px 26px;
}
.product-body h3 {
  font-size: 1.05rem;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}
.product-body p {
  font-size: 0.865rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  padding: 110px 0;
  background: var(--bg-light-2);
  text-align: center;
}
.features-section .eyebrow { color: var(--amber); }
.features-section .section-title { color: var(--text-on-light); }

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

.feature-card {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--r-md);
  border: 1px solid rgba(200, 145, 55, 0.12);
  padding: 32px 22px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(180, 120, 40, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--amber);
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.feature-card p {
  font-size: 0.84rem;
  color: var(--text-muted-light);
  line-height: 1.68;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: 130px 0;
  background: var(--bg-base);
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(232, 160, 48, 0.2) 40%, rgba(232, 160, 48, 0.2) 60%, transparent 95%);
}

.cta-halo {
  position: absolute;
  width: 700px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(232, 160, 48, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--text-on-dark);
  margin-bottom: 20px;
}
.cta-title em {
  font-style: italic;
  color: var(--amber-warm);
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-muted-dark);
  max-width: 400px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(232, 160, 48, 0.07);
  padding: 64px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 52px;
}

.footer-logo {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--amber-warm);
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-muted-dark);
  margin-bottom: 4px;
}
.footer-url {
  font-size: 0.78rem;
  color: var(--text-dim-dark);
}

.footer-cols {
  display: flex;
  gap: 56px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}
.footer-col a {
  font-size: 0.875rem;
  color: rgba(237, 231, 216, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber-warm); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 20px 28px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(122, 108, 82, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 56px;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }
  .step { max-width: 260px; }
  .step-connector {
    transform: rotate(90deg);
    margin: 0;
    padding: 4px 0;
  }

  .features-grid { grid-template-columns: 1fr; }

  .footer-cols {
    flex-direction: column;
    gap: 28px;
  }

  .hero-visual { display: none; }
  .hero-scroll-hint { display: none; }

  .cta-title { font-size: 1.8rem; }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .btn-primary { padding: 13px 26px; }
}
