/* ============================================
   DERMA CLEAR PAGE STYLES - IMPROVED
   ============================================ */

/* 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 Brand Logo - Top Left */
.hero-brand-logo {
    position: absolute;
    top: 3rem;
    left: 5rem;
    max-width: 320px;
    animation: fadeInLeft 1s ease-out;
}

.hero-brand-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

/* 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 fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ============================================
   TITLE SECTION
   ============================================ */

.title-section {
    padding: 4rem 3rem;
    background: #fff;
    text-align: center;
}

.title-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   QUICK INFO SECTION
   ============================================ */

.quick-info {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 0.1rem;
    margin: 0 auto;
}

.quick-info .container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
}

.info-card {
    background: transparent;
    padding: 1.5rem 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    flex: 1;
}

/* ============================================
   BENEFITS SECTION - IMPROVED
   ============================================ */

.benefits-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
    position: relative;
}

.benefits-section:nth-of-type(even) {
    background: #fff;
}

.benefits-section .container {
    max-width: 1400px;
    margin: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.benefits-grid > img {
    width: 90%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefits-grid > img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.benefit-card {
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
        min-height: 400px;
    max-height: 600px;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(201, 169, 97, 0.35);
}

/* Text-block variant inside benefit-card */
.benefit-text-block {
    position: relative;
    z-index: 1;
}

.benefit-text-block p {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
}

.benefit-text-block p:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Reversed layout: list left, image right */
.benefits-grid--reversed {
    grid-template-columns: 1fr 1fr;
}

.benefits-grid--reversed .benefit-card {
    order: -1;
}

/* List-style benefit card - IMPROVED */
.benefit-card--list {
    padding: 3.5rem 3rem;
    gap: 2rem;
}

.benefit-list-intro {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    line-height: 1.7;
    margin: 0 0 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.benefit-list-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.benefit-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.benefit-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.benefit-list-item::before {
    content: "";
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

/* Checkmark variant for benefits */
.benefit-list-item--checkmark::before {
    content: "✓";
    width: auto;
    height: auto;
    min-width: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
}

.benefit-list-item span {
    font-size: 1.05rem;
    color: white;
    font-weight: 500;
    line-height: 1.6;
}

/* ============================================
   APPLICATIONS SECTION - IMPROVED
   ============================================ */

.applications-section {
    padding: 5rem 3rem;
    background: #fff;
}

.applications-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.applications-description {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 3rem;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.applications-description p {
    margin-bottom: 1.5rem;
}

.applications-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.applications-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 0;
}

.applications-benefit-item {
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.applications-benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.applications-benefit-item span {
    display: block;
    font-size: 1.05rem;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 500;
}

.applications-section img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   PROCESS SECTION (3 STEPS) - IMPROVED
   ============================================ */

.process-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
}

.process-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-steps--three {
    grid-template-columns: repeat(3, 1fr);
}

.step {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #c9a961;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c9a961 0%, #b4944d 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 1.5rem 0;
    transition: transform 0.3s ease;
}

.step:hover img {
    transform: scale(1.05);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c9a961;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 20px;
}

.step p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ============================================
   TECHNOLOGY SECTION - IMPROVED
   ============================================ */

.technology-section {
    padding: 5rem 3rem;
    background: #fff;
}

.technology-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.tech-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.tech-inline-image {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 2rem;
}

.tech-block {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.tech-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-top-color: #b4944d;
}

.tech-block h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.tech-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Video styling inside Technology Section */
.tech-video {
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.tech-video iframe:hover {
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.25);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
    /* Hero Section */
    .hero-content-wrapper {
        padding: 2rem 3rem;
    }

    .hero-brand-logo {
        left: 3rem;
        max-width: 240px;
    }

    .hero-device-image {
        max-width: 350px;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 4rem 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid--reversed {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 3rem 2.5rem;
    }

    /* Applications Section */
    .applications-section {
        padding: 4rem 2rem;
    }

    .applications-content {
        gap: 2rem;
    }

    /* Technology Section */
    .technology-section {
        padding: 4rem 2rem;
    }

    .tech-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Process Steps */
    .process-section {
        padding: 4rem 2rem;
    }

    .process-steps--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .step:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   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-brand-logo {
        position: absolute;
        left: 1.5rem;
        top: 2rem;
        max-width: 140px;
    }

    .hero-device-image {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        max-width: 160px;
    }

    /* Title Section */
    .title-section {
        padding: 3rem 2rem;
    }

    /* Quick Info */
    .quick-info {
        padding: 3rem 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-card {
        padding: 1.2rem 1rem;
    }

    .info-card img {
        width: 60px;
    }

    .info-card h3 {
        font-size: 0.95rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 3rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid > img {
        min-height: 250px;
        max-height: 350px;
        margin: auto;
    }

    .benefit-card {
        padding: 2.5rem 1.75rem;
    }

    .benefit-card--list {
        padding: 2.5rem 1.75rem;
    }

    .benefit-list-intro {
        font-size: 1.1rem;
    }

    .benefit-list-item {
        padding: 0.85rem 1rem;
    }

    .benefit-list-item span {
        font-size: 0.95rem;
    }

    /* Applications Section */
    .applications-section {
        padding: 3rem 1.5rem;
    }

    .applications-description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .applications-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .applications-benefit-item {
        padding: 1.1rem 1.35rem;
    }

    .applications-benefit-item span {
        font-size: 0.95rem;
    }

    /* Technology Section */
    .technology-section {
        padding: 3rem 1.5rem;
    }

    .tech-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .tech-block {
        padding: 2rem 1.5rem;
    }

    .tech-block h3 {
        font-size: 1.3rem;
    }

    .tech-block p {
        font-size: 1rem;
    }

    .tech-video {
        margin-top: 3rem;
    }

    /* Process Section */
    .process-section {
        padding: 3rem 1.5rem;
    }

    .process-steps--three {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step {
        padding: 2rem 1.5rem;
    }

    .step:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .step img {
        max-width: 150px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    /* Hero Section */
    .procedure-hero {
        height: 50vh;
        min-height: 350px;
        max-height: 400px;
    }

    .hero-content-wrapper {
        padding: 1.5rem 1rem;
    }

    .hero-brand-logo {
        left: 1rem;
        top: 1.5rem;
        max-width: 110px;
    }

    .hero-device-image {
        right: 1rem;
        max-width: 120px;
    }

    /* Title Section */
    .title-section {
        padding: 2.5rem 1.5rem;
    }

    /* Quick Info */
    .quick-info {
        padding: 2.5rem 1rem;
    }

    .info-card {
        padding: 1rem 0.8rem;
        gap: 1rem;
    }

    .info-card img {
        width: 50px;
    }

    .info-card h3 {
        font-size: 0.9rem;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 2.5rem 1rem;
    }

    .benefits-grid {
        gap: 1rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .benefit-card--list {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .benefit-text-block p {
        font-size: 1rem;
    }

    .benefit-text-block p:first-child {
        font-size: 1.1rem;
    }

    .benefit-list-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .benefit-list-items {
        gap: 0.75rem;
    }

    .benefit-list-item {
        padding: 0.75rem 0.85rem;
    }

    .benefit-list-item span {
        font-size: 0.9rem;
    }

    /* Applications Section */
    .applications-section {
        padding: 2.5rem 1rem;
    }

    .applications-description {
        font-size: 1rem;
    }

    .applications-content {
        gap: 1.5rem;
    }

    .applications-benefits {
        gap: 0.85rem;
    }

    .applications-benefit-item {
        padding: 1rem 1.2rem;
    }

    .applications-benefit-item span {
        font-size: 0.9rem;
    }

    /* Technology Section */
    .technology-section {
        padding: 2.5rem 1rem;
    }

    .tech-content {
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .tech-block {
        padding: 1.75rem 1.25rem;
    }

    .tech-block h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .tech-block p {
        font-size: 0.95rem;
    }

    .tech-video {
        margin-top: 2.5rem;
    }

    /* Process Section */
    .process-section {
        padding: 2.5rem 1rem;
    }

    .process-steps {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .step {
        padding: 1.75rem 1.25rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .step-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .step img {
        max-width: 130px;
        margin: 1.25rem 0;
    }

    .step p {
        font-size: 0.95rem;
    }
}

/* ============================================
   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-brand-logo {
        left: 2rem;
        top: 2rem;
        max-width: 130px;
    }

    .hero-device-image {
        right: 2rem;
        max-width: 180px;
    }

}