/* =====================================================================
   Image AI Landing — JapaneseSaaS-style
   ブランドカラー継承: #FF6B35 / #FF9500 (既存 ImageAI ブランド)
   フォント: Noto Sans JP (本文) + Inter (英数字)
   ===================================================================== */

:root {
  /* Colors */
  --primary: #FF6B35;
  --primary-dark: #E55A26;
  --accent: #FF9500;
  --primary-gradient: linear-gradient(135deg, #FF6B35 0%, #FF9500 100%);
  --primary-soft: #FFF3EE;
  --primary-tint: #FFF8F4;

  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --success: #22C55E;
  --warn: #F59E0B;
  --danger: #EF4444;

  --text: var(--gray-800);
  --text-muted: var(--gray-500);

  /* Typography */
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, sans-serif;

  /* Layout */
  --container-max: 1140px;
  --container-pad: 24px;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.11);
  --shadow-orange: 0 8px 24px rgba(255, 107, 53, 0.28);
  --shadow-orange-lg: 0 14px 34px rgba(255, 107, 53, 0.32);

  /* Animation */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 120ms;
  --t: 200ms;
}

/* =====================================================================
   Reset / base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp);
  color: var(--text);
  background: white;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--primary-dark); }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.35; color: var(--gray-900); }

.accent { color: var(--primary); }

/* =====================================================================
   Layout primitives
   ===================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

section { padding: var(--sp-16) 0; }
section h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  text-align: center;
  margin: 0 0 var(--sp-3);
}
section .section-lead {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 var(--sp-12);
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn-primary, .btn-secondary, .btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  padding: 14px 28px;
  font-size: 14px;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange-lg); color: white; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
  padding: 12px 28px;
  font-size: 14px;
}
.btn-secondary:hover { background: var(--primary-soft); }

.btn-text {
  background: transparent;
  color: var(--gray-700);
  padding: 10px 14px;
  font-size: 14px;
}
.btn-text:hover { color: var(--primary); }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-xl { padding: 20px 44px; font-size: 17px; border-radius: var(--radius-md); }

/* =====================================================================
   Announcement bar
   ===================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #FFF3EE, #FFE7DA);
  border-bottom: 1px solid #FFD4BA;
  font-size: 13px;
  color: var(--gray-700);
}
.announcement-bar .ann-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px var(--container-pad);
  flex-wrap: wrap;
}
.announcement-bar .emoji { font-size: 16px; }
.announcement-bar a { font-weight: 700; }
.announcement-bar .close {
  margin-left: auto;
  background: transparent;
  border: 0;
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1;
}

/* =====================================================================
   Global nav
   ===================================================================== */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: 12px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  color: var(--gray-900);
}
.logo:hover { color: var(--gray-900); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-gradient);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 17px;
  box-shadow: var(--shadow-orange);
}
.logo-text { font-family: var(--font-en), var(--font-jp); letter-spacing: 0.2px; }
.main-nav { display: flex; gap: var(--sp-6); }
.main-nav a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 4px;
}
.main-nav a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-2); }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--gray-700);
  padding: 6px 10px;
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  padding: var(--sp-20) 0 var(--sp-24);
  background: radial-gradient(ellipse at top, var(--primary-tint) 0%, white 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.hero-text .badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--sp-5);
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-5);
}
.hero .lead {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: var(--sp-8);
  max-width: 520px;
}
.hero .cta-group { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-4); }
.hero .micro { font-size: 12px; color: var(--gray-500); }

.hero-visual { position: relative; }
.ba-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  box-shadow: var(--shadow-md);
}
.ba-side {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4 / 3;
}
.ba-side img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gray-700);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}
.ba-after .ba-label { background: var(--primary); color: white; }

/* =====================================================================
   Problems
   ===================================================================== */
.problems { background: var(--gray-50); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
}
.problem-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.problem-card .emoji { font-size: 40px; display: block; margin-bottom: var(--sp-3); }
.problem-card h3 { font-size: 16px; margin-bottom: var(--sp-2); color: var(--gray-800); }
.problem-card p { font-size: 13px; color: var(--gray-600); line-height: 1.85; }

.solution-arrow { text-align: center; margin-top: var(--sp-8); }
.solution-arrow .arrow-down {
  display: inline-block;
  font-size: 30px;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}
.solution-arrow .solution-text { font-size: 22px; font-weight: 800; }

/* =====================================================================
   Features (zigzag)
   ===================================================================== */
.features-list { display: grid; gap: var(--sp-16); }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.feature-block.right .feature-visual { order: 2; }
.feature-block.right .feature-text { order: 1; }
.feature-visual {
  background: var(--primary-tint);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.feature-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.feature-text .emoji-large { font-size: 36px; margin-bottom: var(--sp-3); line-height: 1; }
.feature-text h3 {
  font-size: clamp(20px, 2.6vw, 24px);
  margin-bottom: var(--sp-2);
}
.feature-text .subtitle {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.04em;
}
.feature-text .description {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.85;
  margin: var(--sp-3) 0 var(--sp-4);
}
.feature-text ul { display: flex; flex-direction: column; gap: var(--sp-1); margin-top: var(--sp-3); }
.feature-text ul li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.85;
}
.feature-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

.badge-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}
.badge-orange { background: var(--primary-soft); color: var(--primary); }
.badge-green { background: #DCFCE7; color: #16A34A; }
.badge-blue { background: #DBEAFE; color: #2563EB; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* =====================================================================
   Demo dashboard (live, masked real data)
   ===================================================================== */
.demo-tab {
  padding: 8px 16px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.demo-tab:hover { border-color: var(--primary); color: var(--primary); }
.demo-tab-active { background: var(--primary-gradient); color: white; border-color: transparent; }
.demo-stat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.demo-stat-label { font-size: 11px; color: var(--gray-500); margin-bottom: 4px; font-weight: 600; }
.demo-stat-value { font-size: 28px; font-weight: 900; color: var(--gray-900); font-family: var(--font-en); line-height: 1.1; }
.demo-stat-sub { font-size: 10px; color: var(--gray-400); margin-top: 2px; }
#demo-table tbody tr { border-bottom: 1px solid #F3F4F6; }
#demo-table tbody td { padding: 10px 14px; vertical-align: middle; }
#demo-table tbody tr.demo-row-low td { background: #FEF3C7; }
#demo-table tbody tr.demo-row-out td { background: #FEE2E2; }
.demo-mall-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
}

/* =====================================================================
   Gallery
   ===================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.gallery-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.gallery-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-card .meta { padding: var(--sp-3); font-size: 12px; color: var(--gray-600); }

/* =====================================================================
   Platforms
   ===================================================================== */
.platforms { background: var(--gray-50); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-3);
}
.platform-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.platform-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.platform-card img { width: 48px; height: 48px; margin: 0 auto var(--sp-2); object-fit: contain; }
.platform-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  margin: 0 auto var(--sp-2);
}
.platform-name { font-size: 14px; font-weight: 700; color: var(--gray-800); }
.platform-spec { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

/* =====================================================================
   Use cases
   ===================================================================== */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}
.use-case-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.use-case-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.use-case-card .emoji { font-size: 30px; display: block; margin-bottom: var(--sp-2); line-height: 1; }
.use-case-card h3 { font-size: 15px; margin-bottom: var(--sp-2); }
.use-case-card p { font-size: 13px; color: var(--gray-600); line-height: 1.8; }

/* =====================================================================
   Subscription Value (Phase Q)
   ===================================================================== */
.sub-value { background: linear-gradient(180deg, white 0%, var(--primary-tint) 100%); }
.sub-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-12);
}
.sub-value-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.sub-value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sub-value-emoji { font-size: 44px; margin-bottom: var(--sp-3); line-height: 1; }
.sub-value-card h3 { font-size: 18px; margin-bottom: var(--sp-3); color: var(--gray-900); }
.sub-value-card p { font-size: 13.5px; color: var(--gray-700); line-height: 1.85; margin-bottom: var(--sp-2); }
.sub-value-card .sub-value-detail { font-size: 11.5px; color: var(--gray-500); margin-top: var(--sp-3); }

.sub-value-compare {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-8);
}
.sub-value-compare h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: var(--sp-6);
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}
.compare-table th, .compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
  vertical-align: middle;
}
.compare-table th { font-weight: 700; color: var(--gray-700); background: var(--gray-50); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; }
.compare-table th.recommended,
.compare-table td.recommended {
  background: linear-gradient(180deg, var(--primary-soft) 0%, white 100%);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}
.compare-table thead th.recommended {
  background: var(--primary-gradient);
  color: white;
  font-weight: 800;
}
.compare-table tr.compare-total td { background: #FFF8F4; font-size: 15px; padding-top: 16px; padding-bottom: 16px; }
.compare-table tr.compare-total td.recommended { background: var(--primary-soft); }
.compare-table tfoot td { padding: 14px 16px; font-size: 13px; color: var(--gray-700); }
.compare-table tfoot td.recommended { color: var(--primary); }
.cmp-cost { color: var(--gray-700); font-family: var(--font-en); }
.cmp-included { color: var(--primary); font-weight: 700; font-family: var(--font-en); }
.cmp-na { color: var(--gray-400); font-size: 11.5px; }

.annual-badge {
  text-align: center;
  margin-top: var(--sp-5);
  font-size: 13px;
  color: var(--gray-700);
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.annual-badge strong { color: var(--primary); }

.sub-value-cta {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .sub-value-compare { padding: var(--sp-5); }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 8px; }
}

/* =====================================================================
   Pricing
   ===================================================================== */
.pricing { background: white; }
.pricing-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.toggle-label small { color: var(--gray-500); font-weight: 500; margin-left: 4px; }
.toggle-label input[type="checkbox"] { display: none; }
.toggle-pill {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--gray-300);
  position: relative;
  transition: background var(--t) var(--ease);
}
.toggle-pill::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  transition: transform var(--t) var(--ease);
  box-shadow: var(--shadow-xs);
}
.toggle-label input:checked + .toggle-pill { background: var(--primary); }
.toggle-label input:checked + .toggle-pill::after { transform: translateX(16px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-card.recommended {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-orange);
}
.recommend-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 22px; margin-bottom: var(--sp-2); }
.pricing-card .card-description { font-size: 13px; color: var(--gray-500); margin-bottom: var(--sp-5); min-height: 36px; }
.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: var(--sp-3) 0;
}
.pricing-card .price-amount {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}
.pricing-card .price-cycle { font-size: 14px; color: var(--gray-500); font-weight: 600; }
.pricing-card .credits { font-size: 13px; color: var(--gray-600); margin-bottom: var(--sp-5); }
.pricing-card ul { display: flex; flex-direction: column; gap: var(--sp-2); margin: var(--sp-3) 0 var(--sp-6); }
.pricing-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.85;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}
.pricing-card ul li.highlight { color: var(--primary); font-weight: 700; }
.pricing-card .btn-primary, .pricing-card .btn-secondary { margin-top: auto; }

.addon-credits-section { margin-top: var(--sp-16); }
.addon-credits-section h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: var(--sp-3);
}
.addon-credits-section .section-lead { margin-bottom: var(--sp-8); }
.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.addon-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  text-align: center;
}
.addon-card h4 { font-size: 14px; color: var(--gray-700); margin-bottom: var(--sp-2); }
.addon-card .price { font-family: var(--font-en); font-size: 26px; font-weight: 800; color: var(--gray-900); margin-bottom: var(--sp-1); }
.addon-card .credits { font-size: 12px; color: var(--gray-500); margin-bottom: var(--sp-4); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { background: var(--gray-50); }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-8); }
.faq-category h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--primary-soft);
}
.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: var(--sp-2);
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  padding: var(--sp-4) var(--sp-5);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  transition: transform var(--t) var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.85;
}
.faq-answer p { margin-bottom: var(--sp-2); }
.faq-answer a { color: var(--primary); text-decoration: underline; }

/* =====================================================================
   Final CTA
   ===================================================================== */
.final-cta {
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: var(--sp-20) 0;
}
.final-cta h2 { color: white; font-size: clamp(26px, 3.6vw, 36px); margin-bottom: var(--sp-4); }
.final-cta .lead { font-size: 15px; opacity: 0.95; margin-bottom: var(--sp-8); line-height: 1.85; }
.final-cta .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.15);
}
.final-cta .btn-primary:hover { background: var(--gray-50); color: var(--primary-dark); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--sp-16) 0 var(--sp-8);
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.footer-brand .logo { color: white; margin-bottom: var(--sp-3); }
.footer-brand .logo:hover { color: white; }
.footer-tag { color: var(--gray-400); line-height: 1.7; }
.footer-heading { color: white; font-weight: 700; margin-bottom: var(--sp-3); font-size: 13px; }
.site-footer a { color: var(--gray-400); display: block; padding: 4px 0; }
.site-footer a:hover { color: white; }
.site-footer p { line-height: 1.85; }
.copyright {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--sp-5);
  text-align: center;
  font-size: 11px;
  color: var(--gray-500);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .feature-block { grid-template-columns: 1fr; gap: var(--sp-6); }
  .feature-block.right .feature-visual { order: 0; }
  .feature-block.right .feature-text { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-cta .btn-text { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; }
  .mobile-menu-btn[aria-expanded="true"] + .main-nav,
  .global-nav.menu-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: var(--sp-3) var(--container-pad);
    gap: 0;
    box-shadow: var(--shadow);
  }
  .global-nav.menu-open .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
  }
  section { padding: var(--sp-12) 0; }
  .hero { padding: var(--sp-12) 0 var(--sp-16); }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .pricing-toggle { gap: var(--sp-3); flex-direction: column; align-items: flex-start; }
  .pricing-card { padding: var(--sp-6) var(--sp-5); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  :root { --container-pad: 16px; }
  .hero h1 { font-size: 26px; }
  .platform-grid { grid-template-columns: 1fr; }
  .btn-xl { padding: 16px 24px; font-size: 15px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
