/* ========================================
   COMSCAN LANDING PAGE STYLES
   ======================================== */

/* Hero Section */
.comscan-hero-section {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(230, 230, 230, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 230, 230, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 5rem 0;
    font-family: 'Lato', sans-serif;
    position: relative;
    overflow: hidden;
}

.comscan-hero-section .container {
    position: relative;
    z-index: 10;
}

/* Make grid more visible in center content area */
.comscan-hero-section .row>div {
    background-image:
        linear-gradient(rgba(220, 220, 220, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 220, 220, 0.4) 1px, transparent 1px);
    background-size: 30px 30px;
    padding: 2rem;
}

/* Soft Skills Tag */
.soft-skills-tag {
    display: inline-block;
    background: #6AC6AA80;
    color: #0A5D44;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    vertical-align: middle;
    margin: 0 auto;
}

/* Hero Title */
.comscan-hero-title {
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #122D60;
    margin-bottom: 1.5rem;
}

/* Confidence Underline Effect */
.confidence-underline {
    position: relative;
    display: inline-block;
}

.confidence-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    right: -10px;
    height: 8px;
    background-color: #F9B224;
    z-index: -1;
}

/* Hero Description */
.comscan-hero-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    color: #555555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* CTA Button */
.comscan-cta-btn {
    display: inline-block;
    background-color: #dc3545;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 30px;
    font-family: 'Pragmatica Extended', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 25.94px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comscan-cta-btn:hover {
    background-color: #C0392B;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Features List */
.comscan-features {
    margin-top: 2rem;
}

.feature-item {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #555555;
}

.feature-check-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(28%) sepia(91%) saturate(1769%) hue-rotate(336deg) brightness(92%) contrast(88%);
}

.feature-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0%;
}

/* Floating SVG Icons Around Content */
.hero-icon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-icon {
    position: absolute;
    z-index: 5;
}

.hero-svg-icon {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(249, 178, 36, 0.3));
}

/* Icon Positions - Corners Around Content */
/* Top Left - Circle stays fixed, arrow animates */
.hero-icon-top-left {
    top: 5%;
    left: 5%;
    position: absolute;
}

.hero-icon-top-left .hero-svg-arrow {
    position: absolute;
    top: 0;
    left: 15px;
    width: 100px;
    height: auto;
}

.hero-arrow-animated {
    animation: slideRightArrow 3s ease-in-out infinite;
}

/* Top Right - Fixed (no animation) */
.hero-icon-top-right {
    top: 5%;
    right: 5%;
}

/* Bottom Left - Fixed (no animation) */
.hero-icon-bottom-left {
    bottom: -10%;
    left: 10%;
}

/* Bottom Right - Circle stays fixed, arrow animates to the left */
.hero-icon-bottom-right {
    bottom: -10%;
    right: 10%;
    position: absolute;
}

.hero-icon-bottom-right .hero-svg-arrow {
    position: absolute;
    top: 0;
    right: 15px;
    width: 100px;
    height: auto;
}

.hero-arrow-bottom-animated {
    animation: slideLeftArrow 3s ease-in-out infinite;
}

/* Animation: Slide Right Arrow (for top-left arrow only) */
@keyframes slideRightArrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }
}

/* Animation: Slide Left Arrow (for bottom-right arrow only) */
@keyframes slideLeftArrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-20px);
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {

    .hero-svg-icon,
    .hero-svg-arrow {
        width: 90px;
    }

    .hero-icon-top-left,
    .hero-icon-bottom-left {
        left: 2%;
    }

    .hero-icon-top-right,
    .hero-icon-bottom-right {
        right: 2%;
    }
}

@media (max-width: 992px) {
    .comscan-hero-title {
        font-size: 36px;
    }

    .hero-svg-icon,
    .hero-svg-arrow {
        width: 70px;
    }

    .hero-icon-top-left {
        top: 3%;
        left: 1%;
    }

    .hero-icon-top-right {
        top: 3%;
        right: 1%;
    }

    .hero-icon-bottom-left {
        bottom: 8%;
        left: 1%;
    }

    .hero-icon-bottom-right {
        bottom: 8%;
        right: 1%;
    }
}

@media (max-width: 768px) {
    .comscan-hero-section {
        padding: 3rem 0;
    }

    .comscan-hero-title {
        font-size: 28px;
    }

    .comscan-hero-description {
        font-size: 16px;
    }

    /* Hide floating icons on mobile */
    .hero-icon {
        display: none;
    }

    .comscan-features {
        justify-content: center;
        gap: 1rem !important;
    }
}

@media (max-width: 576px) {
    .comscan-hero-title {
        font-size: 24px;
        line-height: 110%;
    }

    .comscan-cta-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Optimized for smartphones (max-width: 428px) */
@media (max-width: 428px) {
    .comscan-hero-section {
        padding: 2rem 0;
        background-size: 20px 20px;
    }

    .comscan-hero-section .row>div {
        padding: 1.5rem 1rem;
    }

    .soft-skills-tag {
        font-size: 10px;
        padding: 6px 16px;
        margin-bottom: 1rem;
    }

    .comscan-hero-title {
        font-size: 20px;
        line-height: 180%;
        margin-bottom: 1rem;
    }

    .confidence-underline::after {
        height: 6px;
        bottom: -3px;
    }

    .comscan-hero-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .comscan-cta-btn {
        padding: 8px 15px;
        font-size: 12px;
        margin-bottom: 1.5rem;
    }

    .comscan-features {
        margin-top: 1rem;
        gap: 0.75rem !important;
    }

    .feature-item {
        font-size: 12px;
    }

    .feature-check-icon {
        width: 14px;
        height: 14px;
    }
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.comscan-how-it-works-section {
    background-color: #66C2A5;
    padding: 4rem 0;
    color: #FFFFFF !important;
    font-family: 'Lato', sans-serif;
}

.comscan-how-it-works-section p,
.comscan-how-it-works-section h3 {
    color: #FFFFFF !important;
}

.comscan-how-it-works-title {
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #FFFFFF !important;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.comscan-how-it-works-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 3rem;
}

/* Step Columns - Three Equal Columns with Dividers */
.comscan-step-column {
    position: relative;
    padding: 0 2rem;
}

.comscan-step-column.has-border::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.comscan-step-card {
    background: transparent;
    padding: 0;
    height: 100%;
}

/* Step Number Circle */
.comscan-step-number {
    width: 40px;
    height: 40px;
    background: #65bea7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.comscan-step-number-text {
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
}

/* Step Content */
.comscan-step-title {
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.comscan-step-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -5%;
    color: #FFFFFF;
}

/* Register Button in How It Works Section */
.comscan-register-btn {
    display: inline-block;
    background-color: #122D60;
    color: #ffffff !important;
    padding: 8px 15px;
    border-radius: 30px;
    font-family: 'Pragmatica Extended', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 25.94px !important;
    letter-spacing: 0% !important;
    text-align: center !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.comscan-register-btn:hover {
    background-color: #0d1f44;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Responsive Adjustments for How It Works */
@media (max-width: 992px) {
    .comscan-how-it-works-title {
        font-size: 32px;
    }

    .comscan-step-column.has-border::after {
        display: none;
    }

    .comscan-step-column {
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .comscan-step-column:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .comscan-how-it-works-section {
        padding: 3rem 0;
    }

    .comscan-how-it-works-title {
        font-size: 28px;
    }

    .comscan-how-it-works-description {
        font-size: 16px;
        margin-bottom: 2rem;
    }

    .comscan-step-number {
        width: 50px;
        height: 50px;
    }

    .comscan-step-number-text {
        font-size: 24px;
    }

    .comscan-step-title {
        font-size: 20px;
    }

    .comscan-step-description {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .comscan-how-it-works-title {
        font-size: 24px;
    }

    .comscan-how-it-works-description {
        font-size: 14px;
    }

    .comscan-register-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 428px) {
    .comscan-how-it-works-section {
        padding: 2rem 0;
    }

    .comscan-how-it-works-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .comscan-how-it-works-description {
        font-size: 13px;
        margin-bottom: 1.5rem;
    }

    .comscan-step-column {
        padding: 1.5rem 0;
    }

    .comscan-step-number {
        width: 45px;
        height: 45px;
    }

    .comscan-step-number-text {
        font-size: 20px;
    }

    .comscan-step-title {
        font-size: 18px;
        margin-bottom: 0.75rem;
    }

    .comscan-step-description {
        font-size: 14px;
    }

    .comscan-register-btn {
        padding: 8px 15px;
        font-size: 12px;
        margin-top: 1.5rem;
    }
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.comscan-benefits-section {
    background-color: #ffffff;
    padding: 4rem 0;
    font-family: 'Lato', sans-serif;
}

.comscan-benefits-title {
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    color: #122D60;
    text-align: left;
    margin-bottom: 1rem;
}

.comscan-benefits-intro {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #555555;
    margin-bottom: 3rem;
}

.benefit-item {
    margin-bottom: 4rem;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
}

.benefit-icon-wrapper {
    margin-bottom: 1.5rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
}

.benefit-title {
    font-family: 'Pragmatica Extended', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #122D60;
    margin-bottom: 1rem;
}

.benefit-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0%;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comscan-benefits-section {
        padding: 3rem 0;
    }

    .comscan-benefits-title {
        font-size: 28px;
    }

    .benefit-item {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .comscan-benefits-title {
        font-size: 24px;
    }

    .comscan-benefits-intro {
        font-size: 14px;
    }

    .benefit-title {
        font-size: 18px;
    }

    .benefit-description {
        font-size: 14px;
    }
}

/* ========================================
   WATCH DEMO SECTION
   ======================================== */

.comscan-demo-section {
    background-color: #ffffff;
    font-family: 'Lato', sans-serif;
}


/* Video Wrapper */
.comscan-video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Video Frame Container - Same as feedback section */
.comscan-video-wrapper .video-frame-container {
    width: 100%;
    height: 415px;
    position: relative;
    overflow: hidden;
}

.comscan-video-wrapper .video-frame-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.comscan-video-wrapper .video-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.comscan-video-wrapper .video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 1;
    display: block;
}

.comscan-video-wrapper .video-poster.hidden {
    opacity: 0;
    visibility: hidden;
}

.comscan-video-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    z-index: 2;
}

.comscan-video-wrapper .play-btn i {
    font-size: 20px;
}

.comscan-video-wrapper .play-btn.hidden {
    opacity: 0;
    visibility: hidden;
}

.comscan-video-wrapper .video-loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #dc3340;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    display: none;
    z-index: 3;
}

.comscan-video-wrapper .video-loader.show {
    display: block;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .comscan-demo-section {
        padding: 4rem 0;
    }

    .comscan-video-wrapper .video-frame-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .comscan-demo-section {
        padding: 3rem 0;
    }

    .comscan-video-wrapper .video-frame-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .comscan-video-wrapper .video-frame-container {
        height: 250px;
    }
}

@media (max-width: 428px) {
    .comscan-demo-section {
        padding: 2rem 0;
    }

    .comscan-video-wrapper .video-frame-container {
        height: 220px;
    }
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.comscan-products-section {
    background-color: #ffffff;
    padding: 4rem 0;
    font-family: 'Lato', sans-serif;
}

.comscan-upload-button-wrapper {
    display: inline-block;
    margin: 0 10px;
}

.comscan-upload-button-wrapper .comscan-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    min-width: 300px;
    justify-content: space-between;
}

.comscan-button-price {
    font-family: 'Pragmatica Extended', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #ffffff !important;
    margin-left: auto;
}

.comscan-button-price .woocommerce-Price-amount {
    font-family: 'Pragmatica Extended', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #ffffff !important;
}

/* Responsive adjustments for products */
@media (max-width: 768px) {
    .comscan-products-section {
        padding: 3rem 0;
    }

    .comscan-upload-button-wrapper {
        display: block;
        margin: 0 0 15px 0;
    }

    .comscan-upload-button-wrapper .comscan-cta-btn {
        width: 100%;
        min-width: auto;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .comscan-products-section {
        padding: 2rem 0;
    }

    .comscan-upload-button-wrapper .comscan-cta-btn {
        padding: 10px 20px;
        font-size: 14px !important;
        flex-direction: column;
        gap: 8px;
    }

    .comscan-button-price {
        font-size: 16px !important;
        margin-left: 0;
        color: #ffffff !important;
    }

    .comscan-button-price .woocommerce-Price-amount.amount {
        color: #ffffff !important;
    }
}