/* ============================================
   AI Diet Coach — Product LP
   Brand: green × blue (app heart logo)
   ============================================ */

:root {
  --bg:            #f6faf7;
  --surface:       #ffffff;
  --surface-2:     #eef6f0;
  --border:        rgba(15, 23, 42, 0.08);
  --text:          #0f172a;
  --text-muted:    #51607a;
  --green:         #6fbe1e;
  --blue:          #38a8ec;
  --grad:          linear-gradient(120deg, var(--green), var(--blue));
  --grad-soft:     linear-gradient(120deg, rgba(111, 190, 30, 0.12), rgba(56, 168, 236, 0.12));
  --shadow:        0 6px 28px -6px rgba(15, 23, 42, 0.10);
  --shadow-lg:     0 18px 50px -12px rgba(15, 23, 42, 0.18);
  --radius:        16px;
  --radius-sm:     10px;
  --avatar-bg:     #313131; /* character art background */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

/* --- Language switching --- */
html[lang="en"] .ja { display: none !important; }
html[lang="ja"] .en { display: none !important; }

/* --- Layout --- */
.adc-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.adc-section { padding: 88px 0; }

.adc-section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.adc-section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* --- Header --- */
.adc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.adc-nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.adc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.adc-brand-heart { width: 32px; height: 32px; }

.adc-brand-name { font-size: 1rem; }

.adc-nav-actions { display: flex; align-items: center; gap: 12px; }

.adc-lang-toggle {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.adc-lang-toggle:hover { color: var(--blue); border-color: var(--blue); }

.adc-header-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--grad);
  border-radius: 50px;
  padding: 8px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.adc-header-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* --- Hero --- */
.adc-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(56, 168, 236, 0.14), transparent 70%),
    radial-gradient(500px 400px at 5% 90%, rgba(111, 190, 30, 0.14), transparent 70%),
    var(--bg);
}

.adc-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.adc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.adc-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.adc-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.adc-hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.adc-hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.adc-store-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.adc-badge-link { display: inline-block; line-height: 0; }

.adc-store-badge { height: 52px; width: auto; }

.adc-store-badge-lg { height: 60px; }

.adc-coming-soon {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: 50px;
  padding: 8px 18px;
}

.adc-hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero visual */
.adc-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.adc-icon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28%;
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 168px;
  height: 168px;
}

.adc-app-icon { width: 100%; height: 100%; object-fit: cover; }

.adc-hero-avatars {
  display: flex;
  gap: -8px;
}

.adc-hero-avatars img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--avatar-bg);
  border: 3px solid var(--surface);
  box-shadow: var(--shadow);
  margin-left: -10px;
}

.adc-hero-avatars img:first-child { margin-left: 0; }

.adc-chat-bubble {
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.adc-chat-user {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.adc-chat-ai {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

/* --- Features --- */
.adc-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

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

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

.adc-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  color: var(--blue);
  margin-bottom: 20px;
}

.adc-feature-icon svg { width: 24px; height: 24px; }

.adc-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.adc-feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --- Trainers --- */
.adc-trainers-section {
  background: var(--surface-2);
}

.adc-trainers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.adc-trainer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.adc-trainer-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--avatar-bg);
  margin: 0 auto 16px;
  border: 4px solid var(--surface-2);
}

.adc-trainer-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--grad-soft);
  border-radius: 50px;
  padding: 3px 14px;
  margin-bottom: 10px;
}

.adc-trainer-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.adc-trainer-catch {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 12px;
}

.adc-trainer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
}

/* --- Steps --- */
.adc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.adc-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  box-shadow: var(--shadow);
}

.adc-step-num {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.adc-step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.adc-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Pricing / Final CTA --- */
.adc-pricing {
  background:
    radial-gradient(500px 300px at 50% 100%, rgba(111, 190, 30, 0.10), transparent 70%),
    var(--bg);
  text-align: center;
}

.adc-final-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 32px;
}

.adc-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Footer --- */
.adc-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--surface);
}

.adc-footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.adc-footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.adc-footer-links a:hover { color: var(--blue); }

.adc-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Screenshots gallery --- */
.adc-shots-section { background: var(--surface-2); }

.adc-shots-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 8px 0 12px;
  padding-inline: max(24px, calc((100% - 1080px) / 2));
}

.adc-shots {
  display: flex;
  gap: 18px;
  width: max-content;
}

.adc-shots img {
  flex: 0 0 auto;
  width: 258px;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  scroll-snap-align: center;
}

/* --- Pricing plans table --- */
.adc-plans-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 4px 0 14px; }

.adc-plans {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.adc-plans th,
.adc-plans td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}

.adc-plans tbody tr:last-child th,
.adc-plans tbody tr:last-child td { border-bottom: none; }

.adc-plans tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.adc-plans thead th { padding: 18px 14px; }

.adc-plan-name { display: block; font-weight: 700; font-size: 1rem; }

.adc-plan-price {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue);
}

.adc-plan-price small { font-size: 0.68rem; font-weight: 500; color: var(--text-muted); }

.adc-plan-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 12px;
  border-radius: 50px;
  background: var(--grad);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
}

/* Standard（3列目）を強調 */
.adc-plans tr > *:nth-child(3) { background: var(--grad-soft); }
.adc-plans thead th.adc-plan-reco .adc-plan-name { color: var(--blue); }

.adc-plan-check { color: var(--green); font-weight: 700; }
.adc-plan-x { color: var(--text-muted); }

.adc-plans-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* --- Responsive --- */
@media (max-width: 820px) {
  .adc-hero { padding: 64px 0 72px; }

  .adc-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .adc-hero-sub { margin-left: auto; margin-right: auto; }

  .adc-store-buttons,
  .adc-hero-content { justify-content: center; }

  .adc-store-buttons { justify-content: center; }

  .adc-brand-name { font-size: 0.9rem; }

  .adc-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .adc-header-cta { display: none; }

  .adc-store-badge { height: 48px; }

  .adc-shots img { width: 220px; border-radius: 18px; }
}
