*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --bg: #0a1220; --bg-card: rgba(16, 26, 44, 0.6);
            --text: #e8eef5; --text-muted: #7a8ba3;
            --primary: #19c3ff; --border: rgba(30, 45, 71, 0.8);
        }
        html, body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
        a { color: var(--primary); text-decoration: none; }
        
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
            position: relative;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(ellipse, rgba(25, 195, 255, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }
        
        .hero-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 2rem;
            z-index: 100;
            background: rgba(10, 18, 32, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
        }
        
        /* Logo — același limbaj ca clientarea.php / sidebar (.sidebar-logo) */
        .hero-nav .sidebar-logo {
            display: inline-flex;
            align-items: baseline;
            gap: 0;
            font-size: 2.05rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: #f3f8ff !important;
            line-height: 1;
            text-decoration: none !important;
        }
        .hero-nav .sidebar-logo .logo-x {
            position: relative;
            color: var(--primary) !important;
            text-shadow: 0 0 12px rgba(25, 195, 255, 0.45);
        }
        .hero-nav .sidebar-logo .logo-x::after {
            content: "";
            position: absolute;
            left: -2px;
            right: -2px;
            bottom: -4px;
            height: 3px;
            border-radius: 999px;
            background: linear-gradient(90deg, rgba(25,195,255,0.2), rgba(25,195,255,1), rgba(25,195,255,0.2));
            box-shadow: 0 0 10px rgba(25,195,255,0.8);
            transform-origin: center;
            opacity: 0;
            transform: scaleX(0.6);
            transition: all 0.25s ease;
        }
        .hero-nav .sidebar-logo:hover .logo-x {
            animation: hxoLogoXGlow 1.1s ease-in-out 1;
        }
        .hero-nav .sidebar-logo:hover .logo-x::after {
            opacity: 1;
            animation: hxoLogoXBar 1.1s ease-in-out 1;
        }
        @keyframes hxoLogoXGlow {
            0%, 100% { color: #19c3ff; text-shadow: 0 0 8px rgba(25,195,255,0.35); }
            50% { color: #78e6ff; text-shadow: 0 0 18px rgba(25,195,255,0.7); }
        }
        @keyframes hxoLogoXBar {
            0%, 100% { opacity: 0.8; transform: scaleX(0.8); }
            50% { opacity: 1; transform: scaleX(1.08); }
        }
        @media (max-width: 480px) {
            .hero-nav .sidebar-logo { font-size: 1.65rem; }
        }
        
        .hero-actions {
            display: flex;
            gap: 0.75rem;
        }
        
        .btn-hero {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 24px;
            border-radius: 9px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.25s;
            text-decoration: none !important;
            cursor: pointer;
            line-height: 1.4;
        }
        
        .btn-hero-outline {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--border);
        }
        .btn-hero-outline:hover {
            background: rgba(25, 195, 255, 0.1);
            border-color: rgba(25, 195, 255, 0.3);
            color: var(--primary);
        }
        
        .btn-hero-primary {
            background: linear-gradient(135deg, #19c3ff 0%, #0ea5e9 100%);
            color: #ffffff !important;
            border: none;
            box-shadow: 0 4px 20px rgba(25, 195, 255, 0.4);
            font-weight: 700;
        }
        .btn-hero-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(25, 195, 255, 0.55);
            color: #ffffff !important;
            background: linear-gradient(135deg, #2dd4ff 0%, #19c3ff 100%);
        }
        
        .hero h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1rem;
            position: relative;
        }
        
        .hero h1 span { color: var(--primary); }
        
        .hero p {
            font-size: 1.125rem;
            color: var(--text-muted);
            max-width: 600px;
            margin-bottom: 2rem;
            position: relative;
        }
        
        .hero-cta {
            display: flex;
            gap: 1rem;
            position: relative;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }

        /* Logged-in portal (index) — utility-first, not marketing hero */
        .hero--portal {
            min-height: calc(100vh - 4rem);
            padding-top: 5rem;
            padding-bottom: 3rem;
            max-width: 920px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero--portal h1 {
            font-size: clamp(1.75rem, 4vw, 2.75rem);
            max-width: 100%;
        }

        .hero-eyebrow {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--primary);
            margin-bottom: 0.75rem;
            position: relative;
        }

        .hero-lead {
            font-size: 1.05rem;
            line-height: 1.55;
            max-width: 520px;
            margin-left: auto;
            margin-right: auto;
        }

        .portal-stat-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            justify-content: center;
            margin: 1.75rem 0 1.25rem;
            position: relative;
        }

        .portal-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            padding: 0.55rem 0.9rem;
            border-radius: 999px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 0.8125rem;
            font-weight: 600;
            text-decoration: none !important;
            transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
        }

        .portal-chip i {
            color: var(--primary);
            font-size: 0.85rem;
            opacity: 0.95;
        }

        .portal-chip span:first-of-type {
            color: var(--primary);
            font-variant-numeric: tabular-nums;
        }

        .portal-chip-label {
            font-weight: 500;
            color: var(--text-muted);
        }

        .portal-chip:hover {
            border-color: rgba(25, 195, 255, 0.45);
            box-shadow: 0 8px 24px rgba(25, 195, 255, 0.12);
            transform: translateY(-1px);
        }

        .portal-chip--alert {
            border-color: rgba(248, 113, 113, 0.45);
            background: rgba(248, 113, 113, 0.06);
        }

        .portal-chip--alert i,
        .portal-chip--alert span:first-of-type {
            color: #f87171;
        }

        .portal-quick-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            width: 100%;
            max-width: 640px;
            margin: 0 auto 1.75rem;
            position: relative;
        }

        .portal-tile {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem 0.65rem;
            border-radius: 12px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 0.8125rem;
            font-weight: 600;
            text-align: center;
            text-decoration: none !important;
            transition: border-color 0.2s, background 0.2s, transform 0.2s;
        }

        .portal-tile i {
            font-size: 1.25rem;
            color: var(--primary);
        }

        .portal-tile:hover {
            border-color: rgba(25, 195, 255, 0.4);
            background: rgba(25, 195, 255, 0.06);
            transform: translateY(-2px);
        }

        .hero-cta--portal {
            margin-top: 0.5rem;
        }

        /* Portal în client shell (index autentificat): fără nav fixă deasupra */
        .hoxta-content .hxo-index-portal.hero--portal {
            min-height: auto;
            padding-top: 0.25rem;
            padding-bottom: 2.5rem;
        }

        @media (max-width: 600px) {
            .portal-quick-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .hero-actions {
                flex-wrap: wrap;
                justify-content: flex-end;
            }
        }