/* Product index page styles */

.product-hero {
  padding: 64px 32px 56px;
  position: relative;
  overflow: hidden;
}
.product-hero.ft6-theme {
  background: linear-gradient(135deg, #0c1f4a 0%, #1e3a8a 60%, #2563eb 100%);
  color: #fff;
}
.product-hero.fc4-theme {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
}
.product-hero.fcr-theme {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 60%, #60a5fa 100%);
  color: #fff;
}
.product-hero.fto-theme {
  background: linear-gradient(135deg, #052e2b 0%, #0f766e 55%, #14b8a6 100%);
  color: #fff;
}
.product-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.product-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.product-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  opacity: 0.8;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.product-hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.product-hero-lead {
  font-size: 16px;
  line-height: 1.85;
  opacity: 0.92;
  margin: 0 0 28px;
  max-width: 580px;
}
.product-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-lg { padding: 12px 24px; font-size: 14px; }
.product-hero .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.product-hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.btn-link {
  background: transparent;
  border: none;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 8px;
  font-weight: 500;
}
.btn-link:hover { color: #fff; opacity: 0.85; text-decoration: underline; }

.product-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  opacity: 0.85;
  flex-wrap: wrap;
}
.product-hero-meta strong { font-weight: 700; opacity: 1; }
.product-hero-meta .dot { opacity: 0.5; }

.product-hero-visual { position: relative; }
.hero-screenshot {
  margin: 0;
  background: #1f1f1f;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 20px 40px -10px rgba(0,0,0,0.45),
    0 40px 80px -20px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-screenshot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
  border-bottom: 1px solid rgba(0,0,0,0.4);
}
.hero-screenshot-chrome .chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.hero-screenshot-chrome .dot-r { background: #ff5f57; }
.hero-screenshot-chrome .dot-y { background: #febc2e; }
.hero-screenshot-chrome .dot-g { background: #28c840; }
.hero-screenshot-chrome .chrome-title {
  margin-left: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.visual-placeholder {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
}
.visual-placeholder span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.visual-placeholder small {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .2s;
}
.feature-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* Audience grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.audience-card {
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.audience-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.audience-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.audience-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

/* Manual quick grid */
.manual-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.manual-quick {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all .15s;
}
.manual-quick:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  text-decoration: none;
  transform: translateY(-1px);
}
.manual-quick .num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.manual-quick h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--text);
}
.manual-quick p {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.cta-block h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-block p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 0 28px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Pricing rows (for fc4/fcr) */
.pricing-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.pricing-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}
.pricing-card .price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 13px;
  margin-right: 8px;
}
.pricing-card .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--danger);
}
.pricing-card .price-tax {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-left: 4px;
  font-weight: 500;
}

/* Plan comparison (Starter vs Pro) */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}
.plan-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-card.is-pro {
  border-color: #f97316;
  border-width: 2px;
  box-shadow: 0 8px 28px rgba(249,115,22,0.12);
}
.plan-card .plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg,#f97316,#ef4444);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 999px;
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 4px;
}
.plan-card.is-pro .plan-name { color: #ea580c; }
.plan-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.plan-price .yen {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.plan-price .amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.plan-price .per {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.plan-price-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 6px;
}
.plan-price-note .strike {
  text-decoration: line-through;
  color: var(--danger);
  margin-left: 4px;
}
.plan-tax {
  font-size: 11px;
  color: var(--text-tertiary);
  margin: 0 0 18px;
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  margin-bottom: 10px;
}
.plan-cta.is-starter {
  background: linear-gradient(90deg,#b45309,#c2410c);
  color: #fff;
}
.plan-cta.is-pro {
  background: linear-gradient(90deg,#f97316,#ef4444);
  color: #fff;
}
.plan-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); text-decoration: none; }
.plan-save {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.5;
  margin: 0 0 22px;
}
.plan-divider {
  border-top: 1px solid var(--border);
  margin: 4px 0 18px;
}
.plan-feature-heading {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan-features li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13.5px;
  color: var(--text);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features .check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.plan-card.is-pro .plan-features .check { border-color: #f97316; }
.plan-features .check svg { width: 11px; height: 11px; }
.plan-features .check.on { color: #16a34a; border-color: #86efac; background: #f0fdf4; }
.plan-card.is-pro .plan-features .check.on { color: #ea580c; border-color: #fdba74; background: #fff7ed; }
.plan-features .val {
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
}
.plan-features .val.pill {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 2px 10px;
}
.plan-card.is-pro .plan-features .val.pill { background: #fff7ed; color: #c2410c; }

.plans-note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid, .audience-grid, .manual-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .product-hero h1 { font-size: 34px; }
}
@media (max-width: 760px) {
  .product-hero { padding: 48px 20px; }
  .product-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-hero h1 { font-size: 28px; }
  .product-hero-lead { font-size: 15px; }
  .visual-placeholder { height: 220px; }
  .feature-grid, .audience-grid, .manual-quick-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 48px 20px; }
  .cta-block h2 { font-size: 24px; }
  .pricing-card { grid-template-columns: 1fr; }
}
