/* ============================================
   ROLLSHAPE 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 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, 1));
}

.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));
}

@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: 3rem 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;
}

/* ============================================
   SHARED TYPOGRAPHY
   ============================================ */

.secondary-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION (text left, image right)
   ============================================ */

.about-section {
    padding: 5rem 3rem;
    background: #fff;
}

.about-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 4rem;
    align-items: center;
}

.about-content .secondary-title {
    margin-bottom: 1.8rem;
}

.about-content p {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    max-height: 750px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.2);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
}

.benefits-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-section .secondary-title {
    margin-bottom: 1rem;
}

.benefits-intro {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 820px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.benefits-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    margin: auto;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.25);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.benefits-list li {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    padding: 0.9rem 1rem 0.9rem 1.8rem;
    border-bottom: 1px solid #eee;
    position: relative;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.benefits-list li:nth-last-child(1),
.benefits-list li:nth-last-child(2) {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0.9rem;
    color: #c9a961;
    font-size: 0.75rem;
    font-weight: 700;
}

.benefits-list li:hover {
    color: #c9a961;
    padding-left: 2.2rem;
}

/* ============================================
   TECHNOLOGY / HOW IT WORKS SECTION
   ============================================ */

.technology-section {
    padding: 5rem 3rem;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.technology-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.technology-section .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.technology-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: white;
    border: 1px solid rgba(201, 169, 97, 0.18);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 97, 0.45);
}

.tech-card:hover::after {
    transform: scaleX(1);
}

.tech-icon {
    width: 52px;
    height: 52px;
    color: #c9a961;
    margin-bottom: 1.4rem;
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: black;
    margin: 0 0 0.9rem 0;
    line-height: 1.3;
}

.tech-card p {
    font-size: 0.92rem;
    color: black;
    line-height: 1.75;
    margin: 0;
}

/* ============================================
   PROCESS / VIDEO SECTION
   ============================================ */

.process-section {
    padding: 5rem 3rem;
    background: #fff;
}

.process-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-section .secondary-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.process-video {
    max-width: 1000px;
    margin: 0 auto;
}

.process-video iframe {
    width: 100%;
    height: 560px;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.process-video iframe:hover {
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.25);
    transform: translateY(-3px);
}

/* ============================================
   ============================================ */

@media (max-width: 1024px) {
    .procedure-hero {
        height: 70vh;
        max-height: 700px;
    }

    .hero-content-wrapper {
        padding: 2.5rem 3rem;
    }
    
    .hero-brand-logo {
        left: 3rem;
        max-width: 240px;
    }

    .hero-device-image {
        max-width: 320px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image img {
        max-height: 400px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .benefits-image img {
        aspect-ratio: 16 / 7;
    }

    .benefits-list {
        grid-template-columns: 1fr 1fr;
    }

    .process-video iframe {
        height: 450px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
    .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 {
        right: 1.5rem;
        max-width: 160px;
    }

    .title-section {
        padding: 4rem 2rem;
    }

    .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;
    }

    .technology-section {
        padding: 4rem 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-section {
        padding: 4rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-section {
        padding: 4rem 1.5rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefits-list li:nth-last-child(1),
    .benefits-list li:nth-last-child(2) {
        border-bottom: 1px solid #eee;
    }

    .benefits-list li:last-child {
        border-bottom: none;
    }

    .secondary-title {
        font-size: 1.7rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .process-section {
        padding: 4rem 1.5rem;
    }

    .process-video iframe {
        height: 350px;
    }

}

/* ============================================
   RESPONSIVE — SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
    .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 {
        padding: 3rem 1.5rem;
    }

    .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;
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .benefits-section {
        padding: 3rem 1rem;
    }

    .secondary-title {
        font-size: 1.5rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .benefits-list li {
        font-size: 0.95rem;
    }

    .process-section {
        padding: 3rem 1rem;
    }

    .process-video iframe {
        height: 250px;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX
   ============================================ */

@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;
    }
}