/* ==========================================
   SAMOWEB HERO CAROUSEL
========================================== */

.sw-home-carousel {
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
}

.sw-home-carousel .carousel-item {
    min-height: 680px;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(6, 182, 212, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #F8FAFC 0%,
            #FFFFFF 50%,
            #EFF6FF 100%
        );
}

.sw-slide-content {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 100px 0 110px;
}

.sw-slide-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2563EB;
    margin-bottom: 25px;
}

.sw-slide-label::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #06B6D4;
}

.sw-slide-content h1 {
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    color: #0B1F44;
    margin-bottom: 25px;
}

.sw-slide-content h1 span {
    display: block;
    color: #2563EB;
}

.sw-slide-content p {
    max-width: 570px;
    color: #64748B;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.sw-slide-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sw-btn-primary,
.sw-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sw-btn-primary {
    color: #FFFFFF;
    background: #2563EB;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.sw-btn-primary:hover {
    color: #FFFFFF;
    background: #0B1F44;
    transform: translateY(-3px);
}

.sw-btn-outline {
    color: #0B1F44;
    border: 1px solid #DCE5F0;
    background: #FFFFFF;
}

.sw-btn-outline:hover {
    color: #2563EB;
    border-color: #2563EB;
    transform: translateY(-3px);
}


/* ==========================================
   VISUAL AREA
========================================== */

.sw-carousel-visual {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sw-visual-glow,
.sw-app-glow,
.sw-marketing-glow,
.sw-software-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
}

.sw-visual-glow {
    background: rgba(37, 99, 235, 0.15);
}

.sw-app-glow {
    background: rgba(6, 182, 212, 0.2);
}

.sw-marketing-glow {
    background: rgba(37, 99, 235, 0.18);
}

.sw-software-glow {
    background: rgba(6, 182, 212, 0.16);
}


/* ==========================================
   WEBSITE MOCKUP
========================================== */

.sw-browser-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #E5EAF2;
    box-shadow: 0 30px 80px rgba(11, 31, 68, 0.12);
    transform: rotate(-3deg);
}

.sw-browser-header {
    height: 45px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
}

.sw-browser-header span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #CBD5E1;
}

.sw-browser-content {
    padding: 30px;
}

.sw-browser-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0B1F44;
    font-weight: 700;
    margin-bottom: 35px;
}

.sw-mini-logo {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    color: #FFFFFF;
    border-radius: 10px;
    font-weight: 800;
}

.sw-browser-heading {
    font-size: 28px;
    font-weight: 700;
    color: #0B1F44;
    line-height: 1.3;
    margin-bottom: 20px;
}

.sw-browser-heading strong {
    display: block;
    color: #2563EB;
}

.sw-browser-line {
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sw-browser-line.short {
    width: 65%;
}

.sw-browser-button {
    display: inline-block;
    margin-top: 20px;
    background: #2563EB;
    color: #FFFFFF;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
}


/* ==========================================
   FLOATING CARDS
========================================== */

.sw-floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(11, 31, 68, 0.1);
    border: 1px solid #E5EAF2;
}

.sw-floating-card i {
    font-size: 25px;
    color: #2563EB;
}

.sw-floating-card strong,
.sw-app-floating strong,
.sw-marketing-floating strong,
.sw-software-floating strong {
    display: block;
    font-size: 13px;
    color: #0B1F44;
}

.sw-floating-card small,
.sw-app-floating small,
.sw-marketing-floating small,
.sw-software-floating small {
    display: block;
    color: #64748B;
    font-size: 11px;
    margin-top: 4px;
}

.sw-card-top {
    top: 30px;
    right: -10px;
}

.sw-card-bottom {
    bottom: 25px;
    left: -15px;
}


/* ==========================================
   PHONE MOCKUP
========================================== */

.sw-phone-mockup {
    position: relative;
    z-index: 2;
    width: 230px;
    height: 420px;
    background: #0B1F44;
    padding: 10px;
    border-radius: 35px;
    box-shadow: 0 30px 80px rgba(11, 31, 68, 0.2);
    transform: rotate(5deg);
}

.sw-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #0B1F44;
    border-radius: 20px;
    z-index: 5;
}

.sw-phone-screen {
    position: relative;
    height: 100%;
    border-radius: 26px;
    background: #F8FAFC;
    overflow: hidden;
    padding: 30px 15px 15px;
}

.sw-phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 30px;
}

.sw-phone-welcome {
    font-size: 18px;
    font-weight: 700;
    color: #0B1F44;
    margin-bottom: 20px;
}

.sw-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #E5EAF2;
    border-radius: 10px;
    padding: 15px 10px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #0B1F44;
}

.sw-phone-box i {
    color: #2563EB;
    font-size: 18px;
}

.sw-phone-bottom {
    position: absolute;
    bottom: 10px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-around;
    color: #2563EB;
    padding: 15px 0;
    background: #FFFFFF;
    border-radius: 15px;
}

.sw-app-floating {
    position: absolute;
    z-index: 3;
    bottom: 40px;
    right: -15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 15px 40px rgba(11, 31, 68, 0.1);
}

.sw-app-floating i {
    color: #06B6D4;
    font-size: 25px;
}


/* ==========================================
   MARKETING MOCKUP
========================================== */

.sw-marketing-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    background: #FFFFFF;
    border: 1px solid #E5EAF2;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 30px 80px rgba(11, 31, 68, 0.12);
}

.sw-marketing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #64748B;
    font-size: 13px;
    margin-bottom: 30px;
}

.sw-marketing-growth strong {
    display: block;
    font-size: 40px;
    color: #2563EB;
    font-weight: 800;
}

.sw-marketing-growth span {
    font-size: 13px;
    color: #64748B;
}

.sw-marketing-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 30px 0;
    border-bottom: 1px solid #E5EAF2;
}

.sw-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #06B6D4, #2563EB);
    border-radius: 7px 7px 0 0;
}

.sw-chart-bar.bar1 {
    height: 35%;
}

.sw-chart-bar.bar2 {
    height: 50%;
}

.sw-chart-bar.bar3 {
    height: 40%;
}

.sw-chart-bar.bar4 {
    height: 65%;
}

.sw-chart-bar.bar5 {
    height: 55%;
}

.sw-chart-bar.bar6 {
    height: 80%;
}

.sw-chart-bar.bar7 {
    height: 100%;
}

.sw-marketing-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748B;
}

.sw-marketing-footer i {
    color: #06B6D4;
}

.sw-marketing-floating {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    right: -15px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(11, 31, 68, 0.1);
}

.sw-marketing-floating i {
    color: #2563EB;
    font-size: 25px;
}


/* ==========================================
   SOFTWARE DASHBOARD
========================================== */

.sw-software-dashboard {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #E5EAF2;
    padding: 25px;
    box-shadow: 0 30px 80px rgba(11, 31, 68, 0.12);
    transform: rotate(2deg);
}

.sw-dashboard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #0B1F44;
    font-size: 14px;
}

.sw-dashboard-stats {
    display: flex;
    gap: 15px;
}

.sw-stat-box {
    flex: 1;
    padding: 15px;
    background: #F8FAFC;
    border: 1px solid #E5EAF2;
    border-radius: 10px;
}

.sw-stat-box small {
    display: block;
    color: #64748B;
    font-size: 10px;
}

.sw-stat-box strong {
    display: block;
    font-size: 25px;
    color: #2563EB;
    margin-top: 5px;
}

.sw-dashboard-chart {
    position: relative;
    height: 130px;
    margin: 25px 0;
    background: linear-gradient(
        180deg,
        rgba(6, 182, 212, 0.08),
        transparent
    );
    border-bottom: 1px solid #E5EAF2;
    overflow: hidden;
}

.sw-dashboard-bars {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 100%;
    padding: 10px 15px;
}

.sw-dashboard-bars span {
    flex: 1;
    background: linear-gradient(180deg, #06B6D4, #2563EB);
    border-radius: 5px 5px 0 0;
}

.sw-dashboard-bars span:nth-child(1) {
    height: 35%;
}

.sw-dashboard-bars span:nth-child(2) {
    height: 55%;
}

.sw-dashboard-bars span:nth-child(3) {
    height: 45%;
}

.sw-dashboard-bars span:nth-child(4) {
    height: 75%;
}

.sw-dashboard-bars span:nth-child(5) {
    height: 65%;
}

.sw-dashboard-bars span:nth-child(6) {
    height: 95%;
}

.sw-dashboard-task {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F0FDFA;
    color: #0F766E;
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
}

.sw-dashboard-task i {
    color: #06B6D4;
}

.sw-software-floating {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    left: -15px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(11, 31, 68, 0.1);
}

.sw-software-floating i {
    font-size: 25px;
    color: #2563EB;
}


/* ==========================================
   CAROUSEL CONTROLS
========================================== */

.sw-home-carousel .carousel-indicators {
    bottom: 35px;
}

.sw-home-carousel .carousel-indicators button {
    width: 30px;
    height: 5px;
    border-radius: 5px;
    border: none;
    background: #CBD5E1;
    opacity: 1;
    transition: all 0.3s ease;
}

.sw-home-carousel .carousel-indicators button.active {
    width: 45px;
    background: #2563EB;
}

.sw-home-carousel .carousel-control-prev,
.sw-home-carousel .carousel-control-next {
    width: 60px;
    opacity: 1;
}

.sw-carousel-arrow {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #0B1F44;
    border: 1px solid #E5EAF2;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(11, 31, 68, 0.08);
    transition: all 0.3s ease;
}

.sw-carousel-arrow:hover {
    background: #2563EB;
    color: #FFFFFF;
}


/* ==========================================
   ANIMATIONS
========================================== */

.sw-home-carousel .carousel-item.active h1 {
    animation: swFadeUp 0.7s ease;
}

.sw-home-carousel .carousel-item.active p {
    animation: swFadeUp 0.9s ease;
}

.sw-home-carousel .carousel-item.active .sw-carousel-visual {
    animation: swVisualIn 0.8s ease;
}

@keyframes swFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes swVisualIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1199px) {

    .sw-home-carousel .carousel-item,
    .sw-slide-content {
        min-height: 600px;
    }

    .sw-slide-content h1 {
        font-size: 55px;
    }

    .sw-carousel-visual {
        min-height: 400px;
    }

}


@media (max-width: 991px) {

    .sw-home-carousel .carousel-item,
    .sw-slide-content {
        min-height: auto;
    }

    .sw-slide-content {
        padding: 100px 0 100px;
    }

    .sw-slide-content h1 {
        font-size: 50px;
    }

    .sw-slide-content p {
        font-size: 16px;
    }

    .sw-carousel-visual {
        margin-top: 50px;
        min-height: 400px;
    }

    .sw-home-carousel .carousel-control-prev {
        left: 0;
    }

    .sw-home-carousel .carousel-control-next {
        right: 0;
    }

}


@media (max-width: 767px) {

    .sw-slide-content {
        padding: 85px 0 90px;
    }

    .sw-slide-label {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 18px;
    }

    .sw-slide-content h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .sw-slide-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .sw-slide-buttons {
        gap: 10px;
    }

    .sw-btn-primary,
    .sw-btn-outline {
        padding: 13px 18px;
        font-size: 13px;
    }

    .sw-carousel-visual {
        min-height: 350px;
        margin-top: 35px;
    }

    .sw-browser-card {
        max-width: 330px;
    }

    .sw-browser-content {
        padding: 22px;
    }

    .sw-browser-heading {
        font-size: 23px;
    }

    .sw-phone-mockup {
        width: 190px;
        height: 350px;
    }

    .sw-marketing-card {
        max-width: 320px;
        padding: 22px;
    }

    .sw-software-dashboard {
        max-width: 330px;
        padding: 20px;
    }

    .sw-floating-card {
        padding: 12px 15px;
    }

    .sw-card-top {
        right: 0;
        top: 10px;
    }

    .sw-card-bottom {
        left: 0;
        bottom: 10px;
    }

    .sw-app-floating,
    .sw-marketing-floating,
    .sw-software-floating {
        right: 0;
        bottom: 10px;
        padding: 12px 15px;
    }

    .sw-home-carousel .carousel-control-prev,
    .sw-home-carousel .carousel-control-next {
        width: 40px;
    }

    .sw-carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .sw-home-carousel .carousel-indicators {
        bottom: 20px;
    }

}


@media (max-width: 480px) {

    .sw-slide-content h1 {
        font-size: 34px;
    }

    .sw-slide-content p {
        font-size: 14px;
    }

    .sw-slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .sw-btn-primary,
    .sw-btn-outline {
        width: 100%;
    }

    .sw-carousel-visual {
        min-height: 320px;
    }

    .sw-browser-card {
        max-width: 290px;
    }

    .sw-marketing-card {
        max-width: 290px;
    }

    .sw-software-dashboard {
        max-width: 290px;
    }

    .sw-floating-card strong,
    .sw-app-floating strong,
    .sw-marketing-floating strong,
    .sw-software-floating strong {
        font-size: 11px;
    }

    .sw-floating-card small,
    .sw-app-floating small,
    .sw-marketing-floating small,
    .sw-software-floating small {
        font-size: 9px;
    }

}