/* =====================
   Design Tokens
   ===================== */
:root {
  --primary:       #0f5238;
  --primary-dark:  #0a3d27;
  --primary-mid:   #2d6a4f;
  --primary-light: #52b788;
  --primary-pale:  #e8f5ee;
  --primary-ghost: #f0f9f4;

  --bg:        #faf9f6;
  --surface:   #ffffff;
  --surface-2: #f4f3f0;

  --text:   #1a1c1a;
  --text-2: #3d4a42;
  --text-3: #6b7c72;
  --text-4: #9aac9f;

  --border:   #dce8e1;
  --border-2: #eaf0ec;

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 100px;

  --shadow-sm: 0 2px 8px  rgba(15,82,56,.08);
  --shadow-md: 0 4px 20px rgba(15,82,56,.12);
  --shadow-lg: 0 8px 40px rgba(15,82,56,.18);
  --shadow-xl: 0 20px 60px rgba(15,82,56,.22);

  --ease: .2s ease;
  --ease-slow: .5s ease;
}

/* =====================
   Reset & Base
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  word-break: keep-all;
}
p, li, span { word-break: keep-all; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* =====================
   Language Toggle
   ===================== */
body.lang-ko .en { display: none !important; }
body.lang-en .ko { display: none !important; }

/* =====================
   Layout
   ===================== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 16px rgba(15,82,56,.28);
}
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(15,82,56,.36); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-ghost); transform: translateY(-1px); }
.btn-white {
  background: white; color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.btn-ghost-white {
  background: rgba(255,255,255,.12); color: white;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.22); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* =====================
   Navigation
   ===================== */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-2);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { width: 38px; height: 38px; border-radius: 10px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-kr {
  font-family: 'Plus Jakarta Sans','Noto Sans KR',sans-serif;
  font-weight: 800; font-size: 17px; color: var(--primary);
}
.nav-logo-en { font-size: 11px; color: var(--text-3); letter-spacing: 1.5px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-2); border-radius: var(--r-sm); transition: all var(--ease);
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-ghost); color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  height: 36px; min-width: 44px; padding: 0 10px;
  border-radius: var(--r-sm); border: 1.5px solid var(--border);
  background: transparent; font-size: 13px; font-weight: 700;
  color: var(--text-2); cursor: pointer; transition: all var(--ease);
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-ghost); }

/* =====================
   Hero
   ===================== */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 100px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(15,82,56,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(82,183,136,.05) 0%, transparent 60%);
}
.hero-dot-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(15,82,56,.07) 1.5px, transparent 0);
  background-size: 28px 28px;
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; align-items: center; gap: 72px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; background: var(--primary-pale); color: var(--primary);
  border-radius: var(--r-pill); font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 50px; font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl {
  color: var(--primary); position: relative; display: inline-block;
}
.hero h1 .hl::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 3px; background: var(--primary-light); border-radius: 2px; opacity: .45;
}
.hero-desc { font-size: 17px; color: var(--text-2); line-height: 1.75; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; align-items: center; gap: 20px; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-trust-item span { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.hero-trust-sep { width: 1px; height: 32px; background: var(--border); }

/* =====================
   Phone Mockup
   ===================== */
.phone-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; padding: 24px 0;
}
.phone-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 180px; height: 36px;
  background: radial-gradient(ellipse, rgba(15,82,56,.22) 0%, transparent 70%);
  filter: blur(14px);
}
.phone {
  width: 256px;
  background: #1c1c1e;
  border-radius: 50px;
  padding: 10px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,.1),
    var(--shadow-xl),
    inset 0 1px 0 rgba(255,255,255,.08);
  transform: rotate(-5deg);
  animation: float 4.5s ease-in-out infinite;
  position: relative; z-index: 1;
}
@keyframes float {
  0%,100% { transform: rotate(-5deg) translateY(0); }
  50%      { transform: rotate(-5deg) translateY(-14px); }
}
.phone-notch {
  width: 76px; height: 7px;
  background: #1c1c1e; border-radius: 4px; margin: 0 auto 8px;
}
.phone-screen {
  background: var(--bg); border-radius: 40px;
  overflow: hidden; display: flex; flex-direction: column;
  height: 488px;
}

/* --- Mock App UI --- */
.mock-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px 4px; font-size: 11px; font-weight: 700;
}
.mock-statusbar-icons { display: flex; gap: 5px; align-items: center; }
.mock-signal { display: flex; gap: 2px; align-items: flex-end; }
.mock-signal span {
  width: 3px; background: var(--text); border-radius: 1px; display: block;
}
.mock-signal span:nth-child(1) { height: 4px; }
.mock-signal span:nth-child(2) { height: 7px; }
.mock-signal span:nth-child(3) { height: 10px; }
.mock-battery {
  width: 16px; height: 8px; border: 1.5px solid var(--text);
  border-radius: 2px; position: relative; display: flex;
  align-items: center; padding: 1px;
}
.mock-battery::after {
  content: ''; position: absolute; right: -5px; top: 50%;
  transform: translateY(-50%); width: 2px; height: 4px;
  background: var(--text); border-radius: 0 1px 1px 0;
}
.mock-battery-fill { width: 70%; height: 100%; background: var(--primary); border-radius: 1px; }
.mock-app-header {
  padding: 6px 14px 10px; display: flex;
  justify-content: space-between; align-items: flex-end;
}
.mock-app-title { font-size: 19px; font-weight: 900; color: var(--primary); line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }
.mock-app-sub { font-size: 9px; color: var(--text-4); letter-spacing: 1px; margin-top: 2px; }
.mock-fab-btn {
  width: 30px; height: 30px; background: var(--primary);
  border-radius: 9px; display: flex; align-items: center;
  justify-content: center; color: white; font-size: 20px; font-weight: 300;
}
.mock-stats {
  display: flex; gap: 7px; padding: 0 12px 10px;
}
.mock-stat-card {
  flex: 1; background: var(--primary-ghost); border-radius: 10px;
  padding: 9px 6px; text-align: center;
}
.mock-stat-num { display: block; font-size: 17px; font-weight: 900; color: var(--primary); line-height: 1; }
.mock-stat-lbl { display: block; font-size: 9px; color: var(--text-3); margin-top: 2px; }
.mock-section-lbl { padding: 2px 14px 8px; font-size: 11px; font-weight: 700; color: var(--text); }
.mock-rooms { padding: 0 10px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.mock-room {
  display: flex; align-items: center; gap: 9px;
  background: white; border-radius: 12px; padding: 8px 11px;
  box-shadow: 0 1px 4px rgba(15,82,56,.07);
}
.mock-room-ico {
  width: 30px; height: 30px; background: var(--primary-ghost);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 15px; flex-shrink: 0;
}
.mock-room-name { font-size: 12px; font-weight: 700; line-height: 1; }
.mock-room-meta { font-size: 9px; color: var(--text-4); margin-top: 2px; }
.mock-room-chevron { color: var(--border); font-size: 16px; margin-left: auto; }
.mock-bnav {
  display: flex; background: white;
  border-top: 1px solid var(--border-2); padding: 8px 0 10px; margin-top: auto;
}
.mock-bnav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px;
}
.mock-bnav-dot { width: 18px; height: 3px; border-radius: 2px; background: var(--border); }
.mock-bnav-item.on .mock-bnav-dot { background: var(--primary); }
.mock-bnav-icon { font-size: 16px; opacity: .35; }
.mock-bnav-item.on .mock-bnav-icon { opacity: 1; }

/* =====================
   Section commons
   ===================== */
.section { padding: 96px 0; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); background: var(--primary-pale);
  padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.section-title { font-size: 40px; font-weight: 800; margin-bottom: 14px; }
.section-desc { font-size: 17px; color: var(--text-2); line-height: 1.75; max-width: 540px; }
.section-hd { text-align: center; margin-bottom: 60px; }
.section-hd .section-desc { margin: 0 auto; }

/* =====================
   Pain Section
   ===================== */
.pain {
  background: var(--primary-dark); color: white;
  padding: 96px 0;
}
.pain .section-tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.pain .section-title { color: white; }
.pain .section-desc { color: rgba(255,255,255,.7); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pain-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pain-stat-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r-md); padding: 22px;
}
.pain-stat-num { display: block; font-size: 34px; font-weight: 900; color: var(--primary-light); line-height: 1; margin-bottom: 8px; }
.pain-stat-text { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.pain-quote {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-left: 4px solid var(--primary-light); border-radius: var(--r-md); padding: 36px;
}
.pain-quote-text { font-size: 22px; font-weight: 600; color: white; line-height: 1.5; margin-bottom: 14px; }
.pain-quote-note { font-size: 14px; color: rgba(255,255,255,.45); }

/* =====================
   Features
   ===================== */
.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); padding: 32px; transition: all var(--ease);
}
.feat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-icon {
  width: 50px; height: 50px; background: var(--primary-pale);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 20px;
}
.feat-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* =====================
   How It Works
   ===================== */
.how { background: var(--surface-2); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step { text-align: center; position: relative; }
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -14px; top: 22px;
  color: var(--border); font-size: 22px;
}
.step-num {
  width: 50px; height: 50px; background: var(--primary); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; margin: 0 auto 16px;
}
.step-emoji { font-size: 36px; display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* =====================
   CTA
   ===================== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.cta .section-title { color: white; font-size: 42px; }
.cta-desc { color: rgba(255,255,255,.78); font-size: 17px; margin: 14px 0 40px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.45); }

/* =====================
   Footer
   ===================== */
.footer { background: #121714; color: rgba(255,255,255,.55); padding: 64px 0 36px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo-kr { color: white; font-size: 19px; }
.footer-brand .nav-logo-en { color: rgba(255,255,255,.35); }
.footer-tagline { margin-top: 12px; font-size: 13.5px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 16px; letter-spacing: .3px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.45); transition: color var(--ease); }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--ease); }
.footer-bottom a:hover { color: white; }

/* =====================
   Company Page
   ===================== */
.about-hero {
  padding: 96px 0; text-align: center;
  background: linear-gradient(180deg, var(--primary-ghost) 0%, var(--bg) 100%);
}
.about-hero h1 { font-size: 50px; font-weight: 800; margin-bottom: 18px; }
.about-hero p { font-size: 17px; color: var(--text-2); max-width: 580px; margin: 0 auto; line-height: 1.75; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-visual {
  background: var(--primary-ghost); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); padding: 52px; text-align: center;
}
.story-visual-icon { font-size: 80px; display: block; margin-bottom: 18px; }
.story-visual-text { font-size: 17px; font-weight: 600; color: var(--primary); font-style: italic; line-height: 1.6; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); padding: 32px; text-align: center;
}
.value-card .feat-icon { margin: 0 auto 18px; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.contact-inner {
  background: var(--primary-ghost); border: 1px solid var(--border-2);
  border-radius: var(--r-xl); padding: 64px; text-align: center;
}
.contact-inner h2 { font-size: 32px; margin-bottom: 12px; }
.contact-inner p { font-size: 16px; color: var(--text-2); margin-bottom: 32px; }
.contact-email {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: var(--primary);
  border-bottom: 2px solid var(--primary-light); padding-bottom: 2px;
}

/* =====================
   Scroll Animations
   ===================== */
[data-anim] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-anim].in {
  opacity: 1; transform: translateY(0);
}
[data-anim="delay-1"] { transition-delay: .1s; }
[data-anim="delay-2"] { transition-delay: .2s; }
[data-anim="delay-3"] { transition-delay: .3s; }
[data-anim="delay-4"] { transition-delay: .4s; }

/* =====================
   Responsive
   ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; }
  .phone-wrap { order: -1; }
  .hero h1 { font-size: 38px; }
  .pain-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-title { font-size: 32px; }
  .about-hero h1 { font-size: 38px; }
  .cta .section-title { font-size: 34px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 32px; }
  .phone { width: 220px; }
  .phone-screen { height: 420px; }
  .pain-stats { grid-template-columns: 1fr; }
  .contact-inner { padding: 40px 24px; }
}
