:root {
  --bg: #f7fbfa;
  --surface: #ffffff;
  --text: #12201d;
  --muted: #64716d;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --line: rgba(15, 118, 110, 0.16);
  --shadow: 0 24px 70px rgba(20, 60, 55, 0.14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Pretendard, "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.15), transparent 34rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.13), transparent 34rem),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 250, 0.78);
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.brand-text { font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #31413d; }
.nav-links a { font-size: 0.95rem; font-weight: 700; }
.nav-cta {
  padding: 11px 16px;
  color: #fff !important;
  background: var(--primary);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: 0.2s ease;
}

.hero { padding-top: 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}
h1 span, .product-copy h2 span { color: var(--primary); }

.hero-desc {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: var(--primary); box-shadow: 0 16px 36px rgba(15, 118, 110, 0.24); }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { border-color: var(--line); background: rgba(255,255,255,0.62); }
.btn.full { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
  margin-top: 36px;
}
.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.hero-stats strong { display: block; font-size: 1.6rem; }
.hero-stats span { color: var(--muted); font-size: 0.9rem; }

.hero-card { display: grid; place-items: center; min-height: 580px; }
.phone-frame {
  position: relative;
  width: min(360px, 100%);
  min-height: 560px;
  padding: 38px 24px;
  border: 12px solid #15211f;
  border-radius: 46px;
  background: linear-gradient(160deg, #e9fffa, #ffffff 60%, #fff4d6);
  box-shadow: var(--shadow);
}
.phone-top {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #15211f;
}
.app-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.12);
}
.main-message { padding: 28px; margin-top: 68px; }
.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.14);
}
.label { margin: 20px 0 6px; color: var(--primary); font-weight: 850; }
.main-message h2 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -0.05em; }
.main-message p:last-child { color: var(--muted); line-height: 1.7; }
.mini-card { position: absolute; width: 190px; padding: 18px; }
.mini-card strong { display: block; margin-bottom: 8px; }
.mini-card span { color: var(--muted); font-size: 0.9rem; }
.mini-card.left { left: -42px; bottom: 92px; }
.mini-card.right { right: -42px; bottom: 34px; }

.two-col, .product-grid, .contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.section-head h2, .product-copy h2, .contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}
.section-head p, .about-text p, .product-copy p, .contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}
.center { text-align: center; max-width: 720px; margin: 0 auto 46px; }

.card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  padding: 32px;
  min-height: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(20, 60, 55, 0.08);
}
.feature-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: #fff;
  background: var(--primary);
  border-radius: 18px;
  font-weight: 900;
}
.feature-card h3 { font-size: 1.35rem; letter-spacing: -0.04em; }
.feature-card p { color: var(--muted); line-height: 1.78; }

.product { background: linear-gradient(180deg, transparent, rgba(15, 118, 110, 0.08), transparent); }
.product-visual {
  position: relative;
  min-height: 430px;
}
.circle-card {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.circle-card span { color: var(--primary); font-weight: 900; }
.circle-card strong { font-size: 1.3rem; }
.circle-card.big { width: 290px; height: 290px; left: 38px; top: 54px; }
.circle-card.small { width: 170px; height: 170px; }
.circle-card.top { right: 36px; top: 0; }
.circle-card.bottom { right: 0; bottom: 22px; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding: 13px 0 13px 36px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 950;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline-item {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.timeline-item span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: var(--primary);
  background: rgba(15, 118, 110, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}
.timeline-item h3 { letter-spacing: -0.04em; }
.timeline-item p { color: var(--muted); line-height: 1.7; }

.contact { padding-bottom: 110px; }
.contact-form {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
  color: #273a36;
  font-weight: 850;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 16px;
  outline: none;
  background: #fbfffe;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.11);
}
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.contact-info {
  margin-top: 30px;
  padding: 24px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.contact-info p { margin: 0 0 12px; }
.copy-email {
  padding: 0;
  border: 0;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}

.site-footer {
  padding: 34px 0;
  color: #d9f4ef;
  background: #10211f;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.site-footer p { margin: 8px 0 0; color: rgba(217,244,239,0.72); }
.footer-meta { text-align: right; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 18px;
  color: #fff;
  background: #10211f;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
  transition: .22s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    inset: 76px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
  .menu-toggle { display: block; }
  .hero-grid, .two-col, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid.three, .timeline { grid-template-columns: 1fr 1fr; }
  .hero-card { min-height: 500px; }
  .mini-card.left { left: 8px; }
  .mini-card.right { right: 8px; }
  .footer-grid { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 72px 0; }
  .hero { padding-top: 58px; }
  .hero-stats, .card-grid.three, .timeline { grid-template-columns: 1fr; }
  .phone-frame { min-height: 520px; }
  .mini-card { position: static; width: auto; margin-top: 14px; }
  .main-message { margin-top: 56px; }
  .product-visual { min-height: 360px; }
  .circle-card.big { width: 240px; height: 240px; left: 0; }
  .circle-card.small { width: 135px; height: 135px; }
  .circle-card.top { right: 0; }
  .circle-card.bottom { right: 10px; }
}
