.patent-hero {
    padding: 60px 0;
    background: #f8f9fa; /* update with theme's main hero color later if needed */
    overflow: hidden;
}
.patent-hero__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.patent-hero__content {
    flex: 1 1 500px;
}
.patent-hero__app-title {
    font-size: 16px;
    color: #4a90e2;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.patent-hero__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}
.patent-hero__subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}
.patent-hero__qr-block {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 450px;
}
.patent-hero__qr-block picture,
.patent-hero__qr-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    object-fit: cover;
    object-position: left center;
}
.patent-hero__qr-img {
    background: #eee; /* placeholder */
    border-radius: 8px;
}
.patent-hero__qr-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.patent-hero__mobile-btn {
    display: none;
}
.patent-hero__mobile-btn .btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #FF0000; /* Redesign main color is typically Red or Blue? The main-redesign.css has a red theme, but here app-title is #4a90e2. Let's use #E31E24 which is rosmigrant brand red usually, but let's just make it #4a90e2 to match the title or default to generic rosmigrant red #E31E24. Actually, checking RKL's button, RKL doesn't have a button. Let's use rosmigrant red: #e30613 or #2762EC. I'll use #E30613 */
    background: #E30613; /* Assuming brand red */
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.patent-hero__mockups {
    flex: 1 1 400px;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
}
.patent-hero__mockup-1, .patent-hero__mockup-2 {
    width: 250px;
    height: auto;
    background: #ddd; /* placeholder */
    border-radius: 30px;
    border: 8px solid #3D3D3D;
    position: absolute;
    overflow: hidden;
}

.patent-hero__mockup-img {
    width: 100%;
    height: auto;
    display: block;
}
.patent-hero__mockup-1 {
    left: 10%;
    z-index: 2;
}
.patent-hero__mockup-2 {
    right: 10%;
    top: 40px;
    width: 238px;
    z-index: 1;
}

/* Steps */
.patent-steps {
    padding: 80px 0;
}
.patent-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}
.patent-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.patent-step-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
}
.patent-step-card__img {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    display: flex; align-items: flex-end; justify-content: center;
    background-color: #f0f6ff;
    background-image: radial-gradient(circle, #d2e4fc 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.patent-step-card__img::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.12) 0%, rgba(74, 144, 226, 0) 65%);
    z-index: 0;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.9;
}
.patent-step-card:hover .patent-step-card__img::before {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
}
.patent-step-card__img::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
    z-index: 2;
    pointer-events: none;
}
.patent-step-card__img img {
    height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom;
    position: relative; z-index: 1;
    transform-origin: bottom center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.patent-step-card:hover .patent-step-card__img img {
    transform: scale(1.05);
}
.patent-step-card__text {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    flex-grow: 1;
}

/* FAQ */
.patent-faq {
    padding: 60px 0 100px;
    background: #f8f9fa;
}
.patent-faq__list {
    max-width: 800px;
    margin: 0 auto;
}
.patent-faq-item {
    background: #fff;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.patent-faq-item summary {
    font-size: 18px;
    font-weight: 600;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    color: #333;
}
.patent-faq-item summary::-webkit-details-marker {
    display: none;
}
.patent-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: #4a90e2;
}
.patent-faq-item[open] summary::after {
    content: '−';
}
.patent-faq-item__content {
    padding: 0 24px 24px;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}
.patent-faq-item__content h3, 
.patent-faq-item__content h4 {
    margin: 16px 0 8px;
    color: #333;
    font-size: 18px;
}
.patent-faq-item__content ul, 
.patent-faq-item__content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}
.patent-faq-item__content p {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .patent-hero__qr-block {
        display: none;
    }
    
    .patent-hero__mobile-btn {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 100;
    }

    .patent-hero__title {
        font-size: 32px;
    }
    .patent-hero__mockups {
        height: 400px;
    }
    .patent-hero__mockup-1, .patent-hero__mockup-2 {
        width: 200px;
        height: 400px;
    }
    .patent-section-title {
        font-size: 26px;
    }
}
