/* --- Section 6: Pricing (Liquid Fill) --- */
#section_6 {
    padding: 120px 5%;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec6-title-area {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

.sec6-title-area h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.sec6-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.sec6-price-card {
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sec6-price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.sec6-card-content {
    position: relative;
    z-index: 10;
    padding: 60px 40px;
    color: var(--text);
    transition: color 0.5s ease;
}

.sec6-plan-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
}

.sec6-price-box {
    text-align: center;
    margin-bottom: 5px;
}

.sec6-currency {
    font-size: 1.5rem;
    font-weight: 900;
}

.sec6-price {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 5px;
}

.sec6-billing {
    font-size: 1rem;
    opacity: 0.8;
}

.sec6-tax {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 30px;
}

.sec6-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sec6-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 700;
}

.sec6-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--primary);
    transition: stroke 0.5s ease;
}

/* Liquid Animation */
.sec6-liquid-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 1;
    transition: height 1.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Wave (Black gap fixed) */
.sec6-wave-svg {
    position: absolute;
    top: -38px;
    left: 0;
    width: 200%;
    height: 40px;
    fill: inherit;
    animation: sec6-wave-flow 3s linear infinite;
}

@keyframes sec6-wave-flow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll Active State (満たされた状態) */
.sec6-price-card.active .sec6-liquid-container {
    height: 100%;
}

.sec6-price-card.active .sec6-card-content {
    color: #fff;
}

.sec6-price-card.active .sec6-features li svg {
    stroke: #fff;
}

/* Refreshing Harmony Colors */
.sec6-price-card.basic .sec6-liquid-container {
    background: #89B5F5;
    fill: #89B5F5;
}
.sec6-price-card.lite .sec6-liquid-container {
    background: #438AF2;
    fill: #438AF2;
}
.sec6-price-card.pro .sec6-liquid-container {
    background: #0055B3;
    fill: #0055B3;
}
