:root {
    --sw-violet-1: #673DE6;
    --sw-violet-2: #9B6CFF;
    --sw-accent: #ff7a00;
    --sw-sky: #2BD7FF;
    --sw-neutral-900: #0b1115;
    --sw-neutral-700: #4b5563;
    --sw-bg: #ffffff;
    --sw-font-primary: 'Inter', sans-serif;
}

body {
    font-family: var(--sw-font-primary);
    color: var(--sw-neutral-900);
    background-color: var(--sw-bg);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-violet {
    color: var(--sw-violet-1);
}

.text-accent {
    color: var(--sw-accent);
}

.text-sky {
    color: var(--sw-sky);
}

.text-neutral-700 {
    color: var(--sw-neutral-700);
}

/* Buttons */
.btn-primary {
    background-color: var(--sw-violet-1);
    border-color: var(--sw-violet-1);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--sw-violet-2);
    border-color: var(--sw-violet-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 61, 230, 0.3);
}

.btn-accent {
    background-color: var(--sw-accent);
    border-color: var(--sw-accent);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e66e00;
    border-color: #e66e00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.btn-outline-light {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    color: var(--sw-violet-1);
    font-size: 1.8rem;
}

.navbar-brand span {
    color: var(--sw-neutral-900);
}

.nav-link {
    font-weight: 500;
    color: var(--sw-neutral-700);
    margin: 0 0.5rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sw-violet-1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--sw-violet-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--sw-violet-1) 0%, var(--sw-violet-2) 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
}

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

/* Services Cards */
.hero-visual {
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right-bg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    /* Adjust width to cover right side, can be percentage */
    object-fit: cover;
    z-index: 0;
    /* Behind content */
    mask-image: linear-gradient(to right, transparent, black 20%);
    /* Optional: Fade in from left */
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%);
}

.hero-card-wrapper {
    position: absolute;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.1s ease-out;
    /* For hover or other interactions */
    min-width: 200px;
}

.card-security {
    top: 20%;
    left: 10%;
}

.card-security .hero-card {
    animation: float 6s ease-in-out infinite;
}

.card-uptime {
    top: 50%;
    right: 5%;
}

.card-uptime .hero-card {
    animation: float 8s ease-in-out infinite 1s;
}

.card-support {
    bottom: 20%;
    left: 20%;
}

.card-support .hero-card {
    animation: float 7s ease-in-out infinite 0.5s;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bg-violet-light {
    background: rgba(103, 61, 230, 0.1);
}

.bg-accent-light {
    background: rgba(255, 122, 0, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }
}

/* Services Cards */
.service-card {
    border: none;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sw-violet-1), var(--sw-violet-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(103, 61, 230, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--sw-violet-1);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--sw-violet-1);
    color: white;
}

/* Why Choose Us */
.metric-card {
    background: rgba(103, 61, 230, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--sw-violet-1);
    line-height: 1.2;
}

.check-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.check-icon {
    color: var(--sw-sky);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Featured Case Study */
.case-study-featured {
    background: var(--sw-neutral-900);
    color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    border-left: 5px solid var(--sw-accent);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(10, 15, 30, 0.85), rgba(10, 15, 30, 0.8)), url('../img/CTA-Banner-Bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.1));
    pointer-events: none;
}

/* Footer */
.footer {
    background-color: var(--sw-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-link {
    color: var(--sw-neutral-700);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--sw-violet-1);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(103, 61, 230, 0.1);
    color: var(--sw-violet-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--sw-violet-1);
    color: white;
}

/* Utilities */
.section-padding {
    padding: 5rem 0;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.float-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-wa:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* Animate on scroll utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--sw-violet-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sw-violet-2);
}