:root {
  --emerald: #00b3a6;
  --emerald-soft: #29c8b9;
  --emerald-deep: #00827b;
  --bg-deep: #e6f9ff;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-chip: rgba(255, 255, 255, 0.9);
  --text-main: #053b4a;
  --text-soft: #3a6d7c;
  --border-subtle: rgba(120, 199, 214, 0.45);
  --shadow-soft: 0 18px 40px rgba(4, 72, 107, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --blur-strong: 26px;
  --transition-fast: 180ms ease-out;
  --transition-normal: 230ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Pretendard',
    'Noto Sans KR', sans-serif;
  background: radial-gradient(circle at top, #ecfbff 0, #c9f4ff 45%, #a4e7ff 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(176, 255, 245, 0.9), transparent 55%),
    radial-gradient(circle at 100% 40%, rgba(142, 211, 255, 0.9), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(133, 247, 222, 0.85), transparent 55%);
  pointer-events: none;
  z-index: -3;
}

.bg-orbit {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(152, 230, 255, 0.6);
  box-shadow:
    0 0 40px rgba(167, 235, 255, 0.7),
    inset 0 0 18px rgba(255, 255, 255, 0.8);
  filter: blur(0.4px);
  pointer-events: none;
  z-index: -2;
}

.bg-orbit-1 {
  width: 580px;
  height: 580px;
  top: -140px;
  right: -120px;
  opacity: 0.9;
}

.bg-orbit-2 {
  width: 680px;
  height: 680px;
  bottom: -260px;
  left: -190px;
  opacity: 0.75;
}

.glass-card {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(236, 252, 255, 0.98)
    );
  border-radius: var(--radius-xl);
  border: 1px solid rgba(167, 219, 241, 0.8);
  box-shadow:
    0 0 0 1px rgba(220, 244, 255, 0.8),
    0 18px 36px rgba(15, 131, 168, 0.18);
  backdrop-filter: blur(var(--blur-strong)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur-strong)) saturate(1.4);
  position: relative;
  z-index: 1;
}

.glass-chip {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(233, 251, 255, 0.98)
  );
  border-radius: var(--radius-pill);
  border: 1px solid rgba(158, 221, 239, 0.9);
  box-shadow:
    0 0 0 1px rgba(224, 246, 255, 0.9),
    0 12px 26px rgba(17, 128, 171, 0.16);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.78),
      rgba(231, 248, 255, 0.86)
    )
    border-box;
  border-bottom: 1px solid rgba(151, 210, 235, 0.8);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 10%, #e9fff9, #73ffe7);
  box-shadow:
    0 0 0 1px rgba(2, 14, 15, 0.9),
    0 14px 30px rgba(0, 0, 0, 0.7);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-soft);
  opacity: 0.82;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform 140ms ease-out;
}

.nav-links a:hover {
  background: rgba(203, 241, 255, 0.9);
  color: var(--text-main);
  border-color: rgba(124, 200, 230, 0.9);
  transform: translateY(-1px);
}

.hero {
  max-width: 1120px;
  margin: 28px auto 0;
  padding: 16px 20px 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 36px;
  padding: 30px 30px 32px;
  position: relative;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 10% 0%,
    rgba(92, 255, 233, 0.35),
    transparent 55%
  );
  mix-blend-mode: soft-light;
  opacity: 0.7;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.9vw, 32px);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.accent {
  color: var(--emerald-deep);
  text-shadow: 0 0 12px rgba(0, 179, 166, 0.38);
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

.highlight {
  color: var(--emerald);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-store-btn {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  border-radius: 16px;
  border: 1px solid rgba(160, 213, 233, 0.9);
  box-shadow:
    0 0 0 1px rgba(225, 245, 252, 0.9),
    0 10px 24px rgba(54, 141, 176, 0.22);
}

.hero-store-btn:hover {
  background: rgba(239, 251, 255, 0.98);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(140, 204, 228, 0.95),
    0 14px 28px rgba(54, 141, 176, 0.26);
}

.btn {
  border: none;
  cursor: pointer;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out,
    background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn.primary,
.btn.secondary {
  /* 기본 버튼 타입은 현재 사용하지 않지만, 향후 대비용 */
}

.hero-note {
  margin: 0;
  font-size: 12px;
  color: rgba(194, 238, 240, 0.8);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.island-orbit {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.island-circle {
  position: absolute;
  inset: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 12%, #e7fff8, #6ff3e3 30%, #0b5560);
}

.island-water {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 15%, #c6fff6, #0a7886);
  box-shadow:
    0 0 0 1px rgba(1, 28, 35, 0.85),
    inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.island-body {
  position: relative;
  width: 70%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 10%, #f3ffe9, #9be489, #5cce7b);
  transform: translateY(8%);
  box-shadow:
    0 24px 45px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(7, 40, 26, 0.8);
}

.tree {
  position: absolute;
  bottom: 18%;
  width: 22px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #eafff3, #52d07a);
  box-shadow:
    0 0 0 1px rgba(3, 43, 18, 0.7),
    0 10px 25px rgba(0, 0, 0, 0.75);
}

.tree::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 18%, #f7fff3, #65ea79);
  transform: translateX(-50%);
  box-shadow:
    0 0 0 1px rgba(4, 42, 16, 0.7),
    0 12px 24px rgba(0, 0, 0, 0.75);
}

.tree-main {
  left: 50%;
  transform: translateX(-50%);
}

.tree-sub {
  left: 26%;
  transform: scale(0.82);
}

.tree-mini {
  right: 22%;
  transform: scale(0.7);
}

.bamboo-ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px dashed rgba(28, 102, 86, 0.9);
  box-shadow:
    0 0 24px rgba(0, 0, 0, 0.65),
    inset 0 0 22px rgba(4, 54, 40, 0.9);
}

.floating-tag {
  position: absolute;
  padding: 7px 12px;
  font-size: 11px;
  color: var(--text-main);
  white-space: nowrap;
}

.tag-diary {
  top: 6%;
  left: -4%;
}

.tag-bamboo {
  bottom: 6%;
  left: -10%;
}

.tag-reply {
  top: 18%;
  right: -8%;
}

.section {
  max-width: 1120px;
  margin: 8px auto 0;
  padding: 8px 20px 32px;
}

.section-features {
  margin-top: 32px;
}

.section-forest {
  margin-top: 40px;
}

.section-download {
  margin-top: 40px;
  margin-bottom: 24px;
}

.section-inner {
  padding: 30px 30px 30px;
}

.bg-bubble {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-bubble-forest {
  width: 260px;
  height: 260px;
  top: 46%;
  right: 8%;
  border: 1px solid rgba(163, 230, 219, 0.85);
  box-shadow:
    0 0 32px rgba(139, 230, 214, 0.6),
    inset 0 0 18px rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.9), transparent 60%);
  opacity: 0.65;
}

.bg-bubble-download {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: 4%;
  border: 1px solid rgba(152, 219, 253, 0.8);
  box-shadow:
    0 0 30px rgba(138, 214, 255, 0.6),
    inset 0 0 16px rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.9), transparent 60%);
  opacity: 0.6;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.section-description {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(88, 248, 232, 0.35),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  margin: 8px 0 8px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: radial-gradient(circle at 30% 15%, #f6fffd, #8af4e5);
  box-shadow:
    0 0 0 1px rgba(163, 220, 233, 0.95),
    0 8px 18px rgba(35, 138, 163, 0.25);
}

.section-alt {
  padding-top: 0;
}

.forest-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 32px;
}

.forest-text p {
  margin: 10px 0 18px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.forest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
}

.forest-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.forest-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 5px;
  background: radial-gradient(circle at 30% 10%, #ecfff8, #6af3df);
  box-shadow: 0 0 10px rgba(96, 250, 222, 0.9);
}

.forest-visual {
  display: flex;
  justify-content: center;
}

.bamboo-pill {
  position: relative;
  width: min(360px, 100%);
  padding: 22px 20px;
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.bamboo-column {
  width: 22%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ecfff6, #6fe79d, #1da56d);
  box-shadow:
    0 0 0 1px rgba(6, 40, 20, 0.85),
    0 16px 40px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.bamboo-column::before {
  content: '';
  position: absolute;
  inset: 14% 20%;
  border-radius: 999px;
  border: 1px solid rgba(41, 145, 92, 0.45);
  box-shadow:
    inset 0 16px 25px rgba(255, 255, 255, 0.45),
    inset 0 -12px 22px rgba(4, 56, 25, 0.7);
}

.bamboo-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(214, 255, 235, 0.85),
    transparent 60%
  );
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.floating-note {
  position: absolute;
  left: 55%;
  top: 12%;
  transform: translateX(-50%);
  padding: 7px 12px;
  font-size: 12px;
  color: var(--text-main);
  white-space: nowrap;
}

.floating-note-alt {
  top: auto;
  bottom: 12%;
}

.download-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-text p {
  margin: 8px 0 14px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-btn {
  padding: 9px 16px;
  background: rgba(236, 250, 253, 0.96);
  border-radius: 999px;
  border: 1px solid rgba(150, 248, 255, 0.8);
  color: var(--text-main);
  box-shadow:
    0 0 0 1px rgba(207, 238, 252, 0.95),
    0 14px 30px rgba(35, 138, 163, 0.25);
}

.store-btn:hover {
  background: rgba(8, 65, 76, 0.95);
  border-color: rgba(187, 255, 255, 0.95);
  transform: translateY(-1px);
}

.store-label {
  font-size: 14px;
  font-weight: 600;
}

.store-badge {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ff6e4, #37d7f7);
  color: #032324;
  margin-left: 8px;
}

.download-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(187, 238, 241, 0.9);
}

.footer {
  padding: 12px 20px 26px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 12px 18px 13px;
  border: 1px solid rgba(118, 240, 255, 0.2);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(178, 244, 255, 0.8),
      transparent 55%
    ),
    rgba(234, 250, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(207, 238, 252, 0.95),
    0 18px 40px rgba(89, 177, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(36, 90, 108, 0.95);
}

.footer-logo {
  font-weight: 700;
  margin-right: 6px;
}

.footer-tagline {
  color: var(--emerald-deep);
  font-weight: 600;
}

.footer-meta {
  opacity: 0.85;
}

.toast {
  position: fixed;
  inset: auto 0 18px 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 30;
}

.toast-content {
  min-width: 260px;
  max-width: 360px;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-main);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity var(--transition-normal),
    transform var(--transition-normal);
  pointer-events: auto;
}

.toast.show .toast-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 880px) {
  .nav-inner {
    padding-inline: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 18px 22px;
  }

  .hero-visual {
    order: -1;
  }

  .hero h1 {
    font-size: 24px;
  }

  .section {
    padding-inline: 16px;
  }

  .section-inner {
    padding: 20px 18px 20px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .forest-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bamboo-pill {
    border-radius: 26px;
  }

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

@media (max-width: 520px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .floating-tag {
    position: static;
    display: inline-block;
    margin-top: 6px;
  }

  .island-orbit {
    margin-bottom: 4px;
  }

  .toast {
    padding-inline: 12px;
  }

  .toast-content {
    width: 100%;
  }
}

