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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #007AFF;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}

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

/* ===== Sections ===== */
.section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
  background: linear-gradient(180deg, #f5f7ff 0%, #fff 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(0, 122, 255, 0.08);
  color: #007AFF;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #1d1d1f;
}

.hero h1 span {
  background: linear-gradient(135deg, #007AFF, #5856D6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6e6e73;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  margin-bottom: 60px;
}

.hero-cta img {
  height: 54px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #1d1d1f;
  color: #fff;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
  margin-bottom: 60px;
}

.app-store-btn:hover {
  background: #333;
}

.app-store-btn .apple-icon {
  font-size: 1.5rem;
}

.app-store-btn .btn-text-small {
  font-size: 0.7rem;
  font-weight: 400;
  display: block;
  text-align: left;
  line-height: 1;
  margin-bottom: 2px;
}

.app-store-btn .btn-text-large {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  text-align: left;
  line-height: 1;
}

.hero-image {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

/* ===== Features ===== */
.features {
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.125rem;
  color: #6e6e73;
  max-width: 560px;
  margin: 0 auto;
}

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

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: #f9f9fb;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.feature-icon.blue { background: rgba(0, 122, 255, 0.1); }
.feature-icon.orange { background: rgba(255, 149, 0, 0.1); }
.feature-icon.green { background: rgba(52, 199, 89, 0.1); }
.feature-icon.purple { background: rgba(88, 86, 214, 0.1); }
.feature-icon.red { background: rgba(255, 59, 48, 0.1); }
.feature-icon.teal { background: rgba(90, 200, 250, 0.1); }

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: #6e6e73;
  line-height: 1.5;
}

/* ===== Screenshots ===== */
.screenshots {
  background: #f5f5f7;
}

.screenshots-scroll {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-item {
  width: 220px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: translateY(-8px);
}

.screenshot-item img {
  width: 100%;
  display: block;
}

/* ===== Privacy Summary ===== */
.privacy-summary {
  background: #fff;
}

.privacy-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.privacy-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.privacy-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 199, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.privacy-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.privacy-item p {
  font-size: 0.875rem;
  color: #6e6e73;
  line-height: 1.5;
}

.privacy-link {
  text-align: center;
  margin-top: 48px;
}

.privacy-link a {
  color: #007AFF;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.privacy-link a:hover {
  opacity: 0.7;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 24px;
  text-align: center;
  background: #1d1d1f;
  color: #86868b;
  font-size: 0.8125rem;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
}

.footer-links a {
  color: #a1a1a6;
  transition: color 0.2s;
}

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

/* ===== Privacy Page ===== */
.privacy-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.privacy-content .effective-date {
  color: #6e6e73;
  font-size: 0.9375rem;
  margin-bottom: 40px;
}

.privacy-content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy-content p {
  font-size: 1rem;
  color: #424245;
  line-height: 1.7;
  margin-bottom: 16px;
}

.privacy-content ul {
  margin: 12px 0 16px 24px;
  color: #424245;
  line-height: 1.7;
}

.privacy-content li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

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

  .screenshots-scroll {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 24px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-item {
    width: 200px;
    scroll-snap-align: center;
  }

  .privacy-highlights {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 20px;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav-inner {
    height: 48px;
  }

  .hero {
    padding-top: 120px;
  }

  .section {
    padding: 64px 20px;
  }
}
