/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #2D2A6E;
  --primary-dark: #1E1B4B;
  --primary-light: #4338CA;
  --text-color: #1F2937;
  --text-light: #6B7280;
  --background: #F5F5F7;
  --white: #FFFFFF;
  --border-color: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 16px;
  --border-radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.apple-icon {
  width: 20px;
  height: 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
}

.nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%);
}

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

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text-color);
}

.hero-title .highlight {
  color: var(--primary-color);
}

.hero-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-image {
  flex: 0 0 360px;
}

.hero-phone {
  width: 100%;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
}

.sp-only {
  display: none;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--white);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--background);
  padding: 32px;
  border-radius: var(--border-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-color);
}

.feature-description {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
  padding: 100px 0;
  background: var(--background);
}

.screenshots-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.screenshot-item img {
  width: 280px;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
}

.screenshot-caption {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

/* Usage Section */
.usage {
  padding: 100px 0;
  background: var(--white);
}

.usage-steps {
  max-width: 700px;
  margin: 0 auto 60px;
}

.usage-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.usage-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.step-content p {
  font-size: 15px;
  color: var(--text-light);
}

.usage-siri {
  background: var(--background);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.usage-siri h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-color);
}

.siri-examples {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.siri-example {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: 50px;
  justify-content: center;
}

.siri-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.siri-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.siri-example p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

/* Download Section */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.download-content {
  text-align: center;
}

.download-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}

.download-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.download-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.download .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.download .btn-primary:hover {
  background: var(--background);
}

/* Footer */
.footer {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo span {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-light);
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 80px;
  background: var(--white);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-color);
}

.legal-content .last-updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--text-color);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-color);
}

.legal-content p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.legal-content th,
.legal-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border-color);
  font-size: 15px;
}

.legal-content th {
  background: var(--background);
  font-weight: 600;
  color: var(--text-color);
  width: 30%;
}

.legal-content td {
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

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

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image {
    flex: 0 0 auto;
    width: 260px;
  }

  .hero-title {
    font-size: 32px;
  }

  .sp-only {
    display: inline;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .features {
    padding: 60px 0;
  }

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

  .screenshots {
    padding: 60px 0;
  }

  .screenshot-item img {
    width: 220px;
  }

  .usage {
    padding: 60px 0;
  }

  .usage-siri {
    padding: 24px;
  }

  .siri-example {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: var(--border-radius);
  }

  .download {
    padding: 60px 0;
  }

  .download-title {
    font-size: 28px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

  .legal-page {
    padding: 100px 0 60px;
  }

  .legal-content h1 {
    font-size: 26px;
  }

  .legal-content h2 {
    font-size: 20px;
  }

  .legal-content table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }
}
