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

:root {
  /* App Color System (iOS-inspired) */
  --color-bg: #F2F2F7;
  --color-bg-secondary: #E5E5EA;
  --color-card: #FFFFFF;
  --color-text-primary: #1C1C1E;
  --color-text-secondary: #8E8E93;
  --color-accent: #007AFF;
  --color-accent-dark: #005EC4;
  --color-success: #34C759;
  --color-warning: #FF9500;
  --color-divider: #C6C6C8;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text-primary);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 122, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.nav-logo-img {
  border-radius: 6px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon-dark {
  background: rgba(0, 122, 255, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  background: #fff;
  color: var(--color-accent) !important;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
  padding: 120px 0 var(--space-2xl);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -200px;
  right: -100px;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -100px;
  left: -50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.hero-accent {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-cta {
  margin-bottom: var(--space-xl);
}

.hero-cta-note {
  font-size: 13px;
  opacity: 0.7;
  margin-top: var(--space-sm);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 800;
}

.hero-stat-label {
  font-size: 12px;
  opacity: 0.8;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: var(--color-card);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-divider);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ===== Section Layout ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Features ===== */
.features {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--space-2xl) 0;
  background: var(--color-card);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007AFF, #00C6FF);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Pricing ===== */
.pricing {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.trial-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, #EBF5FF 0%, #F0EBFF 100%);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
}

.trial-banner-icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
}

.trial-banner-text strong {
  display: block;
  font-size: 18px;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.trial-banner-text p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1.5px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card-pro {
  border-color: var(--color-warning);
  box-shadow: 0 8px 40px rgba(255, 149, 0, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-warning);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.pricing-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-bg-secondary);
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-card-pro .pricing-amount {
  color: var(--color-warning);
}

.pricing-period {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 0;
  font-size: 14px;
}

.pricing-features li.excluded {
  color: var(--color-text-secondary);
}

.pricing-features li.highlight {
  font-weight: 600;
}

.pricing-features li.note {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.pricing-compare {
  text-decoration: line-through;
  margin: 0 8px;
  opacity: 0.7;
}

.pricing-note strong {
  color: var(--color-accent);
}

/* ===== FAQ ===== */
.faq {
  padding: var(--space-2xl) 0;
  background: var(--color-card);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-bg-secondary);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--color-accent);
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--color-text-secondary);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===== Download CTA ===== */
.download {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
  text-align: center;
  color: #fff;
}

.download h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.download p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.download-coming-soon {
  text-align: center;
  display: inline-block;
  padding: 20px 48px;
  border: 2px solid #FF6B6B;
  border-radius: 16px;
  background: rgba(255, 59, 48, 0.15);
}

.coming-soon-text {
  font-size: 40px;
  font-weight: 800;
  color: #FF6B6B;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.coming-soon-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.store-badge {
  transition: transform 0.2s, opacity 0.2s;
  display: inline-flex;
  align-items: center;
}

.store-badge img {
  display: block;
  height: 44px;
  width: auto;
}

.store-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text-primary);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 100px 0 var(--space-xl);
  }

  .hero-stats {
    gap: var(--space-md);
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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

  .hero-subtitle {
    font-size: 15px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* ===== Scroll Animations ===== */
.feature-card,
.step,
.pricing-card,
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.visible,
.step.visible,
.pricing-card.visible,
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}
