:root {
  --primary-color: #fcd505;
  --primary-dark: #e6c000;
  --primary-light: #ffe44d;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #fffbf0;
  --bg-white: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #000;
  overflow-x: hidden;
}

.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: var(--text-dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
}

.app-icon-large {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
  color: var(--text-dark);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(252, 213, 5, 0.4);
  border: 2px solid var(--primary-dark);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(252, 213, 5, 0.6);
  background: linear-gradient(
    45deg,
    var(--primary-light),
    var(--primary-color)
  );
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-color);
  color: var(--text-dark);
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(252, 213, 5, 0.4);
}

/* Store Button Styles */
.store-button {
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.store-icon {
  height: 50px;
  width: auto;
  display: block;
}

.main-content {
  background: white;
  padding: 80px 0;
}

.features-section {
  margin-bottom: 80px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.screenshots-section {
  margin-bottom: 80px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.screenshot {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.screenshot:hover {
  transform: scale(1.05);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* 언어별 이미지 표시/숨김 */
.screenshot img[data-lang="ko"] {
  display: none;
}

.screenshot img[data-lang="en"] {
  display: block;
}

html[lang="ko"] .screenshot img[data-lang="ko"] {
  display: block;
}

html[lang="ko"] .screenshot img[data-lang="en"] {
  display: none;
}

.download-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: var(--text-dark);
  padding: 80px 0;
  text-align: center;
  border-radius: 20px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(252, 213, 5, 0.3);
}

.download-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.download-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-dark);
  font-weight: 500;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.faq-section {
  background: var(--bg-light);
  padding: 60px 0;
  margin: 40px 0;
  border-radius: 20px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.faq-item p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-section {
  text-align: center;
  padding: 60px 0;
  background: #f8f9fa;
  border-radius: 20px;
  margin: 40px 0;
}

.contact-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.contact-section p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.contact-section a:hover {
  text-decoration: underline;
}

.support-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.support-section h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.support-section p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
}

.footer p {
  margin-bottom: 10px;
}

.footer a {
  color: #667eea;
  text-decoration: none;
}

.back-link {
  text-align: center;
  margin-top: 40px;
}

.back-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.back-link a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    justify-content: center;
  }

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

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-item {
    padding: 20px;
  }
}
