/* ============================================
   PLAMERE PLASMA PEN PAGE STYLES
   ============================================ */

/* Hero Cover Section */
.procedure-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 3rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

/* Hero Device Image - Right Side */
.hero-device-image {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    animation: fadeInRight 1s ease-out;
}

.hero-device-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
    padding: 4.5rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.pen-title {
    font-size: 1.6rem;
    color: white;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    text-align: left;
}

/* ============================================
   INTRODUCTION SECTION
   ============================================ */

.introduction-section {
    padding: 4.5rem 3rem;
    background: #fff;
}

.introduction-section .container {
    max-width: 1400px;
    margin: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 15px;
}

/* Non-reversed: card is left, image is right */
.benefits-grid-image {
    position: relative;
    overflow: hidden;
    min-height: 500px
}

.benefits-grid-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.benefit-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 2.5rem 2.5rem;
    border-radius: 15px 0 0 15px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    transition: all 0.3s ease;
    align-self: start;
    height: 100%;
}

.benefit-text-block p {
    font-size: 1.05rem;
    color: white;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   PROCEDURE SECTION (Body & Face Benefits)
   ============================================ */

.procedure-section {
    padding: 4.5rem 3rem;
    background: #f8f9fa;
}

.procedure-section .container {
    max-width: 1400px;
    margin: auto;
}

.step-title {
    font-size: 1.5rem;
    color: #b4944d;
    font-weight: 700;
    margin: 0;
}

/* ============================================
   PLASMA PEN PAGE - SPECIFIC STYLES
   ============================================ */

/* Reversed benefits grid: image left, card right */
.benefits-grid.reverse {
    grid-template-columns: 55% 45%;
}

.benefits-grid.reverse > .benefits-grid-image {
    order: 1;
    overflow: hidden;
}

.benefits-grid.reverse > .benefit-card {
    order: 2;
    border-radius: 0 15px 15px 0;
}

/* Body benefits section - alternate background */
.body-benefits-section {
    padding: 4.5rem 3rem;
    background: #f8f9fa;
}

.body-benefits-section .container {
    max-width: 1400px;
    margin: auto;
}

.body-benefits-section .benefits-grid {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.body-benefits-section .benefit-card {
    justify-content: center;
}

/* Plasma Fusion Card */
.plasma-fusion-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.plasma-fusion-header {
    text-align: center;
    padding: 2.5rem 3rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.plasma-fusion-header .step-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.plasma-fusion-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin: 0;
}

.plasma-fusion-benefits {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.plasma-fusion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease;
}

.plasma-fusion-item:last-child {
    border-right: none;
}

.plasma-fusion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.plasma-fusion-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 255, 255, 0.95);
    color: #b4944d;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.plasma-fusion-item span {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .plasma-fusion-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .plasma-fusion-item:nth-child(3) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    
    .pen-title {
        font-size: 1.5rem;
    }
    
    .plasma-fusion-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .plasma-fusion-item {
        border-right: 1px solid rgba(255, 255, 255, 0.25);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .plasma-fusion-item:nth-child(2n) {
        border-right: none;
    }

    .plasma-fusion-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .plasma-fusion-header {
        padding: 2rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    
    .plasma-fusion-benefits {
        grid-template-columns: 1fr;
    }

    .plasma-fusion-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        flex-direction: row;
        text-align: left;
        padding: 1.25rem 1.5rem;
    }

    .plasma-fusion-item:last-child {
        border-bottom: none;
    }
}

/* ============================================
   BULLET POINTS / LIST ITEMS
   ============================================ */

.benefit-list-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
}

.benefit-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.benefit-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.benefit-list-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #b4944d;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
    flex-shrink: 0;
}

.benefit-list-item span {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================
   RESPONSIVE DESIGN 
   ============================================ */

@media (max-width: 950px) {
    /* Hero Section */
    .procedure-hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content-wrapper {
        padding: 2.5rem 3rem;
    }

    .hero-device-image {
        right: 1rem;
        max-width: 350px;
    }

    /* Body benefits section */
    .body-benefits-section {
        padding: 3rem 1.5rem;
    }

    /* Stack all grid variants — image always on top */
    .benefits-grid,
    .benefits-grid.reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .benefits-grid > .benefits-grid-image,
    .benefits-grid.reverse > .benefits-grid-image {
        order: 1;
        width: 100%;
        max-width: 100%;
        min-height: 500px;
        border-radius: 15px 15px 0 0;
    }

    .benefit-card,
    .benefits-grid.reverse > .benefit-card {
        order: 2;
        border-radius: 0 0 15px 15px;
        min-height: auto;
        padding: 2.5rem 2rem;
    }

    .benefit-list-item {
        padding: 0.9rem 1.1rem;
    }

    .benefit-list-item span {
        font-size: 0.95rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Hero Section */
    .procedure-hero {
        height: 60vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-cover-image img {
        object-position: center 30%;
    }

    .hero-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .hero-device-image {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        max-width: 160px;
    }

    /* Title Section */
    .title-section {
        padding: 4rem 2rem;
    }

    /* Benefits Section - Mobile Optimized */
    .introduction-section,
    .procedure-section {
        padding: 4rem 1.5rem;
    }

    .benefits-grid,
    .benefits-grid.reverse {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0;
        min-height: auto;
    }

    .benefits-grid > .benefits-grid-image,
    .benefits-grid.reverse > .benefits-grid-image {
        order: 1;
        width: 100%;
        min-height: 300px;
        max-height: 400px;
        border-radius: 15px 15px 0 0;
    }

    .benefit-card,
    .benefits-grid.reverse > .benefit-card {
        order: 2;
        border-radius: 0 0 15px 15px;
        padding: 2rem 1.5rem;
        min-height: auto;
        gap: 1.5rem;
    }

    .benefit-text-block p {
        font-size: 0.95rem;
    }

    /* Improved Bullet Points for Mobile */
    .benefit-list-items {
        gap: 0.6rem;
    }

    .benefit-list-item {
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }

    .benefit-list-item::before {
        min-width: 22px;
        width: 22px;
        height: 22px;
        font-size: 0.85rem;
    }

    .benefit-list-item span {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .step-title {
        font-size: 1.3rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 468px) {
    /* Hero Section */
    .procedure-hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-content-wrapper {
        padding: 1.5rem 1rem;
    }

    .hero-device-image {
        right: 1rem;
        max-width: 120px;
    }

    /* Title Section */
    .title-section {
        padding: 3rem 1.5rem;
    }
    
    .pen-title {
        font-size: 1.3rem;
    }

    /* Benefits Section - Small Mobile */
    .introduction-section,
    .procedure-section {
        padding: 3rem 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .benefits-grid > .benefits-grid-image {
        width: 100%;
        max-width: 100%;
        min-height: 250px;
        max-height: 350px;
    }

    .benefit-card,
    .procedure-card {
        padding: 1.75rem 1.25rem;
        gap: 1.25rem;
    }

    .benefit-text-block p {
        font-size: 0.9rem;
    }

    /* Compact Bullet Points for Small Mobile */
    .benefit-list-items {
        gap: 0.5rem;
    }

    .benefit-list-item {
        display: flex;
        align-items: flex-start;
        padding: 0.75rem 0.85rem;
        gap: 0.75rem;
    }

    .benefit-list-item::before {
        min-width: 22px;
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .benefit-list-item span {
        font-size: 0.88rem;
        line-height: 1.5;
        flex: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .step-title {
        font-size: 1.2rem;
    }
    
    .plasma-fusion-item {
        display: flex;
        justify-content: left;
        align-items: left;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX FOR MOBILE
   ============================================ */

@media (max-width: 968px) and (orientation: landscape) {
    
    .procedure-hero {
        height: 70vh;
        min-height: 400px;
        max-height: 500px;
    }

    .hero-content-wrapper {
        padding: 2rem;
    }

    .hero-device-image {
        right: 2rem;
        max-width: 180px;
    }

    /* Benefits Section Landscape */
    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-list-item {
        padding: 0.7rem 0.9rem;
    }
}