/* ============================================
   CLARIANT KOREA - Premium Beauty Design System
   Korean mid-to-high-end aesthetic
   ============================================ */

/* ---- Design Tokens ---- */
:root {
  /* Palette */
  --porcelain: #F7F4F0;
  --porcelain-2: #EFEAE3;
  --cream: #FBF9F6;
  --espresso: #16110E;
  --espresso-2: #221B16;
  --espresso-3: #2E251E;
  --ink: #2B231D;
  --wine: #8C3A45;
  --wine-2: #A04A55;
  --wine-deep: #6B2A33;
  --gold: #B09361;
  --gold-2: #C9AE7C;
  --stone: #8C8276;
  --stone-2: #AFA59A;
  --line: #E0D9CF;
  --line-dark: #3A2F26;
  --white: #FFFFFF;

  /* Type */
  --ff-display: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --ff-body: "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "SF Mono", "JetBrains Mono", monospace;

  /* Rhythm */
  --container: 1240px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;
  --dur-fast: 0.25s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
 color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--wine); color: var(--white); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { max-width: 65ch; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--stone); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow.gold { color: var(--gold-2); }
.eyebrow.on-dark { color: var(--gold-2); }
.text-center { text-align: center; }
.muted { color: var(--stone); }
.mono { font-family: var(--ff-mono); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 5rem); }
.bg-porcelain { background: var(--porcelain); }
.bg-cream { background: var(--cream); }
.bg-espresso { background: var(--espresso); color: var(--porcelain); }
.bg-espresso-2 { background: var(--espresso-2); color: var(--porcelain); }
.bg-wine { background: var(--wine); color: var(--white); }
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split-2.reverse > :first-child { order: 2; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: var(--wine);
  color: var(--white);
}
.btn-primary:hover { background: var(--wine-deep); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--espresso);
}
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-light {
  border-color: rgba(247,244,240,0.3);
  color: var(--porcelain);
}
.btn-outline-light:hover { border-color: var(--porcelain); background: rgba(247,244,240,0.06); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 0.9rem; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: all var(--dur) var(--ease);
}
.nav-inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.scrolled {
  background: rgba(22,17,14,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176,147,97,0.15);
}
.nav.light.scrolled {
  background: rgba(251,249,246,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.35rem; text-decoration: none; }
.logo img { height: 32px; width: auto; display: block; }
.logo-mark {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--porcelain);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease);
}
.logo-mark .accent { color: var(--gold-2); }
.logo-sub {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-2);
  transition: color var(--dur-fast) var(--ease);
}
.nav.light .logo-mark { color: var(--ink); }
.nav.light .logo-mark .accent { color: var(--wine); }
.nav.light .logo-sub { color: var(--stone); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247,244,240,0.75);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-2);
  transition: width var(--dur-fast) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav.light .nav-links a { color: var(--stone); }
.nav.light .nav-links a:hover, .nav.light .nav-links a.active { color: var(--wine); }
.nav.light .nav-links a::after { background: var(--wine); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(247,244,240,0.2);
  border-radius: 100px;
  overflow: hidden;
}
.nav.light .lang-toggle { border-color: var(--line); }
.lang-toggle button {
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(247,244,240,0.5);
  transition: all var(--dur-fast) var(--ease);
}
.nav.light .lang-toggle button { color: var(--stone); }
.lang-toggle button.active {
  background: var(--gold);
  color: var(--espresso);
}
.nav.light .lang-toggle button.active { background: var(--wine); color: var(--white); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--porcelain);
  transition: all var(--dur-fast) var(--ease);
}
.nav.light .menu-toggle span { background: var(--ink); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100vh;
  background: var(--espresso);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--porcelain);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a:hover { color: var(--gold-2); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--espresso);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22,17,14,0.92) 0%, rgba(22,17,14,0.6) 50%, rgba(22,17,14,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: 72px;
}
.hero-inner { max-width: 760px; }
.hero h1 {
  color: var(--porcelain);
  font-weight: 400;
  margin: 1.2rem 0 1.5rem;
}
.hero h1 .highlight {
  color: var(--gold-2);
  font-style: italic;
}
.hero h1 .boost {
  display: block;
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--porcelain);
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(247,244,240,0.7);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-tags {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hero-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,244,240,0.5);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: rgba(247,244,240,0.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--gold-2);
  animation: scrollDown 2s var(--ease) infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ---- Marquee ---- */
.marquee {
  background: var(--espresso-2);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 1.2rem 0;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: rgba(247,244,240,0.35);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.marquee-item::after {
  content: "✦";
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.8rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Intro / Statement ---- */
.intro { text-align: center; }
.intro h2 { margin: 1.5rem auto; }
.intro p { margin-inline: auto; font-size: 1.1rem; }
.statement-num {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: var(--wine);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

/* ---- Technology Grid ---- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.tech-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease);
  position: relative;
}
.tech-card:nth-child(3n) { border-right: none; }
.tech-card:hover { background: var(--porcelain); }
.tech-card:hover .tech-num { color: var(--wine); }
.tech-num {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--stone-2);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  transition: color var(--dur) var(--ease);
}
.tech-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  color: var(--wine);
}
.tech-icon svg { width: 100%; height: 100%; }
.tech-card h3 {
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
}
.tech-card .tech-en {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}
.tech-card p { font-size: 0.92rem; color: var(--stone); line-height: 1.7; }
.tech-specs {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tech-spec {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-top: 1px dashed var(--line);
}
.tech-spec span:first-child { color: var(--stone); }
.tech-spec span:last-child { color: var(--ink); font-weight: 600; }

/* ---- Feature split (image + text) ---- */
.feature-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--porcelain-2);
}
.feature-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature-visual:hover img { transform: scale(1.04); }
.feature-visual.tall { aspect-ratio: 3/4; }
.feature-visual.wide { aspect-ratio: 16/10; }
.feature-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(22,17,14,0.85);
  backdrop-filter: blur(8px);
  color: var(--porcelain);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature-text h2 { margin: 1rem 0 1.5rem; }
.feature-text p { margin-bottom: 1.2rem; }
.feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-list-item .check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--wine);
  margin-top: 2px;
}
.feature-list-item .check svg { width: 100%; height: 100%; }
.feature-list-item strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.feature-list-item span { font-size: 0.88rem; color: var(--stone); }

/* ---- MMFU Diagram section ---- */
.mmfu-section { position: relative; overflow: hidden; }
.mmfu-diagram {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}
.mmfu-layers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mmfu-layer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  position: relative;
  transition: transform var(--dur-fast) var(--ease);
}
.mmfu-layer:hover { transform: translateX(6px); }
.mmfu-layer .depth {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  opacity: 0.6;
}
.mmfu-layer.l1 { background: #F4DDD3; color: #6B2A22; height: 44px; }
.mmfu-layer.l2 { background: #E8C5B5; color: #5A2218; height: 52px; }
.mmfu-layer.l3 { background: #D9A694; color: #4A1A10; height: 64px; }
.mmfu-layer.l4 { background: #C68875; color: var(--white); height: 80px; }
.mmfu-layer.l5 { background: #A86B5A; color: var(--white); height: 64px; }
.mmfu-layer.l6 { background: #8A5040; color: var(--white); height: 52px; }

/* ---- Interface / Controls ---- */
.interface-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.interface-device {
  position: relative;
  background: linear-gradient(160deg, var(--espresso-3), var(--espresso));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.interface-screen {
  background: var(--espresso);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(176,147,97,0.2);
}
.interface-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(176,147,97,0.1);
}
.interface-row:last-child { border-bottom: none; }
.interface-row .label {
  font-size: 0.75rem;
  color: rgba(247,244,240,0.5);
  letter-spacing: 0.04em;
}
.interface-row .value {
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  color: var(--gold-2);
  font-weight: 600;
}
.interface-row .value.bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.interface-bar {
  width: 80px; height: 4px;
  background: rgba(176,147,97,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.interface-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
}
.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.control-item {
  background: var(--cream);
  padding: 2rem 1.5rem;
  transition: background var(--dur-fast) var(--ease);
}
.control-item:hover { background: var(--porcelain); }
.control-icon {
  width: 32px; height: 32px;
  color: var(--wine);
  margin-bottom: 1rem;
}
.control-icon svg { width: 100%; height: 100%; }
.control-item h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.control-item p { font-size: 0.82rem; color: var(--stone); }
.control-item .range {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--wine);
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
}

/* ---- Before / After ---- */
.compare-section { background: var(--porcelain); }
.compare-container {
  position: relative;
  max-width: 900px;
  margin: 2.5rem auto 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize;
  user-select: none;
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-before {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}
.compare-label {
  position: absolute;
  top: 1.2rem;
  padding: 0.4rem 1rem;
  background: rgba(22,17,14,0.8);
  backdrop-filter: blur(6px);
  color: var(--porcelain);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  z-index: 5;
  pointer-events: none;
}
.compare-label.before { left: 1.2rem; }
.compare-label.after { right: 1.2rem; }
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  z-index: 4;
  pointer-events: none;
  transform: translateX(-1px);
}
.compare-handle-btn {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  color: var(--wine);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.compare-handle-btn svg { width: 22px; height: 22px; }

/* ---- Stats ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--line-dark);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num .unit { font-size: 0.5em; color: var(--stone-2); }
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,240,0.5);
}

/* ---- CTA ---- */
.cta-section {
  position: relative;
  background: var(--espresso);
  text-align: center;
  overflow: hidden;
}
.cta-section h2 { color: var(--porcelain); margin-bottom: 1.5rem; }
.cta-section h2 .highlight { color: var(--gold-2); font-style: italic; }
.cta-section p { color: rgba(247,244,240,0.6); margin-inline: auto; margin-bottom: 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--espresso);
  color: rgba(247,244,240,0.6);
  padding-top: 5rem;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(247,244,240,0.5); }
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.88rem; color: rgba(247,244,240,0.5); transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--porcelain); }
.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { color: rgba(247,244,240,0.6); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.78rem;
  color: rgba(247,244,240,0.35);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--dur-fast) var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

/* ---- Page Header (sub-pages) ---- */
.page-header {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  padding-bottom: 4rem;
  background: var(--espresso);
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,17,14,0.7) 0%, rgba(22,17,14,0.9) 100%);
}
.page-header-content { position: relative; z-index: 2; }
.page-header h1 { color: var(--porcelain); margin: 1rem 0; }
.page-header p { color: rgba(247,244,240,0.6); font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(247,244,240,0.4);
}
.breadcrumb a:hover { color: var(--gold-2); }

/* ---- Specs Table ---- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th, .specs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.specs-table th {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  background: var(--porcelain);
}
.specs-table td:first-child { font-weight: 600; color: var(--ink); }
.specs-table tr:hover td { background: rgba(140,58,69,0.03); }

/* ---- Contact Form ---- */
.contact-form {
  display: grid;
  gap: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.form-group input, .form-group textarea, .form-group select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--wine);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- Contact Info Cards ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-info-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.contact-info-item:last-child { border-right: none; }
.contact-info-icon {
  width: 40px; height: 40px;
  margin: 0 auto 1.2rem;
  color: var(--wine);
}
.contact-info-icon svg { width: 100%; height: 100%; }
.contact-info-item h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-info-item p { font-size: 0.88rem; color: var(--stone); }
.contact-info-item a { color: var(--wine); font-weight: 600; }

/* ---- Timeline / Process ---- */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 24px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line);
}
.process-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}
.process-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--wine);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.process-content h4 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.process-content p { font-size: 0.9rem; color: var(--stone); }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.faq-question .icon {
  width: 20px; height: 20px;
  color: var(--wine);
  transition: transform var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.faq-answer-inner {
  padding-bottom: 1.5rem;
  color: var(--stone);
  font-size: 0.92rem;
}

/* ---- Section Header ---- */
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header h2 { margin: 1rem 0; }
.section-header p { color: var(--stone); font-size: 1.05rem; }
.section-header.center p { margin-inline: auto; }

/* ---- Divider ---- */
.divider {
  width: 100%; height: 1px;
  background: var(--line);
}
.divider.dark { background: var(--line-dark); }

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Language display ---- */
[data-kr] { display: none; }
body.lang-kr [data-en] { display: none; }
body.lang-kr [data-kr] { display: revert; }

 /* ---- Product Demo ---- */
 .product-demo { padding-block: clamp(4rem, 9vw, 7rem); }
 .product-demo .section-header h2 {
   font-size: clamp(1.8rem, 4vw, 3rem);
   font-weight: 400;
 }
 .product-demo-frame {
   max-width: 1000px;
   margin: 2.5rem auto 0;
   border-radius: var(--radius-lg);
   overflow: hidden;
   border: 1px solid var(--line-dark);
   box-shadow: 0 20px 60px rgba(0,0,0,0.45);
 }
 .product-demo-frame img {
   width: 100%;
   height: auto;
   display: block;
 }

/* ---- Responsive ---- */
@media (max-width: 968px) {
  .split-2, .interface-showcase { grid-template-columns: 1fr; }
  .split-2.reverse > :first-child { order: 0; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .tech-card:nth-child(2n) { border-right: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line-dark); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-item { border-right: none; border-bottom: 1px solid var(--line); }
  .contact-info-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .nav-links, .lang-toggle { display: none; }
  .menu-toggle { display: flex; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { border-right: none !important; }
  .controls-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .section { padding-block: clamp(3rem, 12vw, 5rem); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--line-dark); }
  .stat-item:last-child { border-bottom: none; }
  .hero-tags { gap: 0.8rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
