/* 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: #e0e4f0;
  background-color: #0d1221;
}

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

/* Header */
.header {
  background-color: rgba(13, 18, 33, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  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: #8899bb;
  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.15);
  color: #4da6ff;
}

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

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

.nav-logo h1 {
  color: #4da6ff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

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

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

.nav-menu a:hover {
  color: #4da6ff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0d1221 0%, #0a1a3a 40%, #0e1f4a 100%);
  color: white;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 122, 255, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(52, 199, 89, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 0%, #a0c4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #8899bb;
  line-height: 1.7;
}

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

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

.btn-white {
  background-color: #007aff;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.35);
}

.btn-white:hover {
  background-color: #0066dd;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 122, 255, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: #8899bb;
  border-color: #334466;
}

.btn-outline:hover {
  border-color: #4da6ff;
  color: #4da6ff;
  background-color: rgba(0, 122, 255, 0.08);
}

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

.app-icon-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #0d2040 0%, #1a3a6e 100%);
  border-radius: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 56px rgba(0, 122, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-icon-text {
  font-size: 5rem;
  line-height: 1;
}

.app-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

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

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

/* Features Section */
.features {
  background: linear-gradient(180deg, #0d1221 0%, #0a1630 100%);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  transition: all 0.3s ease;
}

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

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

.icon-placeholder {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #c8d4f0;
}

.feature-card p {
  color: #6678aa;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots {
  background: linear-gradient(180deg, #0a1630 0%, #0d1221 100%);
}

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

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

.screenshot-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  color: #445577;
  font-weight: 500;
}

.screenshot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.screenshot-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #445577;
  font-size: 0.9rem;
}

.screenshot-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #c8d4f0;
}

.screenshot-item p {
  color: #6678aa;
  font-size: 0.9rem;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #071a40 0%, #0a2256 100%);
}

.download .section-title {
  color: #e0e4f0;
}

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

.download-info h3 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e0e4f0;
}

.download-info p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #8899bb;
}

.app-store-placeholder {
  display: inline-block;
  height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: #007aff;
  color: white;
  font-size: 0.95rem;
  line-height: 52px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.35);
}

.app-store-placeholder:hover {
  background-color: #0066dd;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 122, 255, 0.5);
}

.download-requirements {
  background-color: rgba(255, 255, 255, 0.04);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.download-requirements h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #c8d4f0;
}

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

.download-requirements li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #8899bb;
  font-size: 0.95rem;
}

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

/* Privacy Section */
.privacy {
  background: linear-gradient(180deg, #0d1221 0%, #0a1630 100%);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

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

.privacy-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.8rem;
  color: #c8d4f0;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #6678aa;
  font-size: 0.95rem;
}

.privacy-content a {
  color: #4da6ff;
  text-decoration: none;
}

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

.privacy-update {
  font-size: 0.85rem;
  color: #445577;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Contact Section */
.contact {
  background: linear-gradient(180deg, #0a1630 0%, #0d1221 100%);
}

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

.contact-content > p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #6678aa;
}

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

.contact-method {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
  text-align: left;
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 255, 0.3);
  background: rgba(0, 122, 255, 0.05);
}

.contact-method h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #c8d4f0;
}

.contact-method p {
  color: #6678aa;
  line-height: 1.6;
  font-size: 0.95rem;
}

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

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

/* Footer */
.footer {
  background-color: #080d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
}

.footer-bottom {
  text-align: center;
  color: #445577;
  font-size: 0.9rem;
}

/* 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: 2.2rem;
  }

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

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

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

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

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

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

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

  .contact-method {
    text-align: center;
  }
}

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

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

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

  .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;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.app-icon-placeholder {
  animation: float 4s ease-in-out infinite;
}
