:root {
    /* Sophisticated Palette */
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #0f172a;
    --accent: #8b5cf6;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    --radius-xl: 2rem;
    --radius-lg: 1.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fcfcfd;
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

/* Mesh Gradient Hero Background */
.hero-wrapper {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    filter: blur(80px);
    opacity: 0.05;
    z-index: 0;
}

/* Radical Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero-title span.highlight {
    background: linear-gradient(to right, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Animated Glass Card */
.hero-visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

/* Pulse Button */
.btn-pulse {
    background: var(--primary);
    color: white !important;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Sequence Cards (Process) */
.sequence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.sequence-card {
    position: relative;
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.sequence-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.sequence-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: #f1f5f9;
    z-index: 0;
    line-height: 1;
    opacity: 0.5;
}

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

.sequence-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* FAQ Overhaul */
.faq-modern .accordion-item {
    border: none;
    background: #f8fafc;
    margin-bottom: 1rem;
    border-radius: 1rem !important;
    overflow: hidden;
}

.faq-modern .accordion-button {
    background: #f8fafc;
    padding: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    box-shadow: none;
}

.faq-modern .accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary);
}

/* Glass Navbar Refined */
#header.glass-nav {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Fix for mobile menu height bug caused by backdrop-filter creating a containing block */
#header:has(.navbar-mobile) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#header.header-scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

/* Vendor स्पेसिफिक (Specificity boost) */
header#header .logo a { color: var(--secondary) !important; }
.navbar a { font-weight: 600 !important; color: var(--text-primary) !important; }
.navbar a:hover, .navbar .active { color: var(--primary) !important; }

/* Global Decorations */
.floating-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
}

.shape-1 { width: 300px; height: 300px; background: #6366f1; top: 10%; left: 10%; animation: float 10s infinite; }
.shape-2 { width: 400px; height: 400px; background: #a855f7; bottom: 10%; right: 10%; animation: float 15s infinite reverse; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -50px); }
    66% { transform: translate(-20px, 20px); }
}
