/* 
    Modern Redesign for XtraScale 
    Theme: Premium Minimalist SaaS (Stripe/Notion Style)
*/

:root {
    --primary: #6366f1; /* Indigo */
    --primary-soft: rgba(99, 102, 241, 0.1);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --bg-light: #f8fafc;
    --dark: #0f172a;
    --text-muted: #64748b;
    --border-soft: rgba(99, 102, 241, 0.15); /* More visible */
    --shadow-premium: 0 20px 40px -10px rgba(0, 0, 0, 0.08); /* Stronger */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for sticky header */
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif !important;
    background: #ffffff;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}


/* Typography Scale */
h1, .display-1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* Proportional */
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--dark);
}

h2, .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem); /* Balanced */
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    color: var(--dark);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Standard Spacing (Refined for Minimal Gap) */
.section-padding {
    padding: 30px 0 100px 0 !important; /* Minimal top, ample bottom for scroll room */
}

/* Premium Containers */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px; /* Permanent thick border */
    background: var(--primary-gradient);
    opacity: 1; /* Always on */
    transition: height 0.3s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
    height: 6px;
}

.icon-box-modern {
    width: 60px;
    height: 60px;
    background: var(--primary); /* Permanent high-contrast */
    color: white; /* Permanent */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px -5px rgba(99, 102, 241, 0.4);
}

.glass-card:hover .icon-box-modern {
    transform: scale(1.1) rotate(5deg);
}

/* Modern Buttons */
.btn-premium {
    background: var(--dark);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-premium:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-premium-outline {
    background: transparent;
    color: var(--dark) !important;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-premium-outline:hover {
    background: rgba(0,0,0,0.02);
    border-color: rgba(0,0,0,0.2);
}

/* --- LOGO SCROLL ANIMATION --- */
.logo-scroll-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    /* Luxury fade effect on sides */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-scroll {
    display: flex;
    width: max-content;
    animation: scroll-ltr 45s linear infinite; /* Adjusted for better speed */
}

@keyframes scroll-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.logo-scroll:hover {
    animation-play-state: paused;
}

.brand-logo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.15); /* More prominent hover */
}

/* --- LOGO --- */
.xtra-logo {
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -0.8px;
    color: var(--dark);
    text-decoration: none !important;
}

.xtra-logo span {
    color: var(--primary);
}

/* --- HERO SPECIFIC --- */
.hero-split {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 60px 0;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* --- INPUT GROUP --- */
.premium-input-box {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    max-width: 480px;
    transition: all 0.3s;
}

.premium-input-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
}

.premium-input-box input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    flex-grow: 1;
    outline: none;
    font-size: 15px;
}

.premium-input-box button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 14px;
}

/* --- REFINED "CLASSICAL ELEGANCE" HEADER --- */
#mainHeader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    padding: 24px 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent !important;
    border-bottom: 1px solid transparent;
}

/* Scrolled state for glassmorphism */
#mainHeader.is-scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Classical Centering: Three columns layout */
.header-left, .header-right {
    flex: 1 1 0%;
}

.header-center {
    display: none;
}

@media (min-width: 992px) {
    .header-center {
        display: flex;
        justify-content: center;
    }
}

/* Nav Link Styling */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item-premium {
    position: relative;
    padding: 10px 0;
}

.nav-link-premium {
    font-family: 'Poppins', sans-serif !important;
    color: var(--dark);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.2px;
    text-decoration: none !important;
    transition: color 0.4s;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Modern Header Link Decoration (Underline Glow) */
.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link-premium:hover, .nav-link-premium.active {
    color: var(--primary);
}

.nav-link-premium:hover::after, .nav-link-premium.active::after {
    width: 24px;
    opacity: 1;
}

.nav-link-premium i {
    font-size: 10px;
    opacity: 0.5;
    transition: transform 0.4s;
}

.nav-item-premium:hover .nav-link-premium i {
    transform: rotate(180deg);
}

/* Mega Menu card refinement */
.mega-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 780px;
    background: white;
    border-radius: 26px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 35px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    z-index: 1000;
    pointer-events: none;
}

.nav-item-premium:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-item {
    display: flex;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu-item:hover {
    background: #f8fafc;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
}

.mega-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mega-menu-item:hover .mega-icon {
    background: var(--primary);
    color: white;
    transform: rotate(5deg);
}

.mega-content h6 {
    margin-bottom: 4px;
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.mega-content p {
    margin-bottom: 0;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Standard Dropdown */
.dropdown-premium {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    transform: translateY(20px);
    width: 260px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    z-index: 1000;
    pointer-events: none;
}

.nav-item-premium:hover .dropdown-premium {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(5px);
}

/* --- MOBILE DRAWER REFINEMENT --- */
.mobile-drawer {
    width: 320px !important;
    border-radius: 0 30px 30px 0;
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
}

.mobile-nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.5px;
}

.btn-premium {
    background: var(--primary-gradient);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.btn-premium-outline {
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    border: 1.5px solid rgba(0,0,0,0.1);
}

#mainHeader.is-scrolled .btn-premium-outline {
    border-color: rgba(0,0,0,0.1);
}

/* DARK MODE OVERRIDES (For the dark hero integration) */
#mainHeader.on-dark:not(.is-scrolled) {
    background: #212529 !important;
}
#mainHeader.on-dark:not(.is-scrolled) .nav-link-premium {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Logo Contrast Fix */
.xtra-logo span.xtra-text {
    color: var(--primary);
}
.xtra-logo span.scale-text {
    color: var(--dark);
}

/* Scrolled state for glassmorphism */
#mainHeader.is-scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

/* Color overrides on dark background */
#mainHeader.on-dark:not(.is-scrolled) .xtra-logo span.xtra-text,
#mainHeader.on-dark:not(.is-scrolled) .xtra-logo span.scale-text {
    color: white !important;
}

#mainHeader.on-dark:not(.is-scrolled) .btn-premium-outline {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

#mainHeader.on-dark:not(.is-scrolled) .navbar-toggler {
    color: white !important;
}

/* Visual Gap Fix (Integrated Layering) */
.main-wrapper {
    margin-top: 0 !important;
}

#hero {
    padding-top: 40px !important; /* Minimal header offset */
}
@media (max-width: 991px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 24px 0; }
    h1 { font-size: 2.25rem; }
    .hero-subtext { max-width: 100%; }
    .mb-5 { margin-bottom: 2rem !important; }
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .pt-5 { padding-top: 2rem !important; }
    .pb-5 { padding-bottom: 2rem !important; }
    .g-5 { --bs-gutter-y: 1.5rem; --bs-gutter-x: 1.5rem; }
    .hero-exact-bg { min-height: auto !important; padding-top: 100px !important; padding-bottom: 40px !important; display: block; }
    #mainHeader.is-scrolled { padding: 8px 0 !important; }
}

/* ===== GLOBAL SAAS UI COMPONENTS (From Benefits Design System) ===== */

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient SaaS Button */
.btn-saas-gradient {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff !important;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-saas-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: #ffffff !important;
}

/* Common Dark Hero Base */
.hero-dark-section {
    background: #0f0f1a;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px !important;
}

/* Global Glow Animations */
@keyframes glowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.08); }
}

.hero-glow-1 {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 60%);
    filter: blur(90px);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.gradient-border-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    z-index: 1;
}

.gradient-border-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(168, 85, 247, 0.5));
    border-radius: 18px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border-card:hover::before {
    opacity: 0.6;
}

.hover-elevate {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-elevate:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15) !important;
}

/* Timeline Connector for Solution pages */
.timeline-connector {
    position: absolute;
    top: 29px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.5) 0%, transparent 100%);
    z-index: 0;
}

@media (max-width: 767px) {
    .timeline-connector {
        display: none;
    }
}

/* exact-btn and btn-saas-gradient (Global Standard Sitewide) */
.exact-btn, .btn-saas-gradient, .btn-premium {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 50px !important;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
}

.exact-btn:hover, .btn-saas-gradient:hover, .btn-premium:hover {
    background: linear-gradient(135deg, #9333ea 0%, #4f46e5 100%);
    transform: translateY(-2px);
    color: white !important;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.hero-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: var(--dark);
    max-width: fit-content;
}

.hero-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* =========================================
   ULTRA-PREMIUM HERO SECTION ENHANCEMENTS
   ========================================= */

/* Deep Space Glass Panel */
.glass-panel-stunning {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

/* Subtle Grid Background Overlay */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Floating Animations */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(12px) rotate(2deg); }
}

.float-element-1 { animation: float-gentle 6s ease-in-out infinite; }
.float-element-2 { animation: float-reverse 8s ease-in-out infinite; }
.float-element-3 { animation: float-gentle 5s ease-in-out infinite 1s; }

/* Stunning Text Gradient */
.text-gradient-super {
    background: linear-gradient(to right, #a855f7, #6366f1, #3b82f6, #a855f7);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Glowing Border Input */
.glowing-input-wrapper {
    position: relative;
    border-radius: 50px;
    background: #0f172a;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 10px 30px rgba(0,0,0,0.5);
    padding: 6px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.glowing-input-wrapper::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: conic-gradient(transparent, transparent, transparent, #8b5cf6, #3b82f6, transparent);
    animation: rotate 4s linear infinite;
    z-index: 0;
}

.glowing-input-wrapper::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0a0f1d; /* Very dark inner */
    border-radius: 50px;
    z-index: 1;
}

.glowing-input-wrapper > * {
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Pulsing Dots */
.pulse-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-dot-anim 2s infinite;
}

@keyframes pulse-dot-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}


/* =========================================
   SITEPIDE PREMIUM HERO & TYPOGRAPHY
   ========================================= */

.hero-exact-bg {
    background-color: #0b0a10 !important;
    font-family: 'Inter', sans-serif !important;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.exact-badge {
    background-color: #171524;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #d8b4fe;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.exact-h1 {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--dark);
}

.hero-exact-bg .exact-h1, .hero-exact-bg .exact-h2 {
    color: white !important;
}

.exact-h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--dark);
}

.exact-h1 .purple-text {
    color: #a855f7 !important;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.exact-p {
    color: #a1a1aa !important;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 400;
}

.exact-stat-pill {
    background-color: #1a1825;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    transition: transform 0.3s ease;
}
.exact-stat-pill:hover { transform: translateY(-3px); }
.exact-stat-title { color: #a855f7; font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.exact-stat-sub { color: #71717a; font-size: 0.75rem; font-weight: 500; }

.exact-card {
    background: #181622;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
}

.exact-card-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #a855f7;
    color: white;
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.5);
    border: 1px solid #c084fc;
}
.exact-card-badge-val { font-size: 1.25rem; font-weight: 800; line-height: 1; }
.exact-card-badge-sub { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; margin-top: 4px; }

.exact-chart-bar {
    background: linear-gradient(180deg, #8b5cf6 0%, #4c1d95 100%);
    border-radius: 4px;
    width: 100%;
    transform-origin: bottom;
}

.exact-metric-box {
    background: #232031;
    border-radius: 12px;
    padding: 20px;
}
.exact-metric-val { font-size: 1.5rem; font-weight: 800; color: white !important; line-height: 1.2; }
.exact-metric-sub { font-size: 0.75rem; color: #a1a1aa !important; font-weight: 500; }

.exact-input-box {
    background: #13111c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 6px;
    display: flex;
    align-items: center;
    width: 100%;
}
.exact-input {
    background: transparent; color: white !important; border: none; padding: 10px 15px; outline: none; flex-grow: 1; font-size: 0.95rem; font-family: 'Inter', sans-serif !important; min-width: 0;
}

/* --- PREMIUM FOOTER REFINEMENTS --- */
.premium-footer {
    background: #0b0a10 !important;
    padding-top: 100px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), #a855f7, transparent);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.footer-title {
    color: white !important;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 10px;
}

.footer-link-modern {
    color: #a1a1aa !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-link-modern:hover {
    color: white !important;
    transform: translateX(8px);
}

.footer-social-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-btn-premium {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a1a1aa !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.social-btn-premium:hover {
    background: var(--primary-gradient);
    color: white !important;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border-color: transparent;
}

/* Newsletter Refinement */
.footer-newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.footer-newsletter-box:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.footer-newsletter-box input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    flex-grow: 1;
    outline: none;
    font-size: 0.9rem;
}

.footer-newsletter-box button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
}

.footer-newsletter-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 100px;
}

@keyframes heart-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.heart-pulse {
    color: #ef4444;
    display: inline-block;
    animation: heart-pulse 1.5s infinite;
}

/* --- ULTRA-PREMIUM SEAMLESS FOOTER --- */
.premium-footer {
    background: #0b1120 !important; /* Deep Navy Night */
    padding-top: 100px;
    padding-bottom: 40px;
    border-top: none !important;
    position: relative;
    overflow: hidden;
}

/* Dynamic Moving Background */
.footer-glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    animation: glow-drift 20s infinite alternate linear;
}

.glow-1 { 
    width: 600px; height: 600px; 
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px; left: -200px; 
}

.glow-2 { 
    width: 700px; height: 700px; 
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    bottom: -200px; right: -200px; 
    animation-delay: -5s;
    animation-duration: 25s;
}

@keyframes glow-drift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(100px, 50px) rotate(90deg) scale(1.1); }
    100% { transform: translate(-50px, 150px) rotate(180deg) scale(0.9); }
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==");
    opacity: 0.2;
    z-index: 1;
}

/* Glass Newsletter Card */
.glass-newsletter-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.glass-newsletter-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Premium Link Animation */
.footer-link-premium {
    color: #a1a1aa !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link-premium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.footer-link-premium:hover {
    color: white !important;
    transform: translateX(5px);
}

.footer-link-premium:hover::after {
    width: 100%;
}

/* Custom Colorful Logos V2 */
.custom-logo-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    opacity: 0.75;
}

.custom-logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px currentColor);
}

.logo-amazon { color: #FF9900; }
.logo-shopify { color: #95BF47; }
.logo-netflix { color: #b6c1ff; }
.logo-stripe { color: #635BFF; }
.logo-paypal { color: #ffb6c1; }

.trust-logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

@media (max-width: 991px) {
    .trust-logo-grid { justify-content: center; }
}

/* Stylized Payment Icons */
.payment-badge-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 768px) {
    .payment-badge-group { justify-content: flex-end; }
}

.payment-icon {
    width: 45px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    opacity: 0.6;
    transition: all 0.3s;
}

.payment-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* --- PREMIUM DOCUMENTATION & LEGAL STYLES --- */
.doc-sidebar-item {
    padding: 10px 15px;
    border-radius: 12px;
    color: #64748b !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    border: 1px solid transparent;
}

.doc-sidebar-item:hover, .doc-sidebar-item.active {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary) !important;
    border-color: rgba(99, 102, 241, 0.1);
    transform: translateX(8px);
}

.doc-sidebar-item.active {
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

/* Enhanced Code Blocks */
.doc-code-card {
    background: #0b1120 !important;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.doc-code-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-copy-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.doc-copy-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* Legal Summary Box */
.legal-summary-callout {
    background: rgba(99, 102, 241, 0.03);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 16px 16px 0;
    margin-bottom: 25px;
}

.legal-summary-callout p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #475569;
    font-style: italic;
}

.legal-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.legal-section-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Progress Indicator for Documentation */
.doc-next-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin-top: 80px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.doc-nav-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
    width: 48%;
}

.doc-nav-card:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.02);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
}

/* --- SOLUTION PAGE PREMIUM STYLES --- */
.hero-exact-bg {
    background: #0b1120 !important;
    position: relative;
    overflow: hidden;
}

.exact-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-elevate:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pilot-card-premium {
    background: white;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.pilot-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: var(--primary-gradient);
}

.pilot-card-premium:hover {
    box-shadow: 0 40px 80px -20px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.1);
}

.timeline-connector {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(99, 102, 241, 0.1);
    z-index: 0;
}

/* --- INTERACTIVE STATUS & LED STYLES --- */
.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.led-green {
    background-color: #2fed2b;
    box-shadow: 0 0 10px #2fed2b;
    animation: led-pulse 2s infinite;
}

.led-blue {
    background-color: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
    animation: led-pulse 2.5s infinite;
}

@keyframes led-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.live-badge-mini {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(46, 213, 115, 0.2);
}

/* Documentation Syntax Refinement */
.code-key { color: #818cf8; }
.code-string { color: #34d399; }
.code-boolean { color: #fbbf24; }

.glass-panel-stunning {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel-stunning:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: rgba(99, 102, 241, 0.3);
}
