/* ============================================
   TrendBase.Web — LP Stylesheet
   Redesigned for: 30-40代女性ターゲット
   ============================================ */

/* --- LP Hero --- */
.lp-hero {
    position: relative;
    padding: 110px 0 70px;
    overflow: hidden;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Gene theme background */
.lp-gene-theme .lp-hero {
    background: linear-gradient(180deg, #FFFBF9 0%, #FFF0EE 50%, var(--bg-cream) 100%);
}

.dna-helix {
    position: absolute;
    width: 200px;
    height: 100%;
    right: 5%;
    top: 0;
    opacity: 0.04;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 40px,
        var(--primary-light) 40px,
        var(--primary-light) 42px
    );
    animation: dnaRotate 12s linear infinite;
}

@keyframes dnaRotate {
    0% { transform: translateY(0); }
    100% { transform: translateY(-80px); }
}

/* Water theme background */
.lp-water-theme .lp-hero {
    background: linear-gradient(180deg, #F5FAFF 0%, var(--water-blue-pale) 50%, var(--bg-cream) 100%);
}

.water-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    opacity: 0.04;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            var(--water-blue) 100px,
            var(--water-blue) 102px
        );
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.lp-hero-content {
    position: relative;
    z-index: 1;
}

.lp-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.lp-gene-theme .lp-hero-badge {
    background: var(--primary-pale);
    border: 1px solid rgba(232, 120, 111, 0.2);
    color: var(--primary);
}

.lp-water-theme .lp-hero-badge {
    background: var(--water-blue-pale);
    border: 1px solid rgba(91, 155, 213, 0.2);
    color: var(--water-blue);
}

.lp-hero-title {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

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

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(232, 120, 111, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.accent-water {
    color: var(--water-blue);
    position: relative;
}

.accent-water::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(91, 155, 213, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.lp-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.9;
}

.lp-hero-note {
    margin-top: 18px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Price Badge --- */
.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.price-original {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-sale {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.price-yen {
    font-size: 0.9rem;
    font-weight: 600;
}

.price-off {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* --- LP Sections --- */
.lp-section {
    padding: 70px 0;
}

.lp-section:nth-child(odd) {
    background: var(--bg-white);
}

.lp-section:nth-child(even) {
    background: var(--bg-light);
}

.lp-section-title {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.lp-section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

/* --- Problem Section --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

@media (min-width: 768px) {
    .problem-grid { grid-template-columns: repeat(4, 1fr); }
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 18px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.problem-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.problem-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.problem-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-card strong {
    color: var(--primary);
    font-weight: 700;
}

.problem-answer {
    text-align: center;
    padding: 28px 24px;
    background: var(--primary-pale);
    border: 1px solid rgba(232, 120, 111, 0.15);
    border-radius: var(--radius-lg);
}

.lp-water-theme .problem-answer {
    background: var(--water-blue-pale);
    border-color: rgba(91, 155, 213, 0.15);
}

.problem-answer-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.problem-answer strong {
    color: var(--primary);
}

.lp-water-theme .problem-answer strong {
    color: var(--water-blue);
}

/* --- Gene Types / Water Features --- */
.gene-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .gene-types { grid-template-columns: repeat(3, 1fr); }
}

.gene-type {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.gene-type:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.gene-type-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.gene-type h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.gene-type p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.gene-type-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.lp-gene-theme .gene-type-tag {
    background: var(--primary-pale);
    color: var(--primary);
}

.water-tag {
    background: var(--water-blue-pale) !important;
    color: var(--water-blue) !important;
}

.solution-cta {
    text-align: center;
}

/* --- Steps --- */
.steps-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

@media (min-width: 768px) {
    .steps-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    max-width: 280px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 6px;
    font-family: 'Inter', var(--font-sans);
}

.lp-water-theme .step-number {
    color: rgba(91, 155, 213, 0.4);
}

.step-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 1.3rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    transform: rotate(90deg);
}

@media (min-width: 768px) {
    .step-arrow { transform: none; }
}

/* --- Benefits --- */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Reviews --- */
.review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .review-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #F5A623;
    font-size: 0.95rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
    font-style: normal;
    border-left: 3px solid var(--primary-light);
    padding-left: 14px;
}

.lp-water-theme .review-text {
    border-left-color: rgba(91, 155, 213, 0.4);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-pale);
    border-radius: 50%;
}

.lp-water-theme .review-avatar {
    background: var(--water-blue-pale);
}

.review-author strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-tag {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq-list {
    max-width: 680px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 14px;
    font-weight: 300;
}

.lp-water-theme .faq-toggle {
    color: var(--water-blue);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Product Cards (Water LP) --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-popular {
    border-color: var(--water-blue);
    box-shadow: 0 4px 20px rgba(91, 155, 213, 0.12);
}

.product-popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--water-blue), #5BB5D5);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.product-hardness {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.product-hardness.soft {
    background: var(--accent-green-pale);
    color: var(--accent-green);
}

.product-hardness.medium {
    background: var(--water-blue-pale);
    color: var(--water-blue);
}

.product-hardness.hard {
    background: rgba(139, 92, 246, 0.08);
    color: #7C3AED;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.product-taste {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.product-use {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Price Box --- */
.price-box {
    background: var(--bg-card);
    border: 2px solid var(--water-blue);
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(91, 155, 213, 0.1);
}

.price-box-title {
    padding: 18px;
    background: linear-gradient(135deg, var(--water-blue-pale), #E0F0FF);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--water-blue-dark);
}

.price-box-content {
    padding: 32px 28px;
    text-align: center;
}

.price-includes {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.price-comparison {
    margin-bottom: 14px;
}

.price-before {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 6px;
}

.price-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Inter', var(--font-sans);
}

.price-unit {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.price-savings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.savings-badge {
    padding: 4px 12px;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.savings-amount {
    font-size: 0.88rem;
    color: var(--accent-green);
    font-weight: 600;
}

.price-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.price-benefits li {
    font-size: 0.88rem;
    padding: 3px 0;
    color: var(--text-primary);
}

.price-note {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Final CTA --- */
.lp-final-cta {
    padding: 70px 0;
    background: var(--bg-white) !important;
}

.final-cta-box {
    text-align: center;
    padding: 50px 28px;
    background: linear-gradient(135deg, var(--primary-pale), #FFF5F0);
    border: 1px solid rgba(232, 120, 111, 0.15);
    border-radius: var(--radius-xl);
}

.final-cta-box-water {
    background: linear-gradient(135deg, var(--water-blue-pale), #F0F7FF);
    border-color: rgba(91, 155, 213, 0.15);
}

.final-cta-box h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.final-cta-box p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.price-badge-final {
    margin-bottom: 24px;
}

.cta-subtext {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
