/* Public comandos surface. Identity stays separate from the SaaS Operate shell. */
html { overflow-x: clip; }

.nx-public-comandos .hero {
    overflow: hidden;
}

.nx-public-comandos .nx-tag-cyan { color: var(--cyan); border-color: var(--cyan); }
.nx-public-comandos .nx-tag-pink { color: var(--pink); border-color: var(--pink); }
.nx-public-comandos .nx-tag-green { color: var(--green); border-color: var(--green); }
.nx-public-comandos .nx-tag-amber { color: #f59e0b; border-color: #f59e0b; }
.nx-public-comandos .nx-tag-red { color: #ef4444; border-color: #ef4444; }

/* ========== CSS VARIABLES ========== */
        :root {
            --bg:          #0c0414;
            --bg-deep:     #05020a;
            --bg-mid:      #100820;
            --panel:       rgba(22, 10, 38, 0.72);
            --panel-solid: #140b26;
            --accent:      #c77dff;
            --accent-dark: #7b2cbf;
            --accent-deep: #3a0ca3;
            --indigo:      #6366f1;
            --cyan:        #00f5ff;
            --pink:        #ec4899;
            --green:       #10b981;
            --text:        #e2d9eb;
            --text-muted:  #9ca3af;
            --border:      rgba(199, 125, 255, 0.18);
            --border-dim:  rgba(255, 255, 255, 0.07);
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }

        body {
            background-color: var(--bg);
            background-image:
                repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 5px),
                radial-gradient(ellipse 80% 60% at 50% 0%, #1a0730 0%, #05020a 70%);
            color: var(--text);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            line-height: 1.6;
        }

        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-deep); }
        ::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }

        /* ========== NAVBAR ========== */
        .navbar {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 40px; height: 60px;
            background: rgba(5, 2, 10, 0.82);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-dim);
        }
        .navbar-brand {
            font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: 700;
            color: #fff; text-decoration: none;
            display: flex; align-items: center; gap: 10px; letter-spacing: 0.05em;
        }
        .logo-icon {
            width: 32px; height: 32px;
            background: linear-gradient(135deg, var(--accent-dark), var(--accent-deep));
            border-radius: 8px; display: flex; align-items: center; justify-content: center;
            font-size: 16px; box-shadow: 0 0 16px rgba(123, 44, 191, 0.5);
        }
        .navbar-actions { display: flex; align-items: center; gap: 12px; }
        
        .btn-nav-login {
            text-decoration: none;
            background: rgba(199, 125, 255, 0.1);
            border: 1px solid rgba(199, 125, 255, 0.35);
            color: var(--accent); padding: 7px 18px; border-radius: 6px;
            font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
        }
        .btn-nav-login:hover {
            background: var(--accent-dark); border-color: var(--accent-dark); color: #fff;
            box-shadow: 0 4px 14px rgba(123, 44, 191, 0.4);
        }

        /* ========== HERO SMALL ========== */
        .hero {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            text-align: center; padding: 140px 24px 60px; position: relative;
        }
        .orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.45; }
        .orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #3a0ca3 0%, transparent 70%); top: -80px; left: -100px; }
        .orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #7b2cbf 0%, transparent 70%); top: 0; right: -80px; }

        .hero-title {
            font-family: 'Cinzel', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
            line-height: 1.1; margin-bottom: 24px;
        }
        .line-gradient {
            background: linear-gradient(90deg, var(--accent) 0%, var(--cyan) 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
            filter: drop-shadow(0 0 30px rgba(199, 125, 255, 0.4));
        }
        .hero-subtitle {
            font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto;
            line-height: 1.7;
        }

        /* ========== CONTENT & GRID ========== */
        section { padding: 40px 24px 100px; }
        .container { max-width: 1080px; margin: 0 auto; }
        
        .category-title {
            font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 700;
            color: #fff; margin: 50px 0 20px; border-bottom: 1px solid var(--border-dim);
            padding-bottom: 10px; display: flex; align-items: center; gap: 12px;
        }

        .features-grid {
            display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
        }
        .feat-card {
            background: var(--panel); border: 1px solid var(--border-dim); border-radius: 14px;
            padding: 24px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
            position: relative; overflow: hidden;
        }
        .feat-card:hover {
            border-color: rgba(199,125,255,0.3);
            box-shadow: 0 8px 32px rgba(123,44,191,0.15); transform: translateY(-3px);
        }
        
        .feat-command {
            font-family: monospace; font-size: 1.1rem; font-weight: 700; color: var(--cyan);
            background: rgba(0,245,255,0.1); padding: 4px 10px; border-radius: 6px;
            display: inline-block; margin-bottom: 12px;
            border: 1px solid rgba(0,245,255,0.2);
        }
        
        .feat-command.prefix {
            color: var(--pink); background: rgba(236,72,153,0.1); border-color: rgba(236,72,153,0.2);
        }

        .feat-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

        .feat-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
        .feat-tag {
            font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; font-weight: 600;
            background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25); color: #818cf8;
            text-transform: uppercase;
        }

        /* Footer */
        footer { border-top: 1px solid var(--border-dim); padding: 40px 24px; text-align: center; }
        .footer-brand { font-family: 'Cinzel', serif; font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
        .footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

        @media (max-width: 768px) {
            .navbar { padding: 0 20px; }
            .features-grid { grid-template-columns: 1fr; }
        }
