/* ========================================
   HOW THIS SITE WORKS - UNIQUE DESIGN
   ======================================== */

/* ===== VARIABLES ===== */
:root {
    --primary-red: #0d9488;
    --primary-dark: #c9171d;
    --navy: #171b2a;
    --navy-light: #252d42;
    --white: #ffffff;
    --gray-light: #f8f9fc;
}

/* ===== HERO - SPLIT SCREEN DESIGN ===== */
.how-hero-split {
    display: flex;
    align-items: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 50px 0 ;
}

.how-hero-split::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--primary-red);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.how-hero-split::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 47%;
    height: 100%;
    background: rgba(235, 32, 39, 0.3);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.hero-content-split {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(235, 32, 39, 0.2);
    border: 1px solid rgba(235, 32, 39, 0.4);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.hero-subtitle i {
    color: var(--primary-red);
    font-size: 16px;
}

.hero-subtitle span {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-main-title {
    font-size: 60px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-main-title .outline-text {
    -webkit-text-stroke: 2px var(--white);
    -webkit-text-fill-color: transparent;
}

.hero-main-title .red-text {
    color: var(--primary-red);
}

.hero-description-split {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(235, 32, 39, 0.4);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* Hero Right Side - Floating Cards */
.hero-visual-side {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.floating-process-card {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-process-card:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-process-card:nth-child(2) {
    top: 40%;
    right: 5%;
    animation-delay: 1s;
}

.floating-process-card:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.process-card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.process-card-text h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.process-card-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ===== HORIZONTAL SCROLL STEPS ===== */
.horizontal-steps-section {
    padding: 100px 0;
    background: var(--gray-light);
    overflow: hidden;
}

.section-header-left {
    margin-bottom: 60px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    border-radius: 15px;
    margin-bottom: 20px;
}

.section-header-left h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-header-left h2 span {
    color: var(--primary-red);
}

.section-header-left p {
    font-size: 18px;
    color: #666;
    max-width: 500px;
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.step-horizontal-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    scroll-snap-align: start;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.step-horizontal-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(23, 27, 42, 0.15);
}

.step-h-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(23, 27, 42, 0.3);
}

.step-h-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(235, 32, 39, 0.1), rgba(235, 32, 39, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.step-h-icon i {
    font-size: 35px;
    color: var(--primary-red);
}

.step-horizontal-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.step-horizontal-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.step-tag {
    background: var(--gray-light);
    color: var(--navy);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== ZIGZAG FEATURES ===== */
.zigzag-section {
    padding: 100px 0;
    background: var(--white);
}

.zigzag-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.zigzag-item:last-child {
    margin-bottom: 0;
}

.zigzag-item.reverse {
    flex-direction: row-reverse;
}

.zigzag-visual {
    flex: 1;
    position: relative;
}

.zigzag-image-box {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 50px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zigzag-icon-large {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(235, 32, 39, 0.4);
}

.zigzag-decorative-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 15px 15px;
}

.zigzag-decorative-dots.top-right {
    top: 20px;
    right: 20px;
}

.zigzag-decorative-dots.bottom-left {
    bottom: 20px;
    left: 20px;
}

.zigzag-content {
    flex: 1;
}

.zigzag-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(235, 32, 39, 0.12), rgba(235, 32, 39, 0.05));
    border: 1px solid rgba(235, 32, 39, 0.2);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.zigzag-label i {
    color: var(--primary-red);
    font-size: 12px;
}

.zigzag-label span {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.zigzag-content h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.zigzag-content h3 span {
    color: var(--primary-red);
}

.zigzag-content > p {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.zigzag-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.zigzag-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-light);
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.zigzag-feature-item:hover {
    background: var(--navy);
}

.zigzag-feature-item:hover i,
.zigzag-feature-item:hover span {
    color: var(--white);
}

.zigzag-feature-item i {
    color: var(--primary-red);
    font-size: 18px;
    transition: all 0.3s ease;
}

.zigzag-feature-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.3s ease;
}

/* ===== INTERACTIVE TABS ===== */
.tabs-section {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.tabs-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    border-radius: 50%;
    opacity: 0.1;
    top: -200px;
    right: -200px;
}

.tabs-section .section-header-center {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tabs-section .section-header-center h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.tabs-section .section-header-center h2 span {
    color: var(--primary-red);
}

.tabs-section .section-header-center p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin: 0 auto;
}

.tabs-container {
    position: relative;
    z-index: 1;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.tab-btn.active {
    background: var(--primary-red);
    color: var(--white);
}

.tab-btn i {
    font-size: 18px;
}

.tabs-content {
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInTab 0.5s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tab-feature-box {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.tab-feature-box:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: rgba(235, 32, 39, 0.3);
}

.tab-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.tab-feature-box h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.tab-feature-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

/* ===== ACCORDION FAQ ===== */
.accordion-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.accordion-section .section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.accordion-section .section-header-center h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.accordion-section .section-header-center h2 span {
    color: var(--primary-red);
}

.accordion-section .section-header-center p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item-custom {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.accordion-item-custom:hover,
.accordion-item-custom.active {
    border-color: var(--primary-red);
}

.accordion-header-custom {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accordion-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(235, 32, 39, 0.1), rgba(235, 32, 39, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-icon i {
    font-size: 20px;
    color: var(--primary-red);
}

.accordion-header-custom h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.accordion-toggle {
    width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.accordion-toggle i {
    font-size: 14px;
    color: var(--navy);
    transition: all 0.3s ease;
}

.accordion-item-custom.active .accordion-toggle {
    background: var(--primary-red);
}

.accordion-item-custom.active .accordion-toggle i {
    color: var(--white);
    transform: rotate(180deg);
}

.accordion-body-custom {
    padding: 0 30px 25px 100px;
    display: none;
}

.accordion-body-custom p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner-section {
    padding: 100px 0;
    background: var(--white);
}

.cta-banner-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 40px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.cta-banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(235, 32, 39, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.cta-banner-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.1;
    bottom: -100px;
    right: -50px;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cta-banner-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-banner-content h2 span {
    color: var(--primary-red);
}

.cta-banner-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0;
}

.cta-banner-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(235, 32, 39, 0.4);
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--navy);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    background: var(--gray-light);
    color: var(--navy);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .hero-main-title {
        font-size: 48px;
    }
    
    .zigzag-item {
        gap: 50px;
    }
    
    .zigzag-content h3 {
        font-size: 34px;
    }
    
    .tab-content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .how-hero-split::before,
    .how-hero-split::after {
        display: none;
    }
    
    .how-hero-split {
        background: linear-gradient(135deg, var(--navy), var(--navy-light));
        text-align: center;
        padding: 140px 0 80px;
    }
    
    .hero-content-split {
        margin-bottom: 50px;
    }
    
    .hero-description-split {
        margin: 0 auto 35px;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-visual-side {
        min-height: 300px;
    }
    
    .floating-process-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 10px;
    }
    
    .hero-visual-side {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .zigzag-item,
    .zigzag-item.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .zigzag-features-list {
        grid-template-columns: 1fr;
    }
    
    .section-header-left h2,
    .tabs-section .section-header-center h2,
    .accordion-section .section-header-center h2 {
        font-size: 36px;
    }
    
    .cta-banner-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }
    
    .cta-banner-content h2 {
        font-size: 32px;
    }
    
    .cta-banner-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 36px;
    }
    
    .step-horizontal-card {
        flex: 0 0 280px;
    }
    
    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-content {
        padding: 30px 20px;
    }
    
    .accordion-header-custom {
        padding: 20px;
    }
    
    .accordion-body-custom {
        padding: 0 20px 20px;
    }
    
    .accordion-header-left {
        gap: 15px;
    }
    
    .accordion-icon {
        width: 40px;
        height: 40px;
    }
    
    .accordion-header-custom h5 {
        font-size: 16px;
    }
    
    .zigzag-image-box {
        min-height: 300px;
        padding: 30px;
    }
    
    .zigzag-icon-large {
        width: 100px;
        height: 100px;
        font-size: 45px;
    }
}

@media (max-width: 575px) {
    .hero-main-title {
        font-size: 30px;
    }
    
    .hero-subtitle {
        padding: 8px 15px;
    }
    
    .hero-subtitle span {
        font-size: 11px;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        padding: 14px 25px;
        font-size: 14px;
    }
    
    .step-horizontal-card {
        flex: 0 0 260px;
        padding: 30px 20px;
    }
    
    .section-header-left h2,
    .tabs-section .section-header-center h2,
    .accordion-section .section-header-center h2 {
        font-size: 28px;
    }
    
    .zigzag-content h3 {
        font-size: 28px;
    }
    
    .cta-banner-content h2 {
        font-size: 26px;
    }
    
    .btn-cta-primary,
    .btn-cta-white {
        padding: 15px 30px;
        font-size: 14px;
    }
}
