/* Highlight Features Section - Unique CSS */
.highlight-features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.highlight-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 103, 84, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.highlight-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Section Header */
.highlight-features-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: highlightFadeInUp 0.8s ease forwards;
}

.highlight-features-main-title {
    font-family: 'DegularVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
}

.highlight-features-main-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Items Container */
.highlight-features-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* Individual Feature Item */
.highlight-feature-card {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    position: relative;
}

.highlight-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternate Layout - Even items have reversed layout */
.highlight-feature-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Feature Content Area */
.highlight-feature-content {
    flex: 1;
    z-index: 2;
}

.highlight-feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6754, #ff8a80);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255, 103, 84, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-feature-heading {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.highlight-feature-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

.highlight-feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.highlight-feature-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #475569;
}

.highlight-feature-benefits li::before {
    content: '✓';
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.highlight-feature-action {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.highlight-feature-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(124, 58, 237, 0.4);
    color: white;
    text-decoration: none;
}

.highlight-feature-action-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.highlight-feature-action:hover .highlight-feature-action-icon {
    transform: translateX(4px);
}

/* Feature Image Area */
.highlight-feature-visual {
    flex: 1;
    position: relative;
}

/* Background Geometric Shapes */
.highlight-feature-visual::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
    border-radius: 50%;
    z-index: 0;
    animation: highlightFloat 6s ease-in-out infinite;
}

.highlight-feature-visual::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 103, 84, 0.15), rgba(255, 103, 84, 0.08));
    border-radius: 20px;
    transform: rotate(45deg);
    z-index: 0;
    animation: highlightFloat 6s ease-in-out infinite 2s;
}

/* Additional geometric shapes for visual interest */
.highlight-feature-visual .geo-shape-1 {
    position: absolute;
    top: 20%;
    right: -25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
    border-radius: 50% 10px 50% 10px;
    z-index: 0;
    animation: highlightPulse 4s ease-in-out infinite;
}

.highlight-feature-visual .geo-shape-2 {
    position: absolute;
    bottom: 30%;
    left: -20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.08));
    border-radius: 0 50% 0 50%;
    transform: rotate(45deg);
    z-index: 0;
    animation: highlightFloat 5s ease-in-out infinite 1s;
}

.highlight-feature-visual .geo-shape-3 {
    position: absolute;
    top: 60%;
    right: 15%;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(236, 72, 153, 0.06));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 0;
    animation: highlightPulse 3s ease-in-out infinite 1.5s;
}

.highlight-feature-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.6s ease;
    z-index: 2;
}

.highlight-feature-card:hover .highlight-feature-image-wrapper {
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.2);
}

.highlight-feature-card:nth-child(even):hover .highlight-feature-image-wrapper {
    transform: perspective(1000px) rotateY(3deg) rotateX(2deg);
}

.highlight-feature-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(255, 103, 84, 0.1));
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-feature-card:hover .highlight-feature-image-wrapper::before {
    opacity: 1;
}

.highlight-feature-media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Specific styling for GIF images to make them proportionally smaller */
.highlight-feature-media[src*=".gif"] {
    width: 60%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* Alternative: Target the QR Code feature specifically (Feature 5) */
.highlight-feature-card:nth-child(5) .highlight-feature-media {
    width: 55%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/* Decorative Corner Dots - Updated for better integration */
.highlight-feature-image-wrapper::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff6754, #ff8a80);
    border-radius: 50%;
    z-index: 4;
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(255, 103, 84, 0.3);
}

.highlight-feature-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    z-index: 4;
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Different geometric patterns for even-numbered features */
.highlight-feature-card:nth-child(even) .highlight-feature-visual::before {
    left: -40px;
    right: auto;
    top: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 103, 84, 0.12), rgba(255, 103, 84, 0.06));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.highlight-feature-card:nth-child(even) .highlight-feature-visual::after {
    right: -30px;
    left: auto;
    bottom: -30px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.08));
    border-radius: 50%;
    transform: none;
}

.highlight-feature-card:nth-child(even) .highlight-feature-visual .geo-shape-1 {
    left: -25px;
    right: auto;
    top: 30%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06));
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.highlight-feature-card:nth-child(even) .highlight-feature-visual .geo-shape-2 {
    right: -20px;
    left: auto;
    bottom: 20%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    transform: rotate(0deg);
    width: 45px;
    height: 45px;
}

.highlight-feature-card:nth-child(even) .highlight-feature-visual .geo-shape-3 {
    left: 10%;
    right: auto;
    top: 70%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(236, 72, 153, 0.06));
    border-radius: 50% 10px 50% 10px;
    clip-path: none;
    width: 35px;
    height: 35px;
}

/* Final CTA Section */
.highlight-features-final-cta {
    margin-top: 100px;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 24px;
    color: white;
}

.highlight-features-final-cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.highlight-features-final-cta p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.highlight-features-final-action {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff6754, #ff8a80);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 103, 84, 0.4);
}

.highlight-features-final-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 103, 84, 0.5);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .highlight-features-section {
        padding: 80px 0;
    }
    
    .highlight-features-list {
        gap: 80px;
    }
    
    .highlight-feature-card {
        gap: 40px;
    }
    
    .highlight-feature-heading {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .highlight-features-main-title {
        font-size: 2.5rem;
    }
    
    .highlight-feature-card,
    .highlight-feature-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .highlight-feature-heading {
        font-size: 2rem;
    }
    
    .highlight-feature-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .highlight-feature-card:hover .highlight-feature-image-wrapper,
    .highlight-feature-card:nth-child(even):hover .highlight-feature-image-wrapper {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    }
    
    .highlight-features-list {
        gap: 60px;
    }
    
    /* Reduce geometric shapes on mobile */
    .highlight-feature-visual::before,
    .highlight-feature-visual::after {
        width: 60px;
        height: 60px;
        opacity: 0.6;
    }
    
    .highlight-feature-visual .geo-shape-1,
    .highlight-feature-visual .geo-shape-2,
    .highlight-feature-visual .geo-shape-3 {
        width: 25px;
        height: 25px;
        opacity: 0.7;
    }
    
    .highlight-feature-image-wrapper::after,
    .highlight-feature-image-wrapper::before {
        width: 16px;
        height: 16px;
        top: -12px;
        bottom: -12px;
        left: -12px;
        right: -12px;
    }
}

@media (max-width: 480px) {
    .highlight-features-section {
        padding: 60px 0;
    }
    
    .highlight-features-header {
        margin-bottom: 50px;
    }
    
    .highlight-features-main-title {
        font-size: 2rem;
    }
    
    .highlight-feature-heading {
        font-size: 1.75rem;
    }
    
    .highlight-feature-visual {
        max-width: 300px;
    }
    
    .highlight-features-final-cta {
        padding: 40px 20px;
        margin-top: 60px;
    }
    
    .highlight-features-final-cta h3 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes highlightFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes highlightFloatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes highlightFloatInReduced {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes highlightFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes highlightPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}
