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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nanum Myeongjo', 'Noto Serif', serif;
  background: linear-gradient(135deg, #F8F5E6 0%, #FFF 100%);
  min-height: 100vh;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.logo {
  font-family: 'Playwrite ZA', cursive;
  font-size: 48px;
  font-weight: 100;
  color: #222;
  margin-bottom: 21px;
}

.tagline {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.description {
  font-size: 17px;
  color: #666;
  line-height: 2;
  word-break: keep-all;
  background-image: repeating-linear-gradient(
    transparent,
    transparent calc(2em - 1px),
    #ddd calc(2em - 1px),
    #ddd 2em
  );
  background-size: 100% 2em;
  padding-top: 0.5em;
}

.mobile-br {
  display: none;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.feature {
  background: #FDFBF7;
  padding: 20px 12px;
  border-radius: 8px;
  text-align: center;
  border: 1.5px solid #333;
}

.feature-icon {
  width: 32px;
  height: 32px;
  stroke: #333;
  stroke-width: 1.5;
  margin-bottom: 8px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature p {
  font-size: 14px;
  color: #888;
}

/* Use Cases Section */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.use-case-card {
  background: #FDFBF7;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1.5px solid #333;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #F8F5E6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid #E0D9C8;
}

.card-icon-svg {
  width: 24px;
  height: 24px;
  stroke: #333;
  stroke-width: 1.5;
}

.card-illustration {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #E0D9C8;
  display: block;
}

.use-case-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.4;
}

.use-case-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

/* App Showcase Section */
.app-showcase {
  text-align: center;
  margin-bottom: 48px;
}

.app-showcase h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: #222;
}

/* Phone Frame - iPhone style */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 50px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #333,
    0 20px 50px rgba(0,0,0,0.3),
    inset 0 0 0 2px #2a2a2a;
}

.phone-notch {
  display: none;
}

.phone-screen {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.phone-home-indicator {
  display: none;
}

/* Screenshot Slider */
.screenshot-slider {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.screenshot-slider img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Screenshot Indicators */
.screenshot-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* CTA Section */
.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #333;
  color: white;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.screenshot-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.screenshot-indicators .dot.active {
  background: #333;
}

/* Download Section */
.download {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 32px;
  border: 1px solid #E0E0E0;
}

.download h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.version {
  font-size: 16px;
  color: #888;
  margin-bottom: 24px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #333;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  vertical-align: middle;
  margin-right: 8px;
}

/* Download button loading state */
.download-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.download-btn.loading .btn-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.install-guide {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: left;
}

.install-guide h4 {
  font-size: 17px;
  margin-bottom: 12px;
  color: #444;
}

.install-guide ol {
  font-size: 16px;
  color: #666;
  padding-left: 20px;
}

.install-guide li {
  margin-bottom: 6px;
}

/* Feedback Section */
.feedback {
  background: #FFFFFF;
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 32px;
  border: 1px solid #E0E0E0;
}

.feedback h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.feedback > p {
  font-size: 17px;
  color: #666;
  margin-bottom: 20px;
}

.feedback-btn {
  display: inline-block;
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: background 0.2s;
}

.feedback-btn:hover {
  background: #444;
}

.comments {
  text-align: left;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.comments h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #444;
}

#disqus_thread {
  min-height: 200px;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 0;
  font-size: 16px;
  color: #888;
}

.contact {
  margin-top: 4px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .mobile-br {
    display: block;
  }

  .description {
    font-size: 16px;
    padding: 0 10px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .feature-icon {
    margin-bottom: 12px;
  }

  .feature h3 {
    margin-bottom: 8px;
  }
}

/* Language Dropdown */
.lang-dropdown {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: #bbb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lang-icon {
  width: 16px;
  height: 16px;
  stroke: #666;
  stroke-width: 2;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.15s;
}

.lang-menu a:first-child {
  border-radius: 7px 7px 0 0;
}

.lang-menu a:last-child {
  border-radius: 0 0 7px 7px;
}

.lang-menu a:hover {
  background: #f5f5f5;
}

.lang-menu a.active {
  background: #F8F5E6;
  font-weight: 600;
}

/* Mobile adjustments for language dropdown */
@media (max-width: 480px) {
  .lang-dropdown {
    top: 12px;
    right: 12px;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 13px;
  }

  .lang-menu {
    max-height: 280px;
  }
}
