/* Color Variables & Base Settings */
:root {
    --sw-primary: #1D4ED8;
    --sw-primary-light: rgba(29, 78, 216, 0.1);
    --sw-secondary: #2563EB;
    --sw-accent: #3B82F6;
    --sw-dark: #0F172A;
    --sw-gray: #64748B;
    --sw-light: #F8FAFC;
    --sw-white: #FFFFFF;
    --sw-gradient: linear-gradient(135deg, var(--sw-primary), var(--sw-secondary));
    --sw-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --sw-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sw-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --sw-shadow-hover: 0 25px 50px -12px rgba(29, 78, 216, 0.25);
    --sw-glass: rgba(255, 255, 255, 0.8);
}

body {
    background-color: var(--sw-light);
    font-family: 'Poppins', sans-serif;
}

/* Common Typography */
.section-title {
    font-size: var(--text-h2);
    font-weight: var(--text-h2-weight);
    color: var(--sw-dark);
    margin-bottom: var(--text-h2-margin, 1rem);
    line-height: var(--text-h2-lh);
}

.section-subtitle {
    font-size: var(--text-lead);
    color: var(--text-lead-color);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: var(--text-lead-lh);
}

.text-gradient {
    background: var(--sw-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.sw-hero {
    position: relative;
    padding: 120px 0 80px;
    background: var(--sw-white);
    overflow: hidden;
}

.sw-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, var(--sw-primary-light) 0%, transparent 50%);
    z-index: 0;
}

.sw-hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--sw-primary-light);
    color: var(--sw-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: var(--text-h1);
    font-weight: var(--text-h1-weight);
    color: var(--sw-dark);
    line-height: var(--text-h1-lh);
    letter-spacing: var(--text-h1-ls);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-family: var(--font-primary) !important;
    font-size: var(--text-hero-desc) !important;
    font-weight: var(--text-hero-desc-weight) !important;
    color: var(--text-lead-color) !important;
    line-height: var(--text-hero-desc-lh) !important;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-align: left;
}

.hero-desc * {
    font-family: var(--font-primary) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.hero-desc p {
    font-family: var(--font-primary) !important;
    font-size: var(--text-hero-desc) !important;
    font-weight: var(--text-hero-desc-weight) !important;
    line-height: var(--text-hero-desc-lh) !important;
    color: var(--sw-gray, #64748B) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
   
    display: inline !important;
}

.hero-desc p + p {
    display: block !important;
    margin-top: 12px !important;
}

.hero-desc p:last-child {
    margin-bottom: 0 !important;
}

.product-card .text-muted,
.product-card .text-muted * {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: var(--sw-gray, #64748B) !important;
}

.product-card .text-muted p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: inline !important;
}

.product-card .text-muted p + p {
    display: block !important;
    margin-top: 6px !important;
}

.btn-sw-primary {
    background: var(--sw-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.btn-sw-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.4);
    color: white;
}

.btn-sw-outline {
    border: 2px solid var(--sw-primary);
    color: var(--sw-primary);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-sw-outline:hover {
    background: var(--sw-primary-light);
    color: var(--sw-primary);
}

.hero-mockup-wrapper {
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.hero-mockup {
    border-radius: 16px;
    box-shadow: var(--sw-shadow-hover);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-mockup-wrapper:hover .hero-mockup {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-mockup-wrapper img {
    width: 100% !important;
    height: 100% !important;
    max-height: 500px !important;
}

.floating-card {
    position: absolute;
    background: var(--sw-glass);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--sw-shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.fc-1 {
    top: 10%;
    right: -5%;
}

.fc-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 2s;
}

@keyframes float {

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

    50% {
        transform: translateY(-15px);
    }
}

/* Categories Grid */
.sw-categories {
    padding: 80px 0;
    background: var(--sw-light);
}

.cat-card {
    background: var(--sw-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    cursor: pointer;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sw-shadow-lg);
    border-color: var(--sw-primary-light);
}

.cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--sw-primary-light);
    color: var(--sw-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.cat-card:hover .cat-icon {
    background: var(--sw-gradient);
    color: white;
    transform: scale(1.1);
}

/* Featured Products */
.sw-products {
    padding: 100px 0;
    background: var(--sw-white);
}

.product-card {
    background: var(--sw-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: all 0.4s ease;
}

.product-card:hover {
    box-shadow: var(--sw-shadow-hover);
    transform: translateY(-8px);
}

.product-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #E2E8F0;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-img-wrap {
    overflow: hidden;
    position: relative;
}

.product-body {
    padding: 2rem;
}

.product-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--sw-primary-light);
    color: var(--sw-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sw-dark);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.product-features li {
    color: var(--sw-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: #10B981;
}

/* Features section */
.sw-features {
    padding: 100px 0;
    background: var(--sw-dark);
    color: white;
}

.sw-features .section-title {
    color: white;
}

.sw-features .section-subtitle {
    color: #94A3B8;
}

.feat-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sw-accent);
    flex-shrink: 0;
    backdrop-filter: blur(5px);
}

.feat-content h4 {
    color: white;
    font-weight: var(--text-h4-weight);
    font-size: var(--text-h4);
    line-height: var(--text-h4-lh);
    margin-bottom: 0.5rem;
}

.feat-content p {
    color: #94A3B8;
    line-height: 1.6;
}

/* Industries */
.sw-industries {
    padding: 100px 0;
    background: var(--sw-light);
}

.ind-card {
    background: var(--sw-white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: all 0.3s;
}

.ind-card:hover {
    background: var(--sw-primary);
    color: white;
    transform: translateY(-5px);
}

.ind-card:hover h5,
.ind-card:hover p,
.ind-card:hover i {
    color: white;
}

.ind-icon {
    font-size: 2.5rem;
    color: var(--sw-primary);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.ind-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ind-card p {
    color: var(--sw-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Timeline */
.sw-process {
    padding: 100px 0;
    background: var(--sw-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--sw-primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.tl-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.tl-left {
    left: 0;
}

.tl-right {
    left: 50%;
}

.tl-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--sw-white);
    border: 4px solid var(--sw-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.tl-right::after {
    left: -10px;
}

.tl-content {
    padding: 20px;
    background: var(--sw-white);
    position: relative;
    border-radius: 12px;
    box-shadow: var(--sw-shadow-sm);
    border: 1px solid #E2E8F0;
}

.tl-content h5 {
    color: var(--sw-primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 18px;
    }

    .tl-container {
        padding: 10px 16px;
        position: relative;
        background-color: inherit;
        width: 50%;
    }

    .tl-container {
        width: 100%;
        /* padding-left: 70px; */
        padding-right: 25px;
    }

    .tl-left {
        padding-right: 32px;
        text-align: left;
    }

    .tl-container::after {
        left: 21px;
    }

    .tl-left::after {
        left: 21px;
    }

    .tl-right {
        left: 0%;
    }

    .tl-right::after {
        left: 21px;
    }

    .floating-card {
        display: none;
    }
}

/* Stats Section */
.sw-stats {
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1920&q=80') center/cover no-repeat;
    position: relative;
}

.sw-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.9), rgba(15, 23, 42, 0.95));
    z-index: 1;
}

.sw-stats .container {
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--sw-accent);
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 2.7rem);
    font-weight: 900;
    color: var(--sw-white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin: 0;
}

/* Tech Stack */
.sw-tech {
    padding: 80px 0;
    background: var(--sw-light);
}

.tech-logo {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: var(--sw-shadow-sm);
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.tech-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: var(--sw-shadow-md);
}

.tech-logo i {
    font-size: 3rem;
}

.tech-logo img {
    max-height: 50px;
}

/* FAQ */
.sw-faq {
    padding: 100px 0;
    background: var(--sw-white);
}

.accordion-button:not(.collapsed) {
    background-color: var(--sw-primary-light);
    color: var(--sw-primary);
    font-weight: 700;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-item {
    border-radius: 12px !important;
    border: 1px solid #E2E8F0;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* CTA */
.sw-cta {
    padding: 120px 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(29, 78, 216, 0.75)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--sw-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

.cta-shape-1 {
    top: -100px;
    left: -100px;
}

.cta-shape-2 {
    bottom: -100px;
    right: -100px;
    background: var(--sw-secondary);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--sw-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-desc {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-sw-light {
    background: var(--sw-white);
    color: var(--sw-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-sw-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: var(--sw-light);
    color: var(--sw-dark);
}