* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #090214;
}

.page {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #121520;
  background: #090214;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  width: 100%;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 2, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
}

.landing-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.landing-header__brand {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 600;
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
}

.header-btn--telegram {
  color: #ffffff;
  background: linear-gradient(135deg, #2ec8ff 0%, #6a84ff 50%, #ca4cff 100%);
  box-shadow: 0 14px 28px rgba(109, 104, 255, 0.22);
}

.header-btn--kakao {
  gap: 10px;
  color: #191100;
  background: #FEE500;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(254, 229, 0, 0.18);
}

.icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}

.icon-circle--telegram {
  background: rgba(255, 255, 255, 0.14);
}

.icon-circle--kakao {
  background: #FEE500;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 18px 88px;
  background:
    radial-gradient(circle at top left, rgba(119, 63, 255, 0.34), transparent 28%),
    radial-gradient(circle at top right, rgba(55, 194, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #0a0217 0%, #120326 56%, #090214 100%);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: 28px;
  align-items: center;
}

.hero-content {
  min-width: 0;
  width: 100%;
}

.hero-title,
.hero-description,
.hero-top-badges,
.hero-cta-row,
.hero-meta-row,
.hero-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero-top-badges,
.hero-cta-row,
.hero-meta-row {
  width: 100%;
}

.hero-title {
  overflow-wrap: anywhere;
}

.hero-content > * {
  min-width: 0;
}

.hero-top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  justify-content: center;
  width: 100%;
}

.hero-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}

.hero-badge-link--kakao {
  color: #191100;
  background: #FEE500;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(254, 229, 0, 0.2);
}

.hero-badge-link--telegram {
  color: #ffffff;
  background: linear-gradient(135deg, #2ec8ff 0%, #6a84ff 50%, #ca4cff 100%);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(109, 104, 255, 0.24);
}

.badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
}

.badge-icon--kakao {
  background: rgba(0, 0, 0, 0.08);
}

.badge-icon--telegram {
  background: rgba(255, 255, 255, 0.14);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e7ddff;
  font-size: 13px;
  font-weight: 800;
}

.hero-title {
  margin: 20px 0 0;
  width: 100%;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-shadow: 0 10px 40px rgba(94, 73, 255, 0.28);
  text-align: center;
  word-break: keep-all;
}

.hero-description {
  margin: 22px 0 0;
  width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
  text-align: center;
  word-break: keep-all;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  justify-content: center;
  width: 100%;
}

.hero-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ddd4ff;
  font-size: 13px;
  font-weight: 700;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
  width: 100%;
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 16px;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}

.hero-cta-link--kakao {
  color: #191100;
  font-weight: 900;
  background: #FEE500;
  box-shadow: 0 18px 36px rgba(254, 229, 0, 0.22);
}

.hero-cta-link--telegram {
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, #2ec8ff 0%, #6a84ff 50%, #ca4cff 100%);
  box-shadow: 0 18px 36px rgba(65, 102, 255, 0.28);
}

.cta-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}

.cta-icon--kakao {
  background: rgba(0, 0, 0, 0.08);
}

.cta-icon--telegram {
  background: rgba(255, 255, 255, 0.16);
}

.hero-visual-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 500px;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.hero-visual-glow {
  position: absolute;
  inset: 5% 8% auto;
  height: 72%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(120, 88, 255, 0.34), rgba(46, 200, 255, 0.18));
  filter: blur(28px);
  pointer-events: none;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 12px;
  width: 100%;
  background: linear-gradient(180deg, rgba(33, 12, 67, 0.92) 0%, rgba(16, 7, 37, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: contain;
  object-position: center;
}

/* Screenshots */
.screenshots-section {
  padding: 96px 24px 120px;
  background: linear-gradient(180deg, #0b0216 0%, #14042b 100%);
}

.screenshots-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.screenshots-heading {
  max-width: 760px;
  margin-bottom: 30px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.screenshots-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ddd4ff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.screenshots-description {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  word-break: keep-all;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.screenshots-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(27, 10, 54, 0.98) 0%, rgba(13, 6, 30, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.screenshots-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: contain;
}

/* Footer */
.landing-footer {
  background: #08020f;
  padding: 34px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.landing-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.footer-link--telegram {
  color: #d6c5ff;
}

.footer-link--kakao {
  color: #fff1a6;
}

/* Floating buttons */
.landing-floating {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  gap: 10px;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 164px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
}

.floating-btn--kakao {
  min-height: 52px;
  color: #191100;
  font-weight: 900;
  background: #FEE500;
  box-shadow: 0 18px 36px rgba(254, 229, 0, 0.22);
}

.floating-btn--telegram {
  min-height: 54px;
  color: #ffffff;
  background: linear-gradient(135deg, #2ec8ff 0%, #6a84ff 50%, #ca4cff 100%);
  box-shadow: 0 18px 36px rgba(65, 102, 255, 0.28);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-visual-wrap {
    order: -1;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    justify-self: center;
  }

  .hero-badge-link,
  .hero-cta-link,
  .header-btn {
    white-space: normal;
    text-align: center;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }

  .hero-cta-link {
    width: 100%;
    justify-content: center;
  }

  .landing-header {
    padding: 14px 16px;
  }

  .landing-header__inner {
    gap: 12px;
    justify-content: center;
    max-width: 100%;
  }

  .landing-header__brand {
    width: 100%;
    text-align: center;
    justify-items: center;
  }

  .landing-header__actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .landing-header__actions a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 0 16px;
    font-size: 15px;
  }

  .landing-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .landing-footer__inner {
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .landing-footer__links {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .landing-footer__links a {
    justify-content: center;
  }

  .landing-floating {
    right: 14px;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .landing-floating a {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .hero-section {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }

  .screenshots-section {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 981px) {
  .hero-eyebrow {
    margin-left: 120px;
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 24px 16px 48px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    text-align: center;
    padding: 0 4px;
  }

  .hero-content > * {
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-top-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 12px;
    width: 100%;
  }

  .hero-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    font-size: 14px;
    white-space: normal;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-title {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 14px auto 0;
    font-size: clamp(22px, 7.6vw, 32px);
    line-height: 1.18;
    letter-spacing: -0.04em;
    text-align: center;
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hero-description {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.68;
    text-align: center;
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hero-cta-row {
    margin: 20px auto 0;
    max-width: 100%;
    justify-items: stretch;
  }

  .hero-cta-link {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    justify-content: center;
    padding: 0 16px;
    font-size: 15px;
  }

  .hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 16px auto 0;
  }

  .hero-visual-wrap {
    order: -2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6px;
    justify-self: center;
  }

  .hero-visual-card {
    border-radius: 20px;
    padding: 8px;
  }

  .hero-image {
    border-radius: 14px;
    width: 100%;
    height: auto;
  }

  .screenshots-section {
    padding: 64px 16px 88px;
  }

  .screenshots-heading {
    margin-bottom: 22px;
    text-align: center;
  }

  .screenshots-description {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .screenshots-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .screenshots-card {
    border-radius: 20px;
    padding: 8px;
  }

  .screenshots-image {
    border-radius: 14px;
  }

  .landing-footer {
    padding: 28px 16px calc(100px + env(safe-area-inset-bottom, 0px));
  }
}
