/* ============================================================
   eigo-master.jp — Landing Page Styles
   Design: Conversion-optimized for Japanese market
   ============================================================ */

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

:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #E0E7FF;
    --accent: #F59E0B;
    --accent-red: #EF4444;
    --text: #111827;
    --text-mid: #374151;
    --text-light: #6B7280;
    --bg: #FFFFFF;
    --bg-alt: #F9FAFB;
    --bg-dark: #0F172A;
    --border: #E5E7EB;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* === SECTION TITLES === */
.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}

.section-desc {
    text-align: center;
    color: var(--text-mid);
    font-size: 15px;
    line-height: 2;
    max-width: 680px;
    margin: 0 auto;
}

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

/* === CTA BUTTONS === */
.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.cta-primary {
    background: linear-gradient(135deg, #EF4444, #F59E0B);
    color: #fff;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
}
.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.45);
}

.cta-secondary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.cta-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-large {
    padding: 20px 52px;
    font-size: 19px;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-highlight {
    background: linear-gradient(transparent 60%, rgba(255,255,255,0.25) 60%);
}

.hero-sub {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-num {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.hero-stat-num small { font-size: 24px; }

.hero-stat-label {
    font-size: 13px;
    opacity: 0.75;
    margin-top: 6px;
}

.hero-price {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.hero-price strong {
    font-size: 18px;
}

/* === PAIN SECTION === */
.pain {
    background: var(--bg-alt);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.pain-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.pain-card:hover { transform: translateY(-4px); }

.pain-icon { font-size: 36px; display: block; margin-bottom: 12px; }

.pain-card p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.7;
}

.pain-card strong { color: var(--accent-red); }

.pain-closer {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

/* === LEAD MAGNET === */
.lead-magnet {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
    padding: 70px 0;
}

.lead-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.lead-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.lead-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.lead-text {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 8px;
}

.lead-sub {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 28px;
}

.lead-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.lead-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.lead-form input::placeholder { color: rgba(255,255,255,0.5); }
.lead-form input:focus { border-color: rgba(255,255,255,0.5); }

.lead-form .cta-btn {
    white-space: nowrap;
    padding: 14px 28px;
    font-size: 15px;
}

.lead-privacy {
    margin-top: 14px;
    font-size: 12px;
    opacity: 0.5;
}

/* === CHAPTERS === */
.chapters { background: var(--bg-alt); }

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.ch-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border-left: 4px solid var(--ch-color, var(--primary));
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s;
}

.ch-card:hover { transform: translateY(-3px); }

.ch-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--ch-color, var(--primary));
    opacity: 0.6;
}

.ch-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0 6px;
}

.ch-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.ch-count {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.feat-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.feat-icon { font-size: 40px; margin-bottom: 16px; }

.feat-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feat-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
}

/* === BONUS === */
.bonus { background: var(--bg-alt); }

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bonus-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-light);
    position: relative;
}

.bonus-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.bonus-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bonus-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 12px;
}

.bonus-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-red);
    text-decoration: line-through;
    opacity: 0.7;
}

/* === COMPARISON TABLE === */
.comparison { background: #fff; }

.compare-table-wrap {
    overflow-x: auto;
    margin-top: 40px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th, .compare-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    background: var(--bg-alt);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-mid);
}

.compare-highlight {
    background: var(--primary-light) !important;
    color: var(--primary-dark);
    font-weight: 600;
}

.compare-table thead .compare-highlight {
    background: var(--primary) !important;
    color: #fff;
}

/* === OFFER === */
.offer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
}

.offer-card {
    max-width: 580px;
    margin: 0 auto;
}

.offer-title {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 30px;
}

.offer-stack {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 28px;
    text-align: left;
}

.offer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}

.offer-val {
    font-size: 13px;
    opacity: 0.6;
    text-decoration: line-through;
}

.offer-divider {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 10px 0;
}

.offer-total { font-weight: 700; font-size: 16px; }

.offer-val-total {
    font-size: 18px;
    text-decoration: line-through;
    opacity: 0.7;
}

.offer-price-box {
    margin-bottom: 24px;
}

.offer-price-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.offer-price {
    font-size: 48px;
    font-weight: 900;
}

.offer-price span {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.7;
}

.offer-guarantees {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.75;
    flex-wrap: wrap;
}

/* === FAQ === */
.faq { background: var(--bg-alt); }

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

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
    padding: 0 24px 18px;
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.8;
}

/* === FINAL CTA === */
.final-cta {
    background: var(--bg-dark);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}

.final-cta h2 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 32px;
}

.final-price {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.5;
}

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.4);
    text-align: center;
    padding: 24px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links { margin-top: 8px; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: underline; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero { padding: 70px 20px 60px; }
    .hero-title { font-size: 26px; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 32px; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 24px; }
    
    .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pain-card { padding: 20px 16px; }
    
    .chapters-grid { grid-template-columns: 1fr; }
    
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    
    .bonus-grid { grid-template-columns: 1fr; }
    
    .lead-form {
        flex-direction: column;
    }
    .lead-form input, .lead-form .cta-btn {
        width: 100%;
    }
    
    .offer-price { font-size: 38px; }
    .offer-guarantees { flex-direction: column; align-items: center; gap: 8px; }
    
    .compare-table { font-size: 12px; }
    .compare-table th, .compare-table td { padding: 10px 8px; }

    .cta-large { padding: 18px 36px; font-size: 17px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 22px; }
    .pain-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
