/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  font: inherit;
  padding: 4px 8px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  background-color: rgba(0, 122, 255, 0.08);
  color: #007aff;
}

.lang-btn.active {
  background-color: #007aff;
  color: #fff;
}

.lang-separator {
  color: #ccc;
  font-size: 0.8rem;
}

.nav-logo h1 {
  color: #007aff;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #007aff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #007aff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056cc;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: #007aff;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-icon {
  width: 200px;
  height: 200px;
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.app-icon-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #333;
}

/* Features Section */
.features {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 122, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.2);
  border-color: rgba(0, 122, 255, 0.2);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.icon-placeholder {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Screenshots Section */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.screenshot-item {
  text-align: center;
}

.screenshot-placeholder {
  width: 360px;
  height: 720px;
  background-color: #f0f0f0;
  border-radius: 20px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  color: #666;
  font-weight: 500;
  overflow: hidden;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  object-position: center 80%;
}

.screenshot-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.screenshot-item p {
  color: #666;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
  color: white;
}

.download .section-title {
  color: white;
}

.download-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.download-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.download-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.app-store-placeholder {
  display: inline-block;
  height: 56px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background-color: #007aff;
  color: white;
  font-size: 0.9rem;
  line-height: 48px;
  text-align: center;
}

.app-store-placeholder:hover {
  background-color: #0056cc;
  transform: translateY(-2px);
}

.download-requirements {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
}

.download-requirements h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.download-requirements ul {
  list-style: none;
}

.download-requirements li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.download-requirements li:last-child {
  border-bottom: none;
}

/* Privacy Section */
.privacy {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.1);
}

.privacy-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.privacy-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #333;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #666;
}

.privacy-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  color: #666;
}

.privacy-content a {
  color: #007aff;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.privacy-update {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-method h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.contact-method p {
  color: #666;
  line-height: 1.6;
}

.contact-method a {
  color: #007aff;
  text-decoration: none;
  font-weight: 500;
}

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

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.2);
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .download-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .privacy-content {
    padding: 2rem;
  }

  .contact-method {
    padding: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
