/* ═══════════════════════════════════════
   LIGHT MODE  (star canvas = pale-indigo sky)
   Cards/panels = white glass, text = dark
   ═══════════════════════════════════════ */
:root {
    --primary:           #6366f1;
    --primary-light:     #818cf8;
    --primary-dark:      #4f46e5;
    --secondary:         #06b6d4;
    --secondary-light:   #22d3ee;
    --accent:            #f472b6;

    --bg-light:          rgba(230, 238, 255, 0.65);
    --bg-white:          rgba(255, 255, 255, 0.88);
    --text-main:         #0f172a;
    --text-muted:        #475569;
    --text-light:        #64748b;
    --card-bg:           rgba(255, 255, 255, 0.88);
    --nav-bg:            rgba(255, 255, 255, 0.80);
    --nav-link:          #1e293b;
    --footer-bg:         rgba(230, 238, 255, 0.90);
    --footer-text:       #334155;
    --footer-muted:      #64748b;
    --mobile-nav-bg:     rgba(240, 245, 255, 0.97);
    --html-base:         rgb(218, 228, 255);

    --shadow-sm:  0 2px 8px  rgba(99,102,241,0.08);
    --shadow-md:  0 10px 25px rgba(99,102,241,0.12);
    --shadow-lg:  0 20px 40px rgba(99,102,241,0.16);
    --shadow-xl:  0 25px 50px rgba(99,102,241,0.20);
    --transition:        all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius:     20px;
    --border-radius-sm:  12px;
    --gradient-primary:  linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-secondary:linear-gradient(135deg, #f472b6 0%, #6366f1 100%);
    --gradient-light:    linear-gradient(135deg, #e0e7ff 0%, #cffafe 100%);
}

/* ═══════════════════════════════════════
   DARK MODE  (star canvas = deep black space)
   Cards/panels = dark glass, text = light
   ═══════════════════════════════════════ */
[data-theme="dark"] {
    --bg-light:       rgba(10,  15,  45,  0.60);
    --bg-white:       rgba(12,  18,  50,  0.82);
    --text-main:      #f1f5f9;
    --text-muted:     #94a3b8;
    --text-light:     #64748b;
    --card-bg:        rgba(12,  18,  50,  0.82);
    --nav-bg:         rgba(3,   6,   18,  0.82);
    --nav-link:       #e2e8f0;
    --footer-bg:      rgba(3,   6,   18,  0.85);
    --footer-text:    #e2e8f0;
    --footer-muted:   #94a3b8;
    --mobile-nav-bg:  rgba(3,   6,   18,  0.97);
    --html-base:      rgb(3, 6, 18);

    --shadow-sm:  0 2px 8px  rgba(0,0,0,0.35);
    --shadow-md:  0 10px 25px rgba(0,0,0,0.45);
    --shadow-lg:  0 20px 40px rgba(0,0,0,0.55);
    --shadow-xl:  0 25px 50px rgba(99,102,241,0.30);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--html-base);
    transition: background-color 0.4s ease;
}

body {
    line-height: 1.7;
    color: var(--text-main);
    background-color: transparent;
    transition: color 0.4s ease;
    overflow-x: hidden;
    padding-top: 62px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease;
}

/* --- GLASS CARD UTILITY --- */
.modal-content,
.card-bg,
.service-card,
.pricing-card,
.product-card,
.tool-card,
.glass-container,
.contact-container,
.sol-panel,
.founder-video-wrap {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* --- UTILITIES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- NAVIGATION --- */
header {
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: -0.3px;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient-primary);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(99,102,241,0.35);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--nav-link);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.nav-actions .btn {
    padding: 8px 18px;
    font-size: 13px;
}

/* Force header login button to always use gradient regardless of page-level .btn overrides */
header .nav-actions .btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--bg-white) !important;
    box-shadow: 0 4px 20px rgba(99,102,241,.4) !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
}

header .nav-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(99,102,241,.5) !important;
}

/* ── Nav User Dropdown ──────────────────────────────────── */
.nav-user-menu {
    position: fixed;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,.18);
    min-width: 210px;
    z-index: 9999;
    display: none;
    overflow: hidden;
    animation: numFadeDown 0.18s ease;
}

.nav-user-menu.open { display: block; }

@keyframes numFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.num-hd {
    padding: 12px 16px 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.num-hd strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 700;
    margin-top: 2px;
}

.num-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    font-family: inherit;
}

.num-item:hover {
    background: rgba(99,102,241,.08);
    color: var(--primary);
}

.num-out {
    color: #ef4444;
    border-top: 1px solid var(--border-color);
}

.num-out:hover {
    background: rgba(239,68,68,.07);
    color: #ef4444;
}

.btn-theme-toggle {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0;
}

.btn-theme-toggle:hover {
    background: var(--gradient-primary);
    color: var(--bg-white);
    transform: rotate(180deg) scale(1.1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Floating shapes animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    top: 50%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- CTA SECTION --- */
.cta {
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(99, 102, 241, 0.25);
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--gradient-primary);
    color: white;
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* --- FOOTER --- */
footer {
    background: var(--footer-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--footer-text);
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 14vw, 11rem);
    font-weight: 900;
    /*letter-spacing: 0.3em;*/
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
    text-transform: uppercase;
}

[data-theme="dark"] .footer-watermark {
    opacity: 0.18;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: var(--footer-text);
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 100%;
}

.footer-col p {
    color: var(--footer-muted);
    line-height: 1.8;
    font-size: 14px;
}

.footer-col ul li {
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col ul li:hover {
    transform: translateX(8px);
}

.footer-col ul li a {
    color: var(--footer-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    padding-top: 30px;
    font-size: 14px;
    color: var(--footer-muted);
    position: relative;
    z-index: 1;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-bottom-links a {
    color: var(--footer-muted);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* --- ANIMATION CLASSES --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--mobile-nav-bg);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section-padding {
        padding: 80px 0;
    }

    .footer-watermark {
        white-space: normal; 
        width: 1ch; 
        min-width: 1.2em; 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        line-height: 1;
        letter-spacing: 0; 
        font-size: 6em;
    }
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* --- LOGIN MODAL --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 50px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-main);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(99, 102, 241, 0.20);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-main);
}

[data-theme="dark"] .form-group input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.25);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.modal .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.modal-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] .modal-divider::before {
    background: rgba(99, 102, 241, 0.2);
}

.modal-divider span {
    background: var(--card-bg);
    padding: 0 12px;
    position: relative;
    color: var(--text-muted);
    font-size: 13px;
}

.modal-signup {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.modal-signup a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.modal-signup a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STARWEB-X BACKGROUND CANVAS ===== */
#starweb-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

section,
footer,
.modal,
.scroll-progress,
.back-to-top,
.modal-overlay {
    position: relative;
    z-index: 1;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--html-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.preloader-icon svg {
    width: 40px;
    height: 40px;
}

.preloader-name {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.preloader-bar-wrap {
    width: 220px;
    height: 4px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.preloader-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: preloaderFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes preloaderFill {
    0%   { width: 0%; }
    60%  { width: 75%; }
    100% { width: 100%; }
}
