@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* --- Powerful Neon Palette --- */
    --primary: #00f3ff;
    /* Cyan Neon */
    --primary-glow: rgba(0, 243, 255, 0.5);

    --secondary: #bc13fe;
    /* Electric Purple */
    --secondary-glow: rgba(188, 19, 254, 0.5);

    --accent: #ff0055;
    /* Crimson Neon */
    --success: #00ff9d;
    /* Matrix Green */

    --bg-dark: #050511;
    /* Deep Void */
    --bg-darker: #020205;

    --text-main: #ffffff;
    --text-muted: #94a3b8;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --bg-card: rgba(20, 25, 40, 0.7);

    --easing: cubic-bezier(0.23, 1, 0.32, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
}

/* --- Futuristic Animations --- */

/* Glitch Effect */
@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 var(--primary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(61px, 9999px, 52px, 0);
    }

    5% {
        clip: rect(33px, 9999px, 19px, 0);
    }

    10% {
        clip: rect(74px, 9999px, 60px, 0);
    }

    15% {
        clip: rect(27px, 9999px, 98px, 0);
    }

    20% {
        clip: rect(89px, 9999px, 47px, 0);
    }

    100% {
        clip: rect(12px, 9999px, 86px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(2px, 9999px, 57px, 0);
    }

    5% {
        clip: rect(46px, 9999px, 5px, 0);
    }

    10% {
        clip: rect(98px, 9999px, 14px, 0);
    }

    15% {
        clip: rect(3px, 9999px, 78px, 0);
    }

    100% {
        clip: rect(82px, 9999px, 20px, 0);
    }
}

/* Typing Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: var(--primary);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Scanning Line for Cards */
.tech-card {
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 243, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: scan 4s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        transform: translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateY(100%) rotate(45deg);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Dynamic Background --- */
/* --- Dynamic Tech Background --- */
.background-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.background-ambient::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        radial-gradient(circle at center, var(--secondary-glow) 0%, transparent 40%),
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-move 20s linear infinite;
    opacity: 0.4;
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(40px);
    }
}

.background-ambient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-dark) 90%);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 30%, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    filter: drop-shadow(0 0 30px rgba(0, 243, 255, 0.15));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.step-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: rgba(5, 5, 17, 0.6);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

.site-footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.site-footer img {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.navbar nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s var(--easing);
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Buttons --- */
.cta-button {
    padding: 0.8rem 1.75rem;
    border-radius: 6px;
    /* Sharper modern look */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    background: #fff;
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 1.5rem;
}

/* --- Layout --- */
.hero-container {
    padding: 6rem 5% 1rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.wizard-wrapper {
    width: 100%;
    max-width: 900px;
    position: relative;
    min-height: 200px;
}

.wizard-step {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-highlight);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.wizard-step.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    z-index: 10;
    position: relative;
}

/* --- Inputs --- */
.large-input-container {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.large-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.75rem 5rem 1.75rem 2rem;
    color: #fff;
    font-size: 1.5rem;
    font-family: inherit;
    font-weight: 300;
    transition: all 0.3s var(--easing);
}

.large-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 0 30px rgba(0, 243, 255, 0.1);
    background: rgba(0, 0, 0, 0.6);
}

.arrow-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary);
    border: none;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--easing);
}

.arrow-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 25px var(--primary-glow), 0 0 10px var(--primary);
    animation: pulse-neon 1.5s infinite;
}

@keyframes pulse-neon {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

/* --- AI Features --- */
.ai-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    color: var(--primary);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 243, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Scope Card --- */
.scope-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--glass-border);
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '⚡';
    color: var(--primary);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.scope-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
}

/* --- Options Grid --- */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    position: relative;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.card-title {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #fff;
    font-family: var(--font-heading);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Range Selector --- */
.range-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 0.5rem;
    gap: 0.5rem;
    margin-top: 1rem;
    border: 1px solid var(--glass-border);
}

.radio-pill {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.radio-pill input {
    position: absolute;
    opacity: 0;
}

.radio-pill span {
    display: block;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s;
}

.radio-pill input:checked+span {
    background: var(--bg-card);
    color: #fff;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 2.5rem;
}

.section-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.input-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.back-btn:hover {
    color: #fff;
    transform: translateX(-5px);
}

/* --- Footer --- */
/* .site-footer moved to upper section with logo styles */

/* --- Glass Cards (Shared) --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s var(--easing);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* --- Grid Utilities --- */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- Media Queries --- */
/* ========================================
   MODERN UI COMPONENTS - PREMIUM UPGRADES
   ======================================== */

/* --- Floating Label Inputs --- */
.input-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-floating input,
.input-floating textarea,
.input-floating select {
    width: 100%;
    padding: 1.25rem 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--easing);
    outline: none;
}

.input-floating label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s var(--easing);
    pointer-events: none;
    background: transparent;
}

.input-floating input:focus,
.input-floating textarea:focus,
.input-floating select:focus,
.input-floating input:not(:placeholder-shown),
.input-floating textarea:not(:placeholder-shown),
.input-floating select:not(:placeholder-shown) {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 0 1px var(--primary), 0 0 20px rgba(0, 243, 255, 0.1);
}

.input-floating input:focus~label,
.input-floating textarea:focus~label,
.input-floating select:focus~label,
.input-floating input:not(:placeholder-shown)~label,
.input-floating textarea:not(:placeholder-shown)~label,
.input-floating select:not(:placeholder-shown)~label {
    top: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary);
    transform: translateY(0);
}

/* --- Enhanced Cards with Micro-Animations --- */
.premium-card {
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.8), rgba(15, 20, 35, 0.9));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s var(--easing);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.premium-card:hover::before {
    left: 100%;
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 60px -10px rgba(0, 243, 255, 0.3),
        0 0 40px rgba(0, 243, 255, 0.1);
}

/* --- Ripple Effect for Buttons --- */
.btn-ripple {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* --- Modern Tooltips --- */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 15, 0.95);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.85rem;
    z-index: 10000;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(15, 15, 15, 0.95);
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Notification Banner (Toast) --- */
.notification-banner {
    position: fixed;
    top: 2rem;
    right: 2rem;
    min-width: 320px;
    max-width: 420px;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.95), rgba(15, 20, 35, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    z-index: 10000;
    animation: slideInRight 0.4s var(--easing);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-banner.success {
    border-left: 4px solid var(--success);
}

.notification-banner.error {
    border-left: 4px solid #ef4444;
}

.notification-banner.info {
    border-left: 4px solid var(--primary);
}

.notification-banner.warning {
    border-left: 4px solid #f59e0b;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-banner .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-banner .content {
    flex: 1;
}

.notification-banner .title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.notification-banner .message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.notification-banner .close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    transition: color 0.2s;
}

.notification-banner .close-btn:hover {
    color: #fff;
}

/* --- Progress Bars --- */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.5s var(--easing);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* --- Skeleton Loader --- */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* --- Toggle Switch --- */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    transition: 0.4s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background: var(--text-muted);
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(28px);
    background: #fff;
}

/* --- Badge/Pill --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(0, 243, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.badge-success {
    background: rgba(0, 255, 157, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- Chip (Removable Tags) --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.chip:hover {
    background: rgba(255, 255, 255, 0.08);
}

.chip-close {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.chip-close:hover {
    opacity: 1;
}

/* --- Loading Spinner Variations --- */
.spinner-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.spinner-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce-dots 1.4s infinite ease-in-out both;
}

.spinner-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce-dots {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Divider with Text --- */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.divider span {
    padding: 0 1rem;
}

/* --- Accordion --- */
.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--easing), padding 0.4s var(--easing);
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

/* --- Enhanced Modal --- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.95), rgba(15, 20, 35, 0.98));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.4s var(--easing);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* --- Steps Indicator --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.step-item.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-item.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: #000;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

/* --- Search Box with Icon --- */
.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 0 1px var(--primary);
}

.search-box-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* --- Utility Classes --- */
.fade-in {
    animation: fadeIn 0.5s;
}

.slide-up {
    animation: slideUp 0.5s;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.glow-effect {
    box-shadow: 0 0 20px var(--primary-glow);
}

.blur-bg {
    backdrop-filter: blur(20px);
}

/* ======================================== */

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .notification-banner {
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }

    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
        flex-wrap: wrap;
    }

    .navbar nav {
        order: 3;
        width: 100%;
        display: none;
        /* Hide by default on mobile */
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
        border-top: 1px solid var(--glass-border);
        margin-top: 1rem;
    }

    .navbar nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block !important;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wizard-step {
        padding: 2.5rem 1.5rem;
    }

    .large-input {
        font-size: 1.2rem;
        padding: 1.25rem 4rem 1.25rem 1.5rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .service-bar {
        justify-content: flex-start;
        padding: 1rem;
        gap: 1.5rem;
    }

    .auth-card {
        padding: 2.5rem 1.5rem;
    }
}

/* --- Service Bar --- */
.service-bar {
    background: rgba(5, 5, 17, 0.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.25rem 0;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 10;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-item:hover {
    background: rgba(0, 243, 255, 0.05);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    text-shadow: 0 0 8px var(--primary-glow);
}

.service-item svg {
    width: 18px;
    height: 18px;
}

/* --- Services Page --- */
.services-hero {
    text-align: center;
    padding: 8rem 5% 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-category-section {
    padding: 3rem 0;
}

.category-title {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 30px;
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s var(--easing);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    border: 1px solid var(--glass-border);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Admin Stats --- */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

/* --- Auth Pages --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.auth-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: var(--font-heading);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.auth-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s var(--easing);
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 1px var(--primary), 0 0 20px rgba(0, 243, 255, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-glow);
}

/* --- Mobile Menu --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1000;
}


/* --- Page Hero --- */
.page-hero {
    text-align: center;
    padding: 6rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* --- Dashboard Specifics --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: var(--bg-darker);
}

@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        z-index: 1000;
        transition: left 0.3s var(--easing);
        width: 280px;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        padding: 1.5rem;
    }
}

.sidebar {
    background: rgba(5, 5, 17, 0.6);
    backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
}

.sidebar-logo {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo img {
    height: 40px;
    width: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.nav-item {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border-color: var(--glass-border);
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    border-color: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.05);
}

.user-profile-mini {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
}

.main-content {
    padding: 2.5rem;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.5;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0.5rem 0;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Project List Enhancements --- */
.project-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.status-badge {
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-quoted {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-paid {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --- AI Chat Widget --- */
.ai-widget-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px var(--primary-glow);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.5rem;
}

.ai-widget-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    height: 500px;
    background: #0a0a1a;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: none;
    /* Toggled via JS */
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 99;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.chat-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.user {
    background: var(--primary);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.message.ai {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- Info Card Styles --- */
.info-card-container {
    max-width: 900px;
    margin: 0 auto 2rem;
    perspective: 1000px;
    z-index: 20;
    position: relative;
    display: none;
    /* Injected by JS if active */
}

.info-card {
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.8), rgba(10, 10, 20, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s var(--easing);
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px -15px rgba(0, 243, 255, 0.2);
}

.info-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--easing);
}

.info-card:hover::after {
    transform: translateX(100%);
}

.info-badge {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-tech);
}

.info-badge.news {
    background: rgba(0, 243, 255, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
}

.info-badge.alert {
    background: rgba(255, 0, 85, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 0, 85, 0.3);
}

.info-badge.offer {
    background: rgba(0, 255, 157, 0.15);
    color: var(--success);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.info-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.info-cta {
    background: var(--primary);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--easing);
    white-space: nowrap;
}

.info-cta:hover {
    transform: scale(1.05);
    background: #fff;
}

.info-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
    padding: 0.5rem;
    margin: -1rem -1rem -1rem 0;
}

.info-close:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 2rem;
    }

    .info-cta {
        width: 100%;
        text-align: center;
    }

    .info-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

/* ========================================
   ENTERPRISE CLIENT DASHBOARD UPGRADES
   ======================================== */

.dashboard-layout {
    display: flex;
    overflow: hidden;
    height: 100vh;
}

/* --- Collapsible Sidebar --- */
.sidebar {
    width: 280px;
    background: rgba(5, 5, 17, 0.85);
    backdrop-filter: blur(40px);
    border-right: 1px solid var(--glass-border);
    transition: all 0.4s var(--easing);
    z-index: 100;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-logo img {
    width: 32px;
}

.sidebar.collapsed .nav-item span,
.sidebar.collapsed .user-profile-mini div:not(.avatar-circle) {
    display: none;
}

/* --- Main Content Shell --- */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 2.5rem;
    background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.03), transparent 40%);
}

/* --- AI Insight Banner --- */
.ai-insight-banner {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(188, 19, 254, 0.1));
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ai-insight-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 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='%2300f3ff' fill-opacity='0.15'%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");
    opacity: 0.3;
}

.ai-icon-container {
    width: 56px;
    height: 56px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

/* --- Project Roadmap --- */
.roadmap-stepper {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.roadmap-stepper::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all 0.4s var(--easing);
}

.step-node.completed .step-marker {
    background: var(--success);
    border-color: var(--success);
    color: #000;
}

.step-node.active .step-marker {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-node.active .step-text {
    color: var(--primary);
    font-weight: 700;
}

.step-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -280px;
    }

    .sidebar.active {
        left: 0;
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.8);
    }

    .main-content {
        padding: 1.5rem;
    }

    .ai-insight-banner {
        flex-direction: column;
        text-align: center;
    }
}