:root {
    --nxvell-accent: #853A93;
    --nxvell-dark: #462749;
    --nxvell-black: #08050A; /* Deep dark for background */
    --nxvell-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--nxvell-light);
    background-color: var(--nxvell-black);
    overflow-x: hidden;
}

/* Utilities */
.text-accent {
    color: var(--nxvell-accent) !important;
}

.tracking-wider {
    letter-spacing: 2px;
}

/* Icons and Branding */
.nxvell-icon {
    color: var(--nxvell-accent);
    text-shadow: 0 0 10px rgba(133, 58, 147, 0.4);
}

.nxvell-brand {
    letter-spacing: 2.5px;
    background: linear-gradient(120deg, #fff, var(--nxvell-accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.nxvell-nav {
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 25px 0;
}

.nxvell-nav.scrolled {
    background-color: rgba(15, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(133, 58, 147, 0.1);
}

/* Base Buttons */
.btn-nxvell {
    background: linear-gradient(45deg, var(--nxvell-accent), #a44eb5);
    color: white;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-nxvell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #a44eb5, var(--nxvell-accent));
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.btn-nxvell:hover::after {
    opacity: 1;
}

.btn-nxvell:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(133, 58, 147, 0.4) !important;
    color: white;
}

.btn-outline-nxvell {
    background: transparent;
    color: var(--nxvell-accent);
    border: 2px solid var(--nxvell-accent);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-nxvell:hover {
    background: var(--nxvell-accent);
    color: white;
    box-shadow: 0 15px 25px rgba(133, 58, 147, 0.3);
    transform: translateY(-3px);
}

/* Hero Section */
.nxvell-hero {
    min-height: 100vh;
    padding: 160px 0 100px;
    background: 
        radial-gradient(circle at top right, rgba(133, 58, 147, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(70, 39, 73, 0.3), transparent 50%),
        url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%232e1832" fill-opacity="0.2"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E'),
        var(--nxvell-black);
    position: relative;
    overflow: hidden;
}

.nxvell-hero h1 span.highlight {
    background: linear-gradient(120deg, var(--nxvell-accent), #a44eb5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(133, 58, 147, 0.3));
}

/* Services / Features Section */
.nxvell-features {
    padding: 120px 0;
    background-color: #0b070f;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.feature-card {
    background: linear-gradient(145deg, rgba(30, 20, 35, 0.6), rgba(15, 10, 20, 0.8));
    border: 1px solid rgba(133, 58, 147, 0.15);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--nxvell-accent), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(40, 25, 45, 0.8), rgba(20, 15, 25, 1));
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(133, 58, 147, 0.1) !important;
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(133, 58, 147, 0.2), rgba(133, 58, 147, 0.05));
    border: 1px solid rgba(133, 58, 147, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: inset 0 0 15px rgba(133, 58, 147, 0.1);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--nxvell-accent), #a44eb5);
    transform: scale(1.15) rotate(5deg) translateY(-5px);
    box-shadow: 0 10px 25px rgba(133, 58, 147, 0.5);
    border-color: rgba(255,255,255,0.2);
}

.feature-card:hover .feature-icon-wrapper i {
    color: white;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.feature-icon-wrapper i {
    font-size: 30px;
    color: var(--nxvell-accent);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(133, 58, 147, 0.4));
}

/* Differences Section */
.nxvell-differences {
    padding: 120px 0;
    background: var(--nxvell-black);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Testimonials Section */
.nxvell-testimonials {
    padding: 120px 0;
    background: linear-gradient(180deg, #0b070f 0%, var(--nxvell-black) 100%);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.testimonial-card {
    background: rgba(20, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(133, 58, 147, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5) !important;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(133, 58, 147, 0.1);
    background: linear-gradient(135deg, var(--nxvell-accent), transparent);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    z-index: 0;
    opacity: 0.3;
}

.client-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--nxvell-accent);
    box-shadow: 0 0 15px rgba(133, 58, 147, 0.3);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 2;
    color: #e9ecef;
}

/* Footer Section */
.nxvell-footer {
    background: var(--nxvell-black);
    border-top: 1px solid rgba(133, 58, 147, 0.2);
    position: relative;
}

/* Header Links */
.header-links .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 0.5rem 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}
.header-links .nav-link:hover, .header-links .nav-link.active {
    color: var(--nxvell-accent) !important;
}

/* Hover Utils */
.hover-accent {
    transition: color 0.3s ease;
}
.hover-accent:hover {
    color: var(--nxvell-accent) !important;
}
.transition-hover {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(133, 58, 147, 0.2);
    border-color: rgba(133, 58, 147, 0.4) !important;
}

/* Small Icon Wrapper */
.feature-icon-wrapper-small {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(133, 58, 147, 0.2), rgba(133, 58, 147, 0.05));
    border: 1px solid rgba(133, 58, 147, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: inset 0 0 10px rgba(133, 58, 147, 0.1);
}
.feature-icon-wrapper-small i {
    font-size: 22px;
    color: var(--nxvell-accent);
    filter: drop-shadow(0 0 5px rgba(133, 58, 147, 0.3));
    transition: all 0.4s ease;
}
.feature-card:hover .feature-icon-wrapper-small {
    background: linear-gradient(135deg, var(--nxvell-accent), #a44eb5);
    transform: scale(1.15) rotate(5deg) translateY(-3px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(133, 58, 147, 0.4);
}
.feature-card:hover .feature-icon-wrapper-small i {
    color: white;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

/* Process number formatting */
.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(120deg, rgba(133, 58, 147, 0.8), rgba(255, 255, 255, 0.2));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 0.8 !important;
    text-shadow: 0 0 20px rgba(133, 58, 147, 0.2);
    margin-bottom: 1rem;
    display: inline-block;
}
.process-card:hover .step-number {
    background: linear-gradient(120deg, var(--nxvell-accent), #fff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    opacity: 1 !important;
}

/* Process section overrides */
@media (min-width: 992px) {
    .process-card {
        margin-top: -20px;
    }
}

/* Media Queries */
@media (max-width: 991px) {
    .nxvell-hero {
        text-align: center;
        padding-top: 130px;
    }
    .nxvell-hero .d-flex {
        justify-content: center;
    }
    .nxvell-differences h3 {
        text-align: center;
    }
    .nxvell-differences p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nxvell-hero h1 {
        font-size: 2.8rem;
    }
    .nxvell-differences .col-lg-6 {
        margin-bottom: 3rem;
    }
}
