:root {
            --ia-bg: #0b111c;
            --ia-bg-2: #101827;
            --ia-panel: rgba(15, 23, 42, .88);
            --ia-panel-2: rgba(18, 27, 43, .94);
            --ia-border: rgba(122, 92, 255, .28);
            --ia-purple: #7b5cff;
            --ia-purple-2: #6f43e8;
            --ia-purple-3: #9b7cff;
            --ia-cyan: #39d5ff;
            --ia-pink: #d946ef;
            --ia-text: #ffffff;
            --ia-muted: #aeb8cc;
            --ia-card: #111827;
        }

        body {
            min-height: 100vh;
            color: var(--ia-text);
            background:
                radial-gradient(circle at 10% 0%, rgba(123, 92, 255, .24), transparent 26%),
                radial-gradient(circle at 92% 8%, rgba(57, 213, 255, .13), transparent 24%),
                linear-gradient(180deg, #111827 0%, #0b111c 42%, #070b13 100%);
            background-size: cover;
            background-attachment: fixed;
            font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }

        .app-shell { min-height: 100vh; }

        .sidebar {
            background: #070b16;
            border-right: 1px solid rgba(255, 255, 255, .06);
            min-height: 100vh;
        }

        @media (min-width: 992px) {
            .sidebar {
                position: sticky;
                top: 0;
                height: 100vh;
                overflow-y: auto;
                align-self: flex-start;
            }
        }

        .brand-wordmark{
            display:flex;
            flex-direction:column;
            gap:2px;
            position:relative;
            padding-bottom:18px;
        }

        .brand-wordmark span{
            font-size:48px;
            line-height:.82;
            font-weight:900;
            letter-spacing:-0.06em;
            text-transform:uppercase;
            color:#fff;
            font-family:"Roboto",sans-serif;
            text-shadow:0 0 25px rgba(123,92,255,.18);
        }

        .brand-ambassador{
            margin-top:22px;
            display:inline-flex;
            align-items:center;
            justify-content:center;
            width:140px;
            height:36px;
            border-radius:999px;
            background:linear-gradient(135deg,#7b5cff,#5d36ff);
            color:#fff;
            font-size:13px;
            font-weight:800;
            letter-spacing:.12em;
            text-transform:uppercase;
            box-shadow:
                0 10px 30px rgba(123,92,255,.35),
                inset 0 1px 0 rgba(255,255,255,.18);
        }  

        
        .brand-logo {
            width: 46px;
            height: 46px;
            border-radius: 14px;
            background: linear-gradient(135deg, #7b5cff, #8a63ff);
            display: grid;
            place-items: center;
            font-size: 25px;
            font-weight: 950;
            box-shadow: 0 0 24px rgba(123, 92, 255, .45);
        }

        .nav-link {
            color: #d7ddec;
            border-radius: 14px;
            padding: 12px 14px;
            font-weight: 800;
            margin-bottom: 8px;
            transition: .22s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, rgba(123, 92, 255, .74), rgba(57, 213, 255, .10));
            box-shadow: inset 3px 0 0 rgba(255,255,255,.35);
        }

        .glass-card {
            background: var(--ia-panel);
            border: 1px solid var(--ia-border);
            border-radius: 28px;
            box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
            backdrop-filter: blur(18px);
        }

        .soft-card {
            background: linear-gradient(180deg, rgba(18, 27, 43, .98), rgba(13, 20, 34, .96));
            border: 1px solid rgba(123, 92, 255, .20);
            border-radius: 24px;
            box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
        }
        .hero-card {
            min-height: 360px;
            overflow: hidden;
            position: relative;
            background:
                linear-gradient(90deg, rgba(7, 11, 22, .98) 0%, rgba(15, 23, 42, .82) 42%, rgba(15, 23, 42, .38) 100%),
                radial-gradient(circle at 68% 34%, rgba(123, 92, 255, .32), transparent 24%),
                radial-gradient(circle at 86% 16%, rgba(57, 213, 255, .18), transparent 18%),
                linear-gradient(135deg, #111827 0%, #0b111c 100%);
        }
        .hero-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, transparent 0%, rgba(7, 11, 22, .38) 100%),
                radial-gradient(circle at 74% 32%, rgba(255,255,255,.09), transparent 8%);
            pointer-events: none;
            background-image:url('/bgapp.png');
            background-size:cover;
            z-index: 0;
        }

        .hero-float {
            position: absolute;
            border-radius: 18px;
            background:
                linear-gradient(135deg, rgba(57, 213, 255, .22), rgba(123, 92, 255, .32));
            border: 1px solid rgba(255,255,255,.18);
            box-shadow:
                0 0 48px rgba(57, 213, 255, .20),
                inset 0 0 22px rgba(255,255,255,.06);
            pointer-events: none;
            z-index: 2;
            opacity: .80;
            will-change: transform, opacity;
            animation: floatSquare 8s ease-in-out infinite;
        }

        .hero-float.round {
            border-radius: 999px;
            background:
                radial-gradient(circle at 35% 25%, rgba(255,255,255,.18), transparent 18%),
                linear-gradient(135deg, rgba(57, 213, 255, .18), rgba(123, 92, 255, .22));
            animation-name: floatRound;
        }

        .hero-float.one {
            width: 92px;
            height: 92px;
            left: 8%;
            top: 18%;
            animation-duration: 7.5s;
        }

        .hero-float.two {
            width: 54px;
            height: 54px;
            right: 16%;
            top: 20%;
            animation-delay: -1.4s;
            animation-duration: 6.4s;
        }

        .hero-float.three {
            width: 72px;
            height: 72px;
            right: 8%;
            bottom: 18%;
            animation-delay: -2.8s;
            animation-duration: 8.6s;
        }

        .hero-float.four {
            width: 38px;
            height: 38px;
            left: 36%;
            top: 13%;
            animation-delay: -.7s;
            animation-duration: 5.6s;
            opacity: .70;
        }

        .hero-float.five {
            width: 110px;
            height: 110px;
            right: 7%;
            bottom: 10%;
            animation-delay: -4.2s;
            animation-duration: 10s;
            opacity: .50;
        }

        .hero-float.six {
            width: 34px;
            height: 34px;
            left: 55%;
            top: 20%;
            animation-delay: -2s;
            animation-duration: 6.8s;
            opacity: .62;
        }

        .hero-float.seven {
            width: 66px;
            height: 66px;
            left: 63%;
            bottom: 18%;
            animation-delay: -3.2s;
            animation-duration: 9.4s;
            opacity: .55;
        }
35% {
                transform: translate3d(18px, -22px, 0) rotate(22deg) scale(1.04);
                opacity: .95;
            }
            70% {
                transform: translate3d(-12px, 14px, 0) rotate(-8deg) scale(.98);
                opacity: .72;
            }
        }
50% {
                transform: translate3d(-18px, -28px, 0) scale(1.12);
                opacity: .85;
            }
        }


        



        .hero-float {
            position: absolute;
            border-radius: 18px;
            background:
                linear-gradient(135deg, rgba(57, 213, 255, .22), rgba(123, 92, 255, .32));
            border: 1px solid rgba(255,255,255,.18);
            box-shadow:
                0 0 48px rgba(57, 213, 255, .20),
                inset 0 0 22px rgba(255,255,255,.06);
            pointer-events: none;
            z-index: 2;
            opacity: .80;
            will-change: transform, opacity;
            animation: floatSquare 8s ease-in-out infinite;
        }

        .hero-float.round {
            border-radius: 999px;
            background:
                radial-gradient(circle at 35% 25%, rgba(255,255,255,.18), transparent 18%),
                linear-gradient(135deg, rgba(57, 213, 255, .18), rgba(123, 92, 255, .22));
            animation-name: floatRound;
        }

        .hero-float.one {
            width: 92px;
            height: 92px;
            left: 8%;
            top: 18%;
            animation-duration: 7.5s;
        }

        .hero-float.two {
            width: 54px;
            height: 54px;
            right: 16%;
            top: 20%;
            animation-delay: -1.4s;
            animation-duration: 6.4s;
        }

        .hero-float.three {
            width: 72px;
            height: 72px;
            right: 8%;
            bottom: 18%;
            animation-delay: -2.8s;
            animation-duration: 8.6s;
        }

        .hero-float.four {
            width: 38px;
            height: 38px;
            left: 36%;
            top: 13%;
            animation-delay: -.7s;
            animation-duration: 5.6s;
            opacity: .70;
        }

        .hero-float.five {
            width: 110px;
            height: 110px;
            right: 7%;
            bottom: 10%;
            animation-delay: -4.2s;
            animation-duration: 10s;
            opacity: .50;
        }

        .hero-float.six {
            width: 34px;
            height: 34px;
            left: 55%;
            top: 20%;
            animation-delay: -2s;
            animation-duration: 6.8s;
            opacity: .62;
        }

        .hero-float.seven {
            width: 66px;
            height: 66px;
            left: 63%;
            bottom: 18%;
            animation-delay: -3.2s;
            animation-duration: 9.4s;
            opacity: .55;
        }

        @keyframes floatSquare {
            0%, 100% {
                transform: translate3d(0, 0, 0) rotate(10deg) scale(1);
                opacity: .62;
            }
            35% {
                transform: translate3d(18px, -22px, 0) rotate(22deg) scale(1.04);
                opacity: .95;
            }
            70% {
                transform: translate3d(-12px, 14px, 0) rotate(-8deg) scale(.98);
                opacity: .72;
            }
        }

        @keyframes floatRound {
            0%, 100% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: .45;
            }
            50% {
                transform: translate3d(-18px, -28px, 0) scale(1.12);
                opacity: .85;
            }
        }


        .hero-inner { position: relative; z-index: 4; }

        .hero-card h1,
        .hero-card .display-5 {
            color: #ffffff;
            text-shadow: 0 4px 28px rgba(0, 0, 0, .55);
        }

        .hero-card .lead,
        .hero-card .text-muted-ia {
            color: rgba(226, 232, 240, .92) !important;
        }

        .hero-card .metric-label,
        .hero-card .small {
            color: rgba(226, 232, 240, .88) !important;
        }

        .kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 13px;
            border-radius: 999px;
            color: #ffffff;
            background: linear-gradient(135deg, rgba(123, 92, 255, .72), rgba(123, 92, 255, .36));
            border: 1px solid rgba(255, 255, 255, .13);
            font-size: 12px;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: .08em;
            box-shadow: 0 0 24px rgba(123, 92, 255, .22);
        }

        .metric-value {
            font-size: clamp(32px, 4vw, 48px);
            line-height: 1;
            font-weight: 950;
            letter-spacing: -.05em;
        }

        .metric-label {
            color: var(--ia-muted);
            font-weight: 800;
            font-size: 13px;
        }

        .text-muted-ia { color: var(--ia-muted) !important; }

        .btn-ia {
            --bs-btn-bg: var(--ia-purple);
            --bs-btn-border-color: var(--ia-purple);
            --bs-btn-hover-bg: var(--ia-purple-3);
            --bs-btn-hover-border-color: var(--ia-purple-3);
            --bs-btn-color: #fff;
            --bs-btn-hover-color: #fff;
            border-radius: 16px;
            font-weight: 950;
            box-shadow: 0 0 28px rgba(123, 92, 255, .32);
        }

        .hero-card .link-box {
            color: #ffffff;
            background: rgba(255,255,255,.12);
            border-color: rgba(255,255,255,.22);
            text-shadow: 0 2px 12px rgba(0,0,0,.35);
        }

        .link-box {
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .14);
            border-radius: 18px;
            padding: 14px 16px;
            color: #fff;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-weight: 800;
        }

        .progress {
            background: rgba(255, 255, 255, .10);
            height: 12px;
            border-radius: 999px;
        }

        .progress-bar {
            background: linear-gradient(90deg, var(--ia-purple), var(--ia-purple-3));
            box-shadow: 0 0 20px rgba(34, 211, 238, .45);
        }

        .table-dark-ia {
            --bs-table-bg: transparent;
            --bs-table-color: #f8fafc;
            --bs-table-border-color: rgba(255, 255, 255, .08);
        }

        .table-dark-ia th {
            color: #a7b0c8;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: .08em;
        }

        .pill {
            display: inline-flex;
            align-items: center;
            padding: 7px 11px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 900;
            background: rgba(255, 255, 255, .08);
            color: #e2e8f0;
            border: 1px solid rgba(255, 255, 255, .12);
        }

        .status-dot {
            width: 9px;
            height: 9px;
            border-radius: 999px;
            display: inline-block;
            margin-right: 8px;
            background: #22c55e;
            box-shadow: 0 0 18px rgba(34, 197, 94, .85);
        }

        .mini-stat {
            border-radius: 18px;
            background: rgba(255, 255, 255, .055);
            border: 1px solid rgba(255, 255, 255, .09);
            padding: 16px;
        }

        .canvas-wrap {
            position: relative;
            height: 270px;
            width: 100%;
            overflow: visible;
        }

        #visitsChart {
            display: block;
            width: 100%;
            height: 100%;
            max-width: 100%;
        }

        .chart-tooltip {
            position: absolute;
            pointer-events: none;
            z-index: 50;
            min-width: 120px;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(3, 6, 20, .94);
            border: 1px solid rgba(139, 92, 246, .5);
            box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
            color: #fff;
            font-size: 13px;
            font-weight: 800;
            transform: translate(-50%, calc(-100% - 12px));
            white-space: nowrap;
        }

        .chart-tooltip span {
            display: block;
            color: var(--ia-muted);
            font-size: 12px;
            font-weight: 700;
            margin-top: 2px;
        }

        .form-select {
            background-color: rgba(255, 255, 255, .075);
            border-color: rgba(255, 255, 255, .16);
            color: #fff;
            border-radius: 16px;
            font-weight: 850;
        }

        .form-select:focus {
            background-color: rgba(255, 255, 255, .10);
            border-color: var(--ia-purple);
            color: #fff;
            box-shadow: 0 0 0 .25rem rgba(139, 92, 246, .18);
        }

        .form-select option {
            background: #111827;
            color: #fff;
        }

        .alert-ia {
            background: rgba(251, 191, 36, .12);
            border: 1px solid rgba(251, 191, 36, .25);
            color: #fde68a;
            border-radius: 20px;
        }

        .is-loading .lazy-content {
            opacity: .48;
            transition: opacity .2s ease;
        }


        .url-builder-card {
            background:
                linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(139, 92, 246, .12)),
                rgba(12, 16, 37, .86);
        }

        .form-control-ia {
            background-color: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .16);
            color: #fff;
            border-radius: 16px;
            font-weight: 800;
            padding: 14px 16px;
        }

        .form-control-ia:focus {
            background-color: rgba(255, 255, 255, .10);
            border-color: var(--ia-purple);
            color: #fff;
            box-shadow: 0 0 0 .25rem rgba(139, 92, 246, .18);
            outline: none;
        }

        .form-control-ia::placeholder {
            color: rgba(226, 232, 240, .42);
        }

        .builder-result {
            border-radius: 18px;
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.14);
            padding: 14px 16px;
            font-weight: 800;
            color: #fff;
            word-break: break-all;
        }

        .benefit-card {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 85% 20%, rgba(34, 211, 238, .22), transparent 24%),
                linear-gradient(135deg, rgba(17, 24, 55, .94), rgba(44, 20, 82, .82));
        }

        .benefit-card::before {
            content: "";
            position: absolute;
            width: 160px;
            height: 160px;
            right: -55px;
            bottom: -65px;
            border-radius: 44px;
            transform: rotate(18deg);
            background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.22));
            border: 1px solid rgba(255,255,255,.12);
        }

        .promo-code {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            border-radius: 18px;
            padding: 13px 16px;
            background: rgba(255,255,255,.10);
            border: 1px solid rgba(255,255,255,.16);
            font-weight: 950;
            letter-spacing: .08em;
            color: #fff;
        }


        .level-card {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 12% 20%, rgba(251, 191, 36, .16), transparent 25%),
                radial-gradient(circle at 85% 20%, rgba(139, 92, 246, .22), transparent 28%),
                rgba(12, 16, 37, .86);
        }

        .level-badge-big {
            width: 82px;
            height: 82px;
            border-radius: 26px;
            display: grid;
            place-items: center;
            font-size: 38px;
            background: linear-gradient(135deg, rgba(251,191,36,.28), rgba(139,92,246,.30));
            border: 1px solid rgba(255,255,255,.14);
            box-shadow: 0 0 38px rgba(139,92,246,.20);
        }

        .mission-card {
            border-radius: 22px;
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.10);
            padding: 18px;
            height: 100%;
        }

        .mission-progress {
            height: 9px;
            border-radius: 999px;
            overflow: hidden;
            background: rgba(255,255,255,.10);
        }

        .mission-progress span {
            display: block;
            height: 100%;
            border-radius: inherit;
            background: linear-gradient(90deg, var(--ia-purple), var(--ia-purple-3), var(--ia-cyan));
            box-shadow: 0 0 18px rgba(34,211,238,.35);
        }

        .badge-chip {
            border-radius: 18px;
            padding: 14px;
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.10);
            height: 100%;
        }

        .badge-chip.locked {
            opacity: .45;
            filter: grayscale(1);
        }

        .timeline-item {
            position: relative;
            padding-left: 28px;
            padding-bottom: 18px;
            border-left: 1px solid rgba(255,255,255,.14);
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-item::before {
            content: "";
            position: absolute;
            left: -7px;
            top: 0;
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background: var(--ia-cyan);
            box-shadow: 0 0 18px rgba(34,211,238,.7);
        }

        .benefit-mini-card {
            position: relative;
            overflow: hidden;
            transition: .25s ease;
            background:
                radial-gradient(circle at top right, rgba(34,211,238,.16), transparent 25%),
                linear-gradient(135deg, rgba(15,23,42,.95), rgba(31,41,55,.88));
        }

        .benefit-mini-card:hover {
            transform: translateY(-4px);
            border-color: rgba(139,92,246,.45);
            box-shadow:
                0 12px 40px rgba(0,0,0,.35),
                0 0 30px rgba(139,92,246,.18);
        }

        .benefit-icon {
            width: 58px;
            height: 58px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            margin-bottom: 22px;
            background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(139,92,246,.30));
            border: 1px solid rgba(255,255,255,.12);
        }

        .promo-box {
            border-radius: 14px;
            padding: 12px 14px;
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.10);
            font-weight: 700;
        }


        .leaderboard-card {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 90% 0%, rgba(251,191,36,.16), transparent 22%),
                radial-gradient(circle at 10% 100%, rgba(34,211,238,.13), transparent 26%),
                rgba(12, 16, 37, .86);
        }

        .leaderboard-row {
            display: grid;
            grid-template-columns: 46px 1fr auto;
            gap: 14px;
            align-items: center;
            padding: 14px;
            border-radius: 18px;
            background: rgba(255,255,255,.055);
            border: 1px solid rgba(255,255,255,.09);
        }

        .rank-badge {
            width: 40px;
            height: 40px;
            border-radius: 14px;
            display: grid;
            place-items: center;
            font-weight: 950;
            background: linear-gradient(135deg, rgba(139,92,246,.35), rgba(34,211,238,.20));
            border: 1px solid rgba(255,255,255,.14);
        }

        .rank-badge.top-1 {
            background: linear-gradient(135deg, rgba(251,191,36,.75), rgba(249,115,22,.40));
            color: #fff;
            box-shadow: 0 0 28px rgba(251,191,36,.28);
        }

        .rank-badge.top-2 {
            background: linear-gradient(135deg, rgba(226,232,240,.55), rgba(148,163,184,.28));
        }

        .rank-badge.top-3 {
            background: linear-gradient(135deg, rgba(217,119,6,.55), rgba(124,58,237,.25));
        }

        .leaderboard-score {
            text-align: right;
            min-width: 94px;
        }


        .reveal-ready {
            opacity: 0;
            transform: translateY(34px);
            transition:
                opacity .65s cubic-bezier(.16,1,.3,1),
                transform .65s cubic-bezier(.16,1,.3,1);
            will-change: opacity, transform;
        }

        .reveal-ready.reveal-visible {
            opacity: 1;
            transform: translateY(0);
        }

@media (max-width: 991.98px) {
            .sidebar {
                position: relative;
                min-height: auto;
            }
        }
    
        /* OBJECTIF MENSUEL - CERCLE DE PROGRESSION FINAL */
        .objective-card {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 85% 12%, rgba(123,92,255,.18), transparent 24%),
                linear-gradient(180deg, rgba(18,27,43,.98), rgba(8,13,25,.96)) !important;
            border-color: rgba(123,92,255,.30) !important;
        }

        .objective-card > * {
            position: relative;
            z-index: 2;
        }

        .goal-ring {
            --progress: 0;
            width: 178px !important;
            height: 178px !important;
            min-height: 178px !important;
            border-radius: 50% !important;
            display: grid !important;
            place-items: center !important;
            margin: 12px auto 20px !important;
            padding: 0 !important;
            position: relative !important;
            overflow: visible !important;
            background:
                conic-gradient(
                    from -90deg,
                    #7b5cff 0%,
                    #9b7cff calc(var(--progress) * .72%),
                    #39d5ff calc(var(--progress) * 1%),
                    rgba(255,255,255,.12) 0
                ) !important;
            box-shadow: 0 0 46px rgba(123,92,255,.30), inset 0 0 22px rgba(57,213,255,.10) !important;
            transition: background .75s ease !important;
        }

        .goal-ring::before {
            content: "";
            position: absolute;
            inset: 13px;
            border-radius: 50%;
            background:
                radial-gradient(circle at 30% 22%, rgba(57,213,255,.12), transparent 28%),
                linear-gradient(180deg, #111827, #070b16);
            border: 1px solid rgba(255,255,255,.08);
            box-shadow: inset 0 0 34px rgba(0,0,0,.32);
            z-index: 1;
        }

        .goal-ring::after {
            content: "";
            position: absolute;
            inset: -8px;
            border-radius: 50%;
            border: 1px solid rgba(123,92,255,.22);
            animation: goalPulse 2.8s ease-in-out infinite;
            pointer-events: none;
            z-index: 0;
        }

        .goal-ring-inner {
            position: relative !important;
            z-index: 3 !important;
            text-align: center !important;
            width: auto !important;
        }

        .goal-ring-value {
            font-size: 42px !important;
            line-height: 1 !important;
            font-weight: 950 !important;
            letter-spacing: -.06em !important;
            color: #fff !important;
        }

        .goal-ring-label {
            margin-top: 8px !important;
            color: rgba(226,232,240,.86) !important;
            font-size: 13px !important;
            font-weight: 800 !important;
        }

        .goal-fog-bar,
        .goal-fog-fill {
            display: none !important;
        }

        @keyframes goalPulse {
            0%, 100% {
                opacity: .45;
                box-shadow: 0 0 0 rgba(123,92,255,0);
            }
            50% {
                opacity: 1;
                box-shadow: 0 0 34px rgba(123,92,255,.35);
            }
        }


        .login-page {
            min-height: 100vh;
            display: grid;
            place-items: center;
            padding: 24px;
            background:
                radial-gradient(circle at 20% 0%, rgba(123, 92, 255, .28), transparent 28%),
                radial-gradient(circle at 90% 15%, rgba(57, 213, 255, .14), transparent 26%),
                linear-gradient(180deg, #111827 0%, #070b13 100%);
        }

        .login-card {
            width: min(100%, 460px);
            background: rgba(15, 23, 42, .92);
            border: 1px solid rgba(123, 92, 255, .30);
            border-radius: 30px;
            padding: 34px;
            box-shadow: 0 24px 70px rgba(0,0,0,.38);
            backdrop-filter: blur(18px);
            z-index:1;
        }

        .login-wordmark {
            color: #fff;
            font-weight: 950;
            font-size: 30px;
            line-height: 1;
            letter-spacing: .08em;
            text-transform: uppercase;
            margin-bottom: 24px;
        }

        .login-input {
            width: 100%;
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.14);
            color: #fff;
            border-radius: 16px;
            padding: 15px 16px;
            font-weight: 800;
            outline: none;
        }

        .login-input:focus {
            border-color: var(--ia-purple);
            box-shadow: 0 0 0 .25rem rgba(123,92,255,.18);
        }

        .login-input::placeholder {
            color: rgba(226,232,240,.48);
        }

        .login-error {
            border-radius: 16px;
            background: rgba(239,68,68,.12);
            border: 1px solid rgba(239,68,68,.25);
            color: #fecaca;
            padding: 12px 14px;
            font-weight: 800;
            font-size: 14px;
        }

        .logout-link {
            color: rgba(226,232,240,.82);
            text-decoration: none;
            font-weight: 800;
        }

        .logout-link:hover {
            color: #fff;
        }

        #bgapp {
            position: absolute;
            z-index: 0;
            opacity: 0.2;
            top: 0;
            height: 100%;
            width: 100%;
            object-fit: cover;
        }


        .campaign-copy-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(57,213,255,.14), transparent 26%),
        linear-gradient(135deg, rgba(17,24,39,.96), rgba(44,20,82,.82));
    border: 1px solid rgba(123,92,255,.28);
    box-shadow:
        0 24px 70px rgba(0,0,0,.30),
        0 0 50px rgba(123,92,255,.12);
}

.campaign-copy-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(123,92,255,.16);
    border: 1px solid rgba(123,92,255,.28);
    color: #dcd6ff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.campaign-copy-card h3 {
    margin: 18px 0 10px;
    color: #fff;
    font-size: 34px;
    line-height: .95;
    font-weight: 950;
}

.campaign-copy-card p {
    margin: 0;
    max-width: 720px;
    color: rgba(226,232,240,.76);
    line-height: 1.6;
}

.campaign-copy-box {
    margin-top: 22px;
    display: flex;
    gap: 12px;
}

.campaign-copy-box input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    outline: none;
}

.campaign-copy-box input:focus {
    border-color: #7b5cff;
    box-shadow: 0 0 0 .22rem rgba(123,92,255,.16);
}

.campaign-copy-btn {
    flex-shrink: 0;
    height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, #7b5cff, #5d36ff);
    box-shadow: 0 16px 36px rgba(123,92,255,.28);
    transition: .25s ease;
}

.campaign-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(123,92,255,.38);
}

@media (max-width: 760px) {
    .campaign-copy-box {
        flex-direction: column;
    }

    .campaign-copy-btn {
        width: 100%;
    }

    .campaign-copy-card h3 {
        font-size: 28px;
    }
}