/* ============================================================
   RedCandle Co., Ltd. — Official Website Stylesheet
   Theme: Premium Light / Editorial / Typography-forward
   Palette: Warm White + Charcoal + Brand Red
   ============================================================ */

/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* 2. CSS CUSTOM PROPERTIES */
:root {
  color-scheme: only light;
  forced-color-adjust: none;
  /* Brand */
  --red: #E8000D;
  --red-hover: #C5000B;
  --red-light: rgba(232, 0, 13, 0.07);
  --red-mid: rgba(232, 0, 13, 0.18);
  --red-border: rgba(232, 0, 13, 0.22);

  /* Backgrounds */
  --bg: #F9F8F6;
  /* warm off-white */
  --bg-white: #FFFFFF;
  --bg-section: #F2F1EE;
  /* alternating section tint */

  /* Surfaces & Borders */
  --surface: #FFFFFF;
  --surface-hover: #FAFAF8;
  --border: #E4E3DF;
  --border-dark: #C8C7C2;
  --divider: #EBEBE8;
  /* very light for rules */

  /* Typography */
  --text-primary: #111111;
  --text-secondary: #55544F;
  --text-muted: #9A9890;
  --text-on-red: #FFFFFF;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(0, 0, 0, 0.07);

  /* Layout */
  --section-gap: 136px;
  --container: 1180px;

  /* Animation */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0.0, 1.0, 1.0);

  /* Font */
  --font-en: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-kr: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  /* Candle */
  --candle-padding-bottom: 60px;
}

/* 3. RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color-scheme: only light;
  forced-color-adjust: none;
  color: var(--text-primary);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-kr {
  font-family: var(--font-kr);
}

body.lang-kr h1,
body.lang-kr h2,
body.lang-kr h3,
body.lang-kr .nav-links a,
body.lang-kr .btn,
body.lang-kr .mobile-nav-links a {
  font-family: var(--font-kr);
  letter-spacing: -0.025em;
  word-break: keep-all;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* 4. LAYOUT */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  position: relative;
}

/* 5. NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(249, 248, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(249, 248, 246, 0.95);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.nav-logo .logo-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* Nav links */
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width 0.25s var(--ease);
}

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

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

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px;
  gap: 0;
  flex-shrink: 0;
}

.lang-btn {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 5px;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.lang-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 1px 4px rgba(232, 0, 13, 0.3);
}

.lang-btn:not(.active):hover {
  color: var(--text-primary);
}

/* Mobile menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(249, 248, 246, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 32px 40px 40px;
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}

.mobile-nav-links a:hover {
  color: var(--text-primary);
}

/* 6. HERO SECTION */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--bg-white);
}

/* Subtle warm radial + noise texture feel */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Warm top-right light source, subtle red tint bottom-left */
  background:
    radial-gradient(ellipse 55% 60% at 75% 40%, rgba(255, 240, 230, 0.7) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(232, 0, 13, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(248, 247, 244, 0.9) 0%, transparent 80%);
}

/* Thin grid — architectural, editorial feel */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 68px;
  width: 100%;
}

.hero-inner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  min-height: calc(100vh - 68px);
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Animated in on load */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
}

.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.hero-headline {
  font-size: clamp(52px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease) 0.28s forwards;
}

.hero-headline .accent {
  color: var(--red);
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 420px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s var(--ease) 0.44s forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s var(--ease) 0.58s forwards;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.9s var(--ease) 0.7s forwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stat-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 0.4s forwards;
}


/* Low-Poly Geometric Candle Visual */
.hero-candle-wrap {
  position: relative;
  width: 320px;
  height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: var(--candle-padding-bottom);
}

.geo-candle-body {
  width: 80px;
  height: 160px;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.candle-facet {
  fill: #D8000C;
  stroke: rgba(0, 0, 0, 0.05);
  stroke-width: 0.5;
}

.candle-facet-bright {
  fill: #FF3D48;
}

.candle-facet-dark {
  fill: #A30009;
}

/* Low-poly Flame */
.geo-flame-wrap {
  position: absolute;
  bottom: calc(var(--candle-padding-bottom) + 170px);
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 120px;
  z-index: 2;
}

.flame-facet {
  transform-origin: center bottom;
  mix-blend-mode: screen;
}

.flame-facet-outer {
  fill: rgba(232, 0, 13, 0.7);
  animation: geoFlicker 3s infinite steps(4);
}

.flame-facet-inner {
  fill: rgba(255, 100, 50, 0.8);
  animation: geoFlicker 2s infinite steps(3);
}

.flame-facet-core {
  fill: #FFFFFF;
  animation: geoFlicker 1s infinite steps(5);
}

/* Digital Glow */
.candle-glow-geo {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(232, 0, 13, 0.1) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: geoPulse 4s infinite steps(6);
  pointer-events: none;
}

@keyframes geoFlicker {

  0%,
  100% {
    transform: scale(1) skewX(0);
    opacity: 0.8;
  }

  25% {
    transform: scale(1.1, 0.9) skewX(2deg);
    opacity: 1;
  }

  50% {
    transform: scale(0.9, 1.2) skewX(-2deg);
    opacity: 0.7;
  }

  75% {
    transform: scale(1.05, 1) skewX(1deg);
    opacity: 0.9;
  }
}

@keyframes geoPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.15);
  }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--border-dark));
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* 7. SECTION COMMON ELEMENTS */
.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.76;
  max-width: 520px;
}

/* 8. ABOUT SECTION */
#about {
  padding: var(--section-gap) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: default;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}

.value-icon {
  width: 46px;
  height: 46px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--red);
}

.value-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.value-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 9. PRODUCTS SECTION */
#products {
  padding: var(--section-gap) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.products-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 68px;
  max-width: 640px;
}

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

/* Product Card */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: border-color 0.35s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
  border-color: var(--border-dark);
}

.product-card:hover::after {
  border-color: rgba(232, 0, 13, 0.12);
}

.product-card-top {
  padding: 40px 36px 32px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border-bottom: 1px solid var(--border);
}

.product-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.product-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--red-border);
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.product-card-info h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.15;
}

.product-card-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.68;
}

.product-card-bottom {
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
}

/* Store Buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.store-btn.google {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}

.store-btn.google:hover {
  background: #2a2a2a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.store-btn.apple {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-dark);
}

.store-btn.apple:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.store-btn.youtube {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-dark);
}

.store-btn.youtube svg {
  color: #FF0000;
}

.store-btn.youtube:hover {
  background: rgba(255, 0, 0, 0.04);
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.store-btn.coming-soon {
  opacity: 0.40;
  pointer-events: none;
}

.store-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.store-btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.store-btn-pre {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.store-btn-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* 10. CONTACT SECTION */
#contact {
  padding: var(--section-gap) 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

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

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--red);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-item-value a {
  transition: color 0.2s var(--ease);
}

.contact-item-value a:hover {
  color: var(--red);
}

/* 11. FOOTER */
footer {
  background: var(--text-primary);
  padding: 56px 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 30px;
  width: auto;
  /* White-bg PNG on dark footer: invert to white */
  filter: brightness(0) invert(1);
  opacity: 0.80;
}

.footer-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* 12. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232, 0, 13, 0.25);
}

.btn-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 6px 20px rgba(232, 0, 13, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-dark);
}

.btn-ghost:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--surface);
  transform: translateY(-1px);
}

/* 13. SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.10s;
}

.reveal-delay-2 {
  transition-delay: 0.20s;
}

.reveal-delay-3 {
  transition-delay: 0.30s;
}

.reveal-delay-4 {
  transition-delay: 0.40s;
}

/* 14. KEYFRAMES */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes halo {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* 15. SELECTION & SCROLLBAR */
/* Data-i18n transition */
[data-i18n] {
  transition: opacity 0.3s ease;
}

[data-i18n].switching {
  opacity: 0;
}

.footer-biz {
  color: rgba(255, 255, 255, 0.25);
}

.footer-biz span {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-right: 0;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* 16. RESPONSIVE — Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  :root {
    --section-gap: 100px;
  }

  .hero-inner .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 52px;
  }

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

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

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

  .hero-visual {
    order: -1;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-left {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-label {
    justify-content: flex-start;
  }
}

/* 17. RESPONSIVE — Mobile (≤ 768px) */
@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
    --candle-padding-bottom: 40px;
  }

  .navbar {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-candle-wrap {
    width: 200px;
    height: 320px;
    padding-bottom: var(--candle-padding-bottom);
    transform: scale(0.7);
    transform-origin: center bottom;
  }

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

  .product-card-top {
    padding: 28px 24px;
    gap: 16px;
  }

  .product-card-bottom {
    padding: 20px 24px;
  }

  .product-card-info h3 {
    font-size: 20px;
  }

  .mobile-nav {
    padding: 28px 20px 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

/* 18. RESPONSIVE — Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .product-card-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
  }
}

/* 19. FORCE LIGHT MODE (SYSTEM DARK MODE OVERRIDE) 
   ------------------------------------------------------------
   Explicitly tells the browser to use light theme colors 
   even if the system is set to Dark Mode. 
   ------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: only light;
    --bg: #F9F8F6 !important;
    --bg-white: #FFFFFF !important;
    --bg-section: #F2F1EE !important;
    --surface: #FFFFFF !important;
    --text-primary: #111111 !important;
    --text-secondary: #55544F !important;
    --text-muted: #9A9890 !important;
  }

  html,
  body {
    background-color: #F9F8F6 !important;
    color: #111111 !important;
  }

  /* Ensure the navbar stays light */
  .navbar,
  .mobile-nav {
    background: rgba(249, 248, 246, 0.95) !important;
    color: #111111 !important;
    border-bottom-color: #E4E3DF !important;
  }

  .nav-links a,
  .nav-logo .logo-text {
    color: #55544F !important;
  }

  /* Maintain the intentional dark footer */
  footer {
    background-color: #111111 !important;
    color: #FFFFFF !important;
  }

  .footer-copy,
  .footer-biz {
    color: rgba(255, 255, 255, 0.45) !important;
  }

  /* Reset product cards */
  .product-card {
    background: #FFFFFF !important;
    border-color: #E4E3DF !important;
  }

  .product-info-panel h3,
  .product-info-panel p {
    color: inherit !important;
  }
}