/* NoteArch Homepage Custom Styles - Extracted from home.blade.php */
/* Organized by sections for better maintainability */

/* ============================================
   1. MOBILE MENU & OFFCANVAS STYLES
   ============================================ */
@media screen and (max-width: 768px) {
    body.offcanvas-active .hero-slider {
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .offcanvas {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .offcanvas-backdrop.show {
        opacity: 1 !important;
        backdrop-filter: blur(10px);
    }
}

/* ============================================
   2. HERO SLIDER BREAKOUT (MOBILE)
   ============================================ */
@media (max-width: 992px) {
    .container-scroller > .container, 
    .container-scroller > .wrapper, 
    .container, 
    .wrapper, 
    .main, 
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100vw !important;
        width: 100vw !important;
        box-sizing: border-box !important;
    }

    .container-scroller .hero-slider, 
    .container > .hero-slider, 
    .wrapper > .hero-slider, 
    body > .hero-slider {
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

/* ============================================
   3. MISSION & VISION CARDS
   ============================================ */
.missionVision .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.missionVision .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.missionVision .cardHeader h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

/* ============================================
   4. SOLUTIONS SECTION
   ============================================ */
.solutions .solutionsWrapper {
    margin-top: 30px;
}

.solutionCard {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solutionCard:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.solutionIcon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solutionIcon i {
    font-size: 2rem;
    color: white;
}

.solutionCard h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: bold;
}

.solutionCard p {
    color: var(--text--secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.featureList {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.featureList li {
    padding: 8px 0;
    color: var(--text--secondary-color);
    position: relative;
    padding-left: 25px;
}

.featureList li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================================
   5. HOW IT WORKS SECTION
   ============================================ */
.howItWorks {
    background: var(--primary-background-color);
    padding: 50px 0;
    margin-top: 40px;
}

.processWrapper {
    margin-top: 30px;
}

.processCard {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.processCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.processNumber {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color1));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.processCard h4 {
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

.processIcon {
    margin-top: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* ============================================
   6. KEY BENEFITS SECTION
   ============================================ */
.keyBenefits {
    padding: 50px 0;
    background: white;
}

.benefitsWrapper {
    margin-top: 30px;
}

.benefitCard {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.benefitCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.benefitIcon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.benefitCard h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

.benefitCard p {
    color: var(--text--secondary-color);
    line-height: 1.6;
}

/* ============================================
   7. CALL TO ACTION
   ============================================ */
.callToAction {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color1) 100%);
    padding: 50px 0;
    color: white;
}

.ctaWrapper {
    text-align: center;
}

.ctaContent h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.ctaContent p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.ctaButtons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.ctaStats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.statNumber {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.statLabel {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* ============================================
   8. APP LINKS & TRIAL SECTION
   ============================================ */
.appLinksWrapper {
    margin: 30px 0;
}

.appSection {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.appSection h5 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.storeImgs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.storeLink img {
    height: 50px;
    transition: transform 0.3s ease;
}

.storeLink:hover img {
    transform: scale(1.05);
}

.trialSection {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    text-align: center;
}

.trialSection p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* ============================================
   9. RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .ctaContent h2 {
        font-size: 2rem;
    }
    
    .ctaButtons {
        flex-direction: column;
        align-items: center;
    }
    
    .ctaStats {
        gap: 30px;
    }
    
    .statNumber {
        font-size: 2.5rem;
    }
}
