.cosmetic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cosmetic-hero {
    background: linear-gradient(135deg, #0f1022 0%, #2c0f3a 55%, #430d35 100%);
    color: #fff;
    padding: 140px 0 90px;
}

.hero-copy .hero-path {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
}

.hero-copy .hero-path a {
    color: #f9c8ff;
}

.hero-copy h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-copy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.hero-highlights {
    margin: 1.4rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-highlights span {
    border-radius: 999px;
    border: 1px solid rgba(249, 200, 255, 0.5);
    padding: 0.35rem 1rem;
    font-size: 0.9rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.hero-metrics strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffd3ff;
}

.btn-primary {
    border: none;
    border-radius: 999px;
    background: linear-gradient(120deg, #ff98c9, #ffd1ff);
    color: #2c0f3a;
    padding: 0.9rem 2.4rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 152, 201, 0.35);
}

.hero-showcase {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.5rem;
}

.showcase-card.highlight {
    background: rgba(255, 152, 201, 0.15);
    border-color: rgba(255, 152, 201, 0.5);
}

.cosmetic-compliance {
    background: #faf7ff;
    padding: 80px 0;
}

.cosmetic-compliance h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #2c0f3a;
    margin-bottom: 2rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.compliance-grid article {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #f0d9ff;
    box-shadow: 0 12px 28px rgba(24, 7, 31, 0.08);
}

.cosmetic-flow {
    background: #fff;
    padding: 80px 0;
}

.cosmetic-flow h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #2c0f3a;
    margin-bottom: 2rem;
}

.flow-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.flow-cards article {
    border-radius: 18px;
    border: 1px dashed rgba(255, 152, 201, 0.6);
    background: #fff0f8;
    padding: 1.4rem;
}

.flow-cards .step {
    font-size: 0.85rem;
    color: #ff7ec0;
    letter-spacing: 0.1em;
}

.cosmetic-modules {
    background: #14061a;
    color: #fff;
    padding: 80px 0;
}

.cosmetic-modules h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.module-grid article {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    min-height: 180px;
}

.cosmetic-showcase {
    background: #fff;
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.scenario-grid article {
    border-radius: 16px;
    border: 1px solid #f2d9ff;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 28px rgba(23, 8, 33, 0.08);
}

.scenario-grid ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
    color: #5b4d6d;
}

.cosmetic-cta {
    background: linear-gradient(120deg, #2c0f3a, #56125c);
    color: #fff;
    padding: 70px 0;
}

.cosmetic-cta .cosmetic-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cta-list li {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.cta-list li::before {
    content: "✓";
    color: #ffd3ff;
    margin-right: 0.5rem;
}

.modal-qr img {
    width: 220px;
    border-radius: 10px;
    border: 3px solid rgba(255, 152, 201, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(120deg, #ff98c9, #ffd1ff);
    color: #2c0f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(43, 13, 51, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .cosmetic-cta .cosmetic-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-showcase,
    .compliance-grid,
    .flow-cards,
    .module-grid,
    .scenario-grid {
        grid-template-columns: 1fr;
    }
}

