/* ============================================================
   StarPower by Atypical Beauty — Design System
   Dark luxury: obsidian × caramel gold × ivory cream
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080808;
  --bg-warm:     #0D0A06;
  --bg-panel:    #0F0C08;
  --bg-card:     #131008;
  --bg-card-2:   #1A1510;
  --gold:        #C9974A;
  --gold-light:  #E0B870;
  --gold-pale:   #F0D4A0;
  --gold-subtle: rgba(201, 151, 74, 0.10);
  --gold-border: rgba(201, 151, 74, 0.18);
  --gold-glow:   rgba(201, 151, 74, 0.06);
  --cream:       #F0E8DC;
  --cream-dim:   #B8A898;
  --muted:       #706050;
  --muted-light: #8A7060;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Inter', sans-serif;
  --font-ko:      'Noto Sans KR', sans-serif;
  --container:   1240px;
  --section-v:   120px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
}

/* ---- Typography ---- */
h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---- Nav ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,151,74,0.10);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.nav-logo .star-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.nav-logo .by-line {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-switcher a,
.lang-switcher span {
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 2px;
  transition: color 0.2s;
}

.lang-switcher a:hover { color: var(--cream); }
.lang-switcher .active { color: var(--gold); font-weight: 600; }
.lang-switcher .sep { color: var(--muted); opacity: 0.5; padding: 0; }

.nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold-light); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 160px 0 100px;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 40%;
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(201,151,74,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,151,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,151,74,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.3) 70%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

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

.hero h1 .line-gold {
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--cream-dim);
  max-width: 640px;
  line-height: 1.85;
  margin-bottom: 52px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 16px 36px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 16px 0;
  border-bottom: 1px solid rgba(192,176,160,0.3);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }

.hero-stats {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 48px;
  margin-right: 48px;
  border-right: 1px solid var(--gold-border);
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
  max-width: 140px;
}

/* ---- Proof ---- */
.section-proof {
  padding: var(--section-v) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-border);
}

.proof-header {
  text-align: center;
  margin-bottom: 72px;
}

.proof-header .eyebrow { justify-content: center; }
.proof-header .eyebrow::before { display: none; }

.proof-header h2 { margin-bottom: 20px; }

.proof-sub {
  max-width: 580px;
  margin: 0 auto;
  color: var(--cream-dim);
  font-size: 1rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
  margin-bottom: 64px;
}

.proof-card {
  background: var(--bg-card);
  padding: 44px 32px;
  transition: background 0.2s;
}

.proof-card:hover { background: var(--bg-card-2); }

.proof-card .brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.proof-card .value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 10px;
}

.proof-card .celeb {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.proof-card .desc {
  font-size: 0.85rem;
  color: var(--muted-light);
  line-height: 1.65;
}

.proof-contrast {
  max-width: 880px;
  margin: 0 auto;
}

.vs-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
}

.vs-col {
  padding: 52px 48px;
}

.vs-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.vs-col-bad .vs-label { color: var(--muted-light); }
.vs-col-bad h3 { color: var(--muted-light); margin-bottom: 12px; font-size: 1.6rem; }
.vs-col-bad p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.vs-col-good .vs-label { color: var(--gold); }
.vs-col-good h3 { color: var(--gold-light); margin-bottom: 12px; font-size: 1.6rem; }
.vs-col-good p { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.6; }

.vs-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  gap: 16px;
}

.vs-mid span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gold);
}

.vs-mid::before,
.vs-mid::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: var(--gold-border);
}

/* ---- Manufacturing ---- */
.section-mfg {
  padding: var(--section-v) 0;
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
}

.mfg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 64px;
}

.mfg-text h2 { margin-bottom: 24px; }

.mfg-text .lead {
  color: var(--cream-dim);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 28px;
}

.mfg-text .pull {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.55;
  padding: 28px 32px;
  border-left: 2px solid var(--gold);
  background: var(--gold-subtle);
  margin-top: 36px;
}

.mfg-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mfg-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.mfg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,151,74,0.2) 100%);
}

.mfg-card .mfg-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 6px;
}

.mfg-card .mfg-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.mfg-card p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ---- Platform ---- */
.section-platform {
  padding: var(--section-v) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-border);
}

.platform-header {
  text-align: center;
  margin-bottom: 72px;
}

.platform-header .eyebrow { justify-content: center; }
.platform-header .eyebrow::before { display: none; }
.platform-header h2 { margin-bottom: 16px; }
.platform-header p { max-width: 520px; margin: 0 auto; color: var(--cream-dim); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
}

.platform-step {
  background: var(--bg-card);
  padding: 44px 34px;
  transition: background 0.2s;
}

.platform-step:hover { background: var(--bg-card-2); }

.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: rgba(201,151,74,0.18);
  line-height: 1;
  margin-bottom: 18px;
}

.step-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.platform-step p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.75;
}

/* ---- LatAm ---- */
.section-latam {
  padding: var(--section-v) 0;
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.latam-glow {
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 800px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(201,151,74,0.05) 0%, transparent 65%);
  pointer-events: none;
}

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

.latam-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.latam-stat {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.latam-stat .stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 110px;
}

.latam-stat .stat-body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.latam-stat .stat-body span {
  font-size: 0.85rem;
  color: var(--muted-light);
  line-height: 1.5;
}

.latam-text h2 { margin-bottom: 24px; }

.latam-text p {
  color: var(--cream-dim);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.latam-text .pull {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  padding: 32px;
  border: 1px solid var(--gold-border);
  background: var(--gold-subtle);
  margin-top: 36px;
}

/* ---- Process ---- */
.section-process {
  padding: var(--section-v) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-border);
}

.process-header {
  text-align: center;
  margin-bottom: 72px;
}

.process-header .eyebrow { justify-content: center; }
.process-header .eyebrow::before { display: none; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(8.33% + 6px);
  right: calc(8.33% + 6px);
  height: 1px;
  background: var(--gold-border);
}

.p-step {
  padding: 0 16px;
  text-align: center;
  position: relative;
}

.p-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 2px solid var(--gold);
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
  transition: background 0.2s;
}

.p-step:hover .p-dot { background: var(--gold); }

.p-step .p-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
}

.p-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
  line-height: 1.2;
}

.p-step p {
  font-size: 0.80rem;
  color: var(--muted-light);
  line-height: 1.6;
}

/* ---- Apply ---- */
.section-apply {
  padding: var(--section-v) 0;
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
}

.apply-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.apply-inner h2 { margin-bottom: 18px; }

.apply-sub {
  color: var(--cream-dim);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.85;
}

.apply-form {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--cream);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }

.form-field textarea { min-height: 130px; resize: vertical; }

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9974A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-field select option { background: var(--bg-card); }

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.btn-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 18px 52px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-form:hover { background: var(--gold-light); transform: translateY(-1px); }

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---- Footer ---- */
footer {
  padding: 52px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--gold-border);
}

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

.footer-logo .name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-logo .by {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

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

.footer-links a {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 11px;
  color: var(--muted);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  :root { --section-v: 80px; }
  .container { padding: 0 40px; }
  .nav-inner { padding: 0 40px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::after { display: none; }
  .mfg-layout { grid-template-columns: 1fr; gap: 48px; }
  .latam-layout { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-cta { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .vs-box { grid-template-columns: 1fr; }
  .vs-mid { flex-direction: row; border: none; border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); padding: 20px 48px; }
  .vs-mid::before, .vs-mid::after { width: 40px; height: 1px; flex: 1; }
  .apply-form { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--gold-border); padding-right: 0; padding-bottom: 24px; margin-right: 0; margin-bottom: 0; width: 100%; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ---- Korean font override ---- */
body.lang-ko {
  font-family: var(--font-ko);
}

body.lang-ko h1,
body.lang-ko h2,
body.lang-ko h3,
body.lang-ko h4 {
  font-family: var(--font-ko);
  font-weight: 300;
  letter-spacing: -0.02em;
}
