/**
 * AI ASP - LP専用CSS
 * base.css変数を活用
 */

/* ============================================================
   Hero
   ============================================================ */

.lp-hero {
    padding: calc(var(--header-h) + 64px) 0 64px;
    background: linear-gradient(160deg, var(--bg-primary) 0%, var(--accent-blue-light) 50%, var(--bg-primary) 100%);
    text-align: center;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.lp-hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.lp-hero-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.lp-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.lp-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.lp-hero-stat {
    text-align: center;
}

.lp-hero-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: var(--font-mono);
    line-height: 1.2;
}

.lp-hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   Features (3 cards)
   ============================================================ */

.lp-features {
    padding: 80px 0;
}

.lp-section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.lp-section-desc {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
}

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

.lp-feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.lp-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.lp-feature-icon .lucide-icon {
    width: 28px;
    height: 28px;
}

.lp-feature-icon--blue {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.lp-feature-icon--green {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.lp-feature-icon--orange {
    background: var(--accent-orange-light);
    color: var(--accent-orange);
}

.lp-feature-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.lp-feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   MCP Section
   ============================================================ */

.lp-mcp-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-mcp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.lp-mcp-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.lp-mcp-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 24px;
}

.lp-mcp-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-mcp-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.lp-mcp-highlights li .lucide-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.lp-code-block {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 24px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: #e2e8f0;
}

.lp-code-block .code-comment {
    color: #64748b;
}

.lp-code-block .code-key {
    color: #7dd3fc;
}

.lp-code-block .code-string {
    color: #86efac;
}

.lp-code-block .code-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lp-code-block .code-label .lucide-icon {
    width: 14px;
    height: 14px;
}

/* ============================================================
   Benefits
   ============================================================ */

.lp-benefits {
    padding: 80px 0;
}

.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lp-benefit-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.lp-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-benefit-icon .lucide-icon {
    width: 22px;
    height: 22px;
}

.lp-benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.lp-benefit-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   Flow
   ============================================================ */

.lp-flow {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.lp-flow-step {
    text-align: center;
    position: relative;
}

.lp-flow-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lp-flow-step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.lp-flow-step-icon .lucide-icon {
    width: 24px;
    height: 24px;
}

.lp-flow-step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.lp-flow-step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Arrow between steps */
.lp-flow-step + .lp-flow-step::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -20px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-top: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ============================================================
   Pricing
   ============================================================ */

.lp-pricing {
    padding: 80px 0;
}

.lp-pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 2px solid var(--accent-blue);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
}

.lp-pricing-badge {
    display: inline-flex;
    padding: 4px 14px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.lp-pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    margin: 0 0 4px;
}

.lp-pricing-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.lp-pricing-features {
    list-style: none;
    margin: 0 0 32px;
    padding: 24px 0 0;
    border-top: 1px solid var(--border);
    text-align: left;
}

.lp-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
    padding: 8px 0;
}

.lp-pricing-features li .lucide-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    flex-shrink: 0;
}

/* ============================================================
   FAQ (reuse guide-faq pattern)
   ============================================================ */

.lp-faq {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-faq-list {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   CTA
   ============================================================ */

.lp-cta {
    padding: 80px 0;
}

.lp-cta-inner {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1d4ed8 100%);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    text-align: center;
    color: #fff;
}

.lp-cta-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
}

.lp-cta-desc {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0 0 32px;
    color: #fff;
}

.lp-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-cta-actions .btn-primary {
    background: #fff;
    color: var(--accent-blue);
}

.lp-cta-actions .btn-primary:hover {
    background: #f0f0f0;
}

.lp-cta-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.lp-cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* ============================================================
   Legal Page
   ============================================================ */

.legal-page {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 64px;
}

.legal-page h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.legal-page .legal-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 32px;
}

.legal-page h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 40px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-page h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 8px;
}

.legal-page p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 12px;
}

.legal-page ul,
.legal-page ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.legal-page li {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.legal-page ul {
    list-style: disc;
}

.legal-page ol {
    list-style: decimal;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.legal-table th {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.legal-table td {
    color: var(--text-secondary);
}

/* FAQ Page */
.faq-page {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 64px;
}

.faq-page h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.faq-page .faq-page-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 40px;
}

.faq-category-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category-title .lucide-icon {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
}

.faq-category {
    margin-bottom: 40px;
}

/* ============================================================
   SP Responsive
   ============================================================ */

@media (max-width: 768px) {
    .lp-hero {
        padding: calc(var(--header-h) + 40px) 0 40px;
    }
    .lp-hero h1 {
        font-size: 28px;
    }
    .lp-hero-desc {
        font-size: 15px;
    }
    .lp-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .lp-hero-stat-value {
        font-size: 24px;
    }
    .lp-features-grid {
        grid-template-columns: 1fr;
    }
    .lp-mcp-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .lp-code-block {
        font-size: 11px;
        padding: 16px;
    }
    .lp-benefits-grid {
        grid-template-columns: 1fr;
    }
    .lp-flow-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .lp-flow-step + .lp-flow-step::before {
        display: none;
    }
    .lp-section-title {
        font-size: 22px;
    }
    .lp-pricing-card {
        padding: 28px 20px;
    }
    .lp-pricing-price {
        font-size: 36px;
    }
    .lp-cta-inner {
        padding: 40px 24px;
    }
    .lp-cta-title {
        font-size: 22px;
    }
    .legal-page h1,
    .faq-page h1 {
        font-size: 22px;
    }
}

/* ===== Pricing Page ===== */
.pricing-page { padding: 60px 0 80px; }
.pricing-page .container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.pricing-page h1 { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.pricing-page .page-subtitle { text-align: center; color: var(--text-secondary); font-size: 15px; margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 60px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.pricing-card-header { padding: 32px 28px 24px; text-align: center; }
.pricing-card-badge { display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--accent-blue); color: #fff; }
.pricing-card-badge--publisher { background: var(--accent-green, #22c55e); }
.pricing-card-title { font-size: 22px; font-weight: 800; margin: 16px 0 8px; }
.pricing-card-price { margin-bottom: 12px; }
.pricing-price-amount { font-size: 28px; font-weight: 800; color: var(--text-primary); }
.pricing-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.pricing-features { list-style: none; padding: 0 28px; margin: 0; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 14px; color: var(--text-primary); border-top: 1px solid var(--border-secondary, var(--border-primary)); }
.pricing-features li .lucide-icon { width: 18px; height: 18px; color: var(--accent-green, #22c55e); flex-shrink: 0; margin-top: 1px; }
.pricing-card-footer { padding: 24px 28px 28px; }
.pricing-detail-section { margin-bottom: 48px; }
.pricing-detail-section .section-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.pricing-cycle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pricing-cycle-card { background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: 12px; padding: 24px; }
.pricing-cycle-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pricing-cycle-card p { font-size: 14px; margin-bottom: 4px; }
.pricing-cycle-card .text-muted { color: var(--text-secondary); font-size: 13px; }

/* ===== Contact Page ===== */
.contact-page { padding: 60px 0 80px; }
.contact-page .container { max-width: 640px; margin: 0 auto; padding: 0 20px; }
.contact-page h1 { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 32px; }

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-cycle-grid { grid-template-columns: 1fr; }
    .pricing-page h1 { font-size: 24px; }
}
