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

:root {
  /* Light mode backgrounds */
  --bg: #FFFFFF;
  --bg-section: #F5F5F5;
  --bg-card: #FFFFFF;
  --surface: #F8F8F8;

  /* Text */
  --text: #1A1A1A;
  --text-secondary: #555;
  --text-muted: #888;

  /* Borders */
  --border-light: #E5E5E5;
  --border-medium: #D0D0D0;

  /* Brand accent — use sparingly */
  --yellow: #FFD600;
  --yellow-dark: #C8A400;
  --yellow-light: #FFE740;

  /* Functional colors */
  --blue: #2563EB;
  --green: #059669;
  --orange: #EA580C;
  --red: #DC2626;

  /* Radius — angular, not bubbly */
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-section); }
.text-center { text-align: center; }
.text-yellow { color: var(--yellow); }
.text-secondary { color: var(--text-secondary); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* ===== Animations — minimal, functional only ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}
.nav.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-medium);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px;
  background: var(--yellow);
  color: #000;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.nav-cta:hover {
  background: var(--yellow-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 40px 24px;
  z-index: 999;
}
.nav-mobile-menu.open { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.nav-mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--yellow);
  color: #000;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.btn-primary svg { width: 22px; height: 22px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--text);
  transform: translateY(-2px);
}
.btn-secondary svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  pointer-events: none;
}
.hero-road { display: none; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-content { z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .highlight {
  color: var(--yellow);
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats { display: flex; gap: 40px; }
.hero-stat-value { font-size: 28px; font-weight: 900; color: var(--text); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Hero Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; z-index: 1; }
.phone-mockup {
  width: 280px;
  background: #000;
  border-radius: 40px;
  border: 2px solid #333;
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.phone-screen { width: 100%; position: relative; }
.phone-screen img {
  width: 100%; height: auto; display: block;
  border-radius: 28px;
}

/* Floating elements — hidden */
.hero-float { display: none; }

/* ===== Problems Section ===== */
.problems { background: var(--bg-section); }
.problems-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 800px;
  margin: 48px auto 0;
}
.problem-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.problem-icon {
  width: 56px; height: 56px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}
.problem-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.problem-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* Legacy support for old class names */
.problems-grid { display: none; }

/* ===== Arrow Divider ===== */
.arrow-divider { text-align: center; padding: 40px 0; position: relative; }
.arrow-divider svg { color: var(--text-muted); }
.arrow-divider-text { font-size: 20px; font-weight: 900; color: var(--text); margin-top: 12px; }

/* ===== Screenshot Gallery ===== */
.screenshots { overflow: visible; }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 0 0;
}

.screenshot-item {
  flex: 0 0 auto;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.screenshot-caption {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* Legacy scroll support */
.screenshots-scroll {
  display: none;
}

/* ===== Features Section ===== */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.feature-card {
  background: transparent;
  border: none;
  border-left: 3px solid var(--border-light);
  border-radius: 0;
  padding: 32px 32px;
  transition: border-color 0.2s ease;
  position: relative;
}
.feature-card::after { display: none; }
.feature-card:hover {
  border-left-color: var(--yellow);
}
.feature-card.featured {
  grid-column: span 2;
  border-left: 4px solid var(--yellow);
  background: var(--bg-section);
  padding: 40px 40px;
}
.feature-icon {
  width: 48px; height: 48px;
  background: transparent;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--text-muted);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.blue { border-color: var(--blue); color: var(--blue); }
.feature-icon.green { border-color: var(--green); color: var(--green); }
.feature-icon.orange { border-color: var(--orange); color: var(--orange); }
.feature-icon.red { border-color: var(--red); color: var(--red); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; text-align: center; }
.feature-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Navigation Features Section (NEW) ===== */
.navigation-features {
  background: var(--bg-section);
}

.navigation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.navigation-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 32px;
}

.nav-feature-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.nav-feature-item:last-child {
  border-bottom: none;
}

.nav-feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

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

.navigation-visual {
  display: flex;
  justify-content: center;
}

.navigation-visual img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ===== How it Works ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.steps-grid::before { display: none; }
.step-card { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px;
  background: var(--text);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: var(--bg); margin: 0 auto 28px;
  position: relative; z-index: 1;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.step-visual { display: none; }

/* ===== One-Tap Messages ===== */
.onetap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.onetap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 20px; text-align: center;
  transition: border-color 0.2s ease;
  position: relative;
}
.onetap-card::before { display: none; }
.onetap-card:hover {
  border-color: var(--border-medium);
}
.onetap-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.onetap-card.fuel .onetap-icon { background: rgba(37, 99, 235, 0.08); color: var(--blue); }
.onetap-card.rest .onetap-icon { background: rgba(5, 150, 105, 0.08); color: var(--green); }
.onetap-card.custom .onetap-icon { background: rgba(234, 88, 12, 0.08); color: var(--orange); }
.onetap-card.emergency .onetap-icon { background: rgba(220, 38, 38, 0.08); color: var(--red); }
.onetap-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.onetap-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Comparison ===== */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 48px;
  overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-light);
}
.comparison-table th,
.comparison-table td {
  padding: 18px 20px; text-align: center; font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.comparison-table thead th {
  background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--text);
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th.highlight {
  background: var(--bg-section);
  color: var(--text); font-size: 15px; font-weight: 700;
  position: relative;
}
.comparison-table thead th.highlight::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--yellow);
}
.comparison-table tbody tr { background: var(--bg); }
.comparison-table tbody tr:hover { background: var(--surface); }
.comparison-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--text); }
.comparison-table tbody td.highlight { background: transparent; }
.comparison-table tr:last-child td { border-bottom: none; }
.check { color: var(--green); font-size: 20px; font-weight: 700; }
.cross { color: var(--text-muted); font-size: 20px; }
.partial { color: var(--orange); font-size: 14px; }

/* ===== Security ===== */
.security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 32px; margin-top: 48px;
}
.security-card {
  background: transparent;
  border: none;
  border-left: 2px solid var(--border-light);
  border-radius: 0;
  padding: 0 0 0 24px;
  display: flex; gap: 20px;
  transition: border-left-color 0.2s ease;
}
.security-card:hover { border-left-color: var(--green); }
.security-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--green);
}
.security-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.security-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; color: var(--text); font-size: 17px; font-weight: 700;
  text-align: left; padding: 24px 0; cursor: pointer;
  transition: color var(--transition); font-family: inherit;
}
.faq-question:hover { color: var(--text-secondary); }
.faq-question svg { min-width: 24px; transition: transform var(--transition); color: var(--text-muted); }
.faq-item.open .faq-question svg { transform: rotate(45deg); color: var(--text); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer-inner { padding: 0 0 24px; font-size: 15px; color: var(--text-secondary); line-height: 1.8; }

/* ===== CTA Section ===== */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; background: var(--bg-section); }
.cta-section::before { display: none; }
.cta-box { text-align: center; position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.3;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.cta-subtitle {
  font-size: 18px; color: var(--text-secondary); margin-bottom: 48px;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 36px;
  background: var(--bg); border: 2px solid var(--border-medium);
  border-radius: var(--radius); color: var(--text); text-decoration: none;
  transition: var(--transition);
}
.store-btn:hover {
  background: var(--surface); border-color: var(--text);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.store-btn svg { width: 32px; height: 32px; }
.store-btn-text { text-align: left; }
.store-btn-label { font-size: 11px; color: var(--text-muted); }
.store-btn-name { font-size: 18px; font-weight: 800; }
.store-btn-coming-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ===== Footer — Dark for contrast ===== */
.footer { padding: 60px 0 40px; border-top: 1px solid #333; background: #1A1A1A; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 320px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900;
  margin-bottom: 16px; color: #fff; text-decoration: none;
}
.footer-logo svg { width: 28px; height: 28px; }
.footer-desc { font-size: 14px; color: #999; line-height: 1.7; }
.footer-links-group h4 { font-size: 14px; font-weight: 700; color: #E5E5E5; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #AAA; text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #333;
  text-align: center; font-size: 13px; color: #666;
}

/* ===== Extra Features Banner ===== */
.extra-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 60px; padding-top: 60px;
  border-top: 1px solid var(--border-light);
}
.extra-feature {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}
.extra-feature:hover { background: var(--bg-section); }
.extra-feature-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.extra-feature-text { font-size: 14px; font-weight: 600; color: var(--text); }

/* ===== Legal Page ===== */
.legal-page { padding-top: 120px; padding-bottom: 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 {
  font-size: clamp(28px, 5vw, 40px); font-weight: 900; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.legal-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 48px; }
.legal-content h2 {
  font-size: 20px; font-weight: 800; margin-top: 48px; margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
.legal-content h3 { font-size: 16px; font-weight: 700; margin-top: 28px; margin-bottom: 12px; }
.legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.legal-content ul { list-style: none; padding: 0; margin-bottom: 16px; }
.legal-content ul li {
  font-size: 15px; color: var(--text-secondary); line-height: 1.9;
  padding: 6px 0 6px 24px; position: relative;
}
.legal-content ul li::before {
  content: ''; position: absolute; left: 8px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); opacity: 0.6;
}
.legal-content a {
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border-medium);
  transition: border-color var(--transition);
}
.legal-content a:hover { border-bottom-color: var(--text); }
.legal-content strong { color: var(--text); font-weight: 700; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary);
  text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 32px;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--text); }
.legal-back svg { width: 18px; height: 18px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: span 1; }
  .navigation-content { grid-template-columns: 1fr; gap: 48px; }
  .navigation-visual { order: -1; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-cta { display: none; }
  .hero { padding-top: 100px; }
  .onetap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 48px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th,
  .comparison-table td { padding: 14px 12px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 22px; }
  .screenshots-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .problem-item { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .problem-icon { margin: 0 auto; }
  .security-card { flex-direction: column; align-items: center; text-align: center; border-left: none; border-top: 2px solid var(--border-light); padding: 24px 0 0; }
  .security-card:hover { border-left-color: transparent; border-top-color: var(--green); }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-subtitle { margin-bottom: 40px; }

  /* Nav */
  .nav-inner { height: 60px; padding: 0 16px; }
  .nav-logo { font-size: 18px; gap: 8px; }
  .nav-logo svg { width: 30px; height: 30px; }
  .nav-mobile-menu { top: 60px; }

  /* Hero */
  .hero { padding-top: 84px; min-height: auto; padding-bottom: 48px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 20px; }
  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 14px 24px; font-size: 15px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-value { font-size: 20px; }
  .hero-stat-label { font-size: 11px; }
  .hero-visual { margin-top: 32px; }
  .phone-mockup { width: 220px; border-radius: 32px; }
  .phone-screen img { border-radius: 24px; }

  /* Problems */
  .problems-list { gap: 32px; margin-top: 32px; }
  .problem-item { gap: 12px; }
  .problem-icon { width: 44px; height: 44px; }
  .problem-item h3 { font-size: 16px; }
  .problem-item p { font-size: 14px; }

  /* Screenshots */
  .screenshots-grid { max-width: 280px; gap: 16px; }
  .screenshot-caption { margin-top: 10px; font-size: 12px; }

  /* Features */
  .feature-card { padding: 24px 16px; }
  .feature-card.featured { padding: 28px 20px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 14px; }
  .feature-icon { width: 40px; height: 40px; margin-bottom: 16px; }
  .feature-icon svg { width: 20px; height: 20px; }

  /* Extra features */
  .extra-features { grid-template-columns: 1fr; gap: 8px; margin-top: 40px; padding-top: 40px; }
  .extra-feature { padding: 12px; }
  .extra-feature-text { font-size: 13px; }

  /* Navigation features */
  .navigation-content { gap: 32px; }
  .navigation-visual img { max-width: 240px; }
  .nav-feature-item { padding: 16px 0; }
  .nav-feature-item h4 { font-size: 15px; }
  .nav-feature-item p { font-size: 13px; }

  /* Steps */
  .steps-grid { gap: 36px; }
  .step-number { width: 48px; height: 48px; font-size: 20px; margin-bottom: 20px; }
  .step-card h3 { font-size: 16px; }
  .step-card p { font-size: 14px; }

  /* One-tap messages */
  .onetap-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .onetap-card { padding: 24px 16px; }
  .onetap-card h3 { font-size: 16px; }
  .onetap-card p { font-size: 13px; }
  .onetap-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .onetap-icon svg { width: 28px; height: 28px; }

  /* Comparison — horizontal scroll */
  .comparison-table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .comparison-table th,
  .comparison-table td { padding: 10px 8px; white-space: nowrap; font-size: 12px; min-width: 56px; }
  .comparison-table tbody td:first-child,
  .comparison-table thead th:first-child { position: sticky; left: 0; background: var(--bg); z-index: 1; min-width: 90px; white-space: normal; }
  .comparison-table thead th:first-child { background: var(--surface); }
  .comparison-table tbody tr:hover td:first-child { background: var(--surface); }

  /* Security */
  .security-grid { gap: 24px; margin-top: 32px; }
  .security-card { padding: 0 0 0 16px; gap: 14px; }
  .security-icon { width: 40px; height: 40px; min-width: 40px; }
  .security-card h3 { font-size: 15px; }
  .security-card p { font-size: 13px; }

  /* FAQ */
  .faq-list { margin-top: 32px; }
  .faq-question { font-size: 15px; padding: 20px 0; }
  .faq-answer-inner { font-size: 14px; }

  /* CTA */
  .cta-section { padding: 72px 0; }
  .cta-subtitle { font-size: 15px; margin-bottom: 32px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .store-btn { width: 100%; justify-content: center; padding: 14px 24px; }
  .store-btn svg { width: 28px; height: 28px; }
  .store-btn-name { font-size: 16px; }

  /* Footer */
  .footer { padding: 40px 0 32px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-brand { max-width: 100%; }
  .footer-desc { font-size: 13px; }
  .footer-links-group h4 { font-size: 13px; margin-bottom: 12px; }
  .footer-links a { font-size: 13px; }
  .footer-bottom { margin-top: 32px; padding-top: 20px; font-size: 12px; }

  /* Arrow divider */
  .arrow-divider { padding: 28px 0; }
  .arrow-divider svg { width: 36px; height: 36px; }
  .arrow-divider-text { font-size: 17px; }
}
